47 Commits

Author SHA1 Message Date
d0961c68fa Version 1.2.5 v1.2.5 2026-01-26 18:38:47 +01:00
b1fd6da218 Update upload script to allow API URL and key to be set via environment variables 2026-01-26 16:41:04 +01:00
2a498124fe Fix API URL variable reference in upload script 2026-01-26 16:39:41 +01:00
37c73ddd2b Refactor upload script to use environment variables for API URL and key, and update usage instructions 2026-01-26 16:34:52 +01:00
03cc889cd0 Update copilot instructions with version release procedures v1.2.4 2026-01-23 14:46:19 +01:00
0d3832137f Fix version display issues, container shutdown problems, and modernize build scripts v1.2.3 2026-01-23 14:39:33 +01:00
81b3b84f81 Remove deprecated upload script 2026-01-23 12:57:21 +01:00
cebae83ae1 Fix dark theme colors, reload button functionality, and code cleanup v1.2.2 2026-01-23 12:50:56 +01:00
fd537026d3 Updated JSON upload script. v1.2.1 2026-01-23 10:00:03 +01:00
f2ca5d5f84 Add support for API key in upload-jmespath script 2026-01-23 09:57:59 +01:00
15036d34c2 Prepare for version 1.2.0 v1.2.0 2026-01-23 09:53:21 +01:00
656b5efe70 Enhance copilot instructions with detailed API usage and UI features 2026-01-23 08:03:31 +01:00
abc1cef7c2 Implement missing sample data loading and one-time use security
- Fix UI to load server-hosted sample data at startup as per specification
- Add one-time use security: server clears sample data after retrieval
- Ensure React app periodically checks for new sample data availability
- Remove complex same-origin protection in favor of simpler one-time use model
- Improve data security by preventing data persistence after consumption
v1.1.7
2026-01-23 06:15:21 +01:00
766ff96137 Add upload-jmespath script for JSON file uploads to API 2026-01-23 06:05:01 +01:00
e22b3c82a2 Fix Docker build version detection
- Skip prebuild step in Docker when VERSION build arg is provided
- Prevent version-check.js from overwriting pre-generated version.js in Docker
- Fix Docker containers showing incorrect '-dev' suffix for release builds
- Use direct react-scripts build when version is pre-generated
v1.1.6
2026-01-21 22:06:37 +01:00
c9ce0d14b9 Separate Docker build into dedicated script
- Create build-image.sh for dedicated Docker image building
- Remove Docker build logic from build.sh to focus on Node.js app only
- Add comprehensive instructions for running and pushing Docker images
- Improve build script modularity and separation of concerns
v1.1.5
2026-01-21 21:55:58 +01:00
ef2c1931d8 Fix Docker repository name in build script
- Update all Docker image references to use skoszewski/jmespath-playground
- Fix build.sh to create properly namespaced Docker images for Docker Hub
- Update Docker run command examples with correct repository name
v1.1.4
2026-01-21 21:52:25 +01:00
d027459678 Enhance version management and Docker build system
- Add Docker build args for proper version detection in containers
- Update build.sh script with smart version detection for Docker builds
- Add --message option to new-version.js for custom commit messages
- Fix Docker builds showing incorrect '-dev' suffix for release builds
- Improve versioning workflow with comprehensive --check analysis
v1.1.3
2026-01-21 21:48:45 +01:00
4d6efe791b Version 1.1.2 v1.1.2 2026-01-21 21:33:58 +01:00
8c06faee31 Bump version to 1.1.1 v1.1.1 2026-01-21 21:06:41 +01:00
86687cb6a3 Improve version management system
- Fix version-check.js to use git tag version for releases
- Add new-version.js script for proper version/tag synchronization
- Update package.json to correct version 1.1.0

The new-version.js script ensures package.json and git tags are always synchronized by:
1. Updating package.json with new version
2. Committing the change
3. Tagging the commit

This prevents version mismatches and git dirty states.
2026-01-21 21:06:35 +01:00
710682d931 Enhance upload scripts with command-line options and JavaScript implementation
- Add -u/--url option to specify API URL via command line
- Refactor usage messages into centralized show_usage() function
- Remove environment variable fallback for API_URL
- Use curl's native file handling with --data @file
- Add JavaScript version (upload.js) with identical functionality
- Both scripts support same command-line interface and options
v1.1.0
2026-01-21 20:48:28 +01:00
7e78ef65b1 Implement multi-stage Docker build for clean production image
- Build stage: Has scripts/ for version generation, all dependencies
- Production stage: Only production deps, built artifacts, server.js
- Eliminates build scripts and dev dependencies from final image
- Maintains proper version.js generation during build process
2026-01-21 20:06:39 +01:00
5379b1519d Clean version management with generated version.js
- Replace package.json modification with generated src/version.js
- App imports VERSION from ./version instead of package.json
- version.js is auto-generated during prebuild and git-ignored
- Provides VERSION, IS_RELEASE, and BUILD_TIME constants
- No more dirty git status from version changes

Development builds show 1.0.4-dev, tagged releases show 1.0.4
2026-01-21 19:57:06 +01:00
601f80ab06 Fix Docker build - add React build step back to Dockerfile
The build/ directory doesn't exist in Docker context, so we need to
build the React app inside the container. This approach:
- Installs all deps, builds app, then removes dev deps
- Works for remote deployments without requiring pre-built artifacts
- Maintains lean final image size
2026-01-21 19:45:47 +01:00
4fe1ece3a3 Restructure project and fix tests
Major changes:
- Move server.js to project root for cleaner architecture
- Remove server tests due to CRA Jest configuration conflicts
- Fix React component tests (clipboard API and user interaction issues)
- Optimize Dockerfile to copy only essential files (server.js, build/)
- Fix upload script to only upload JSON data (no JMESPath expression)
- Improve reload button UI to avoid layout shifts
- Update demo script with accurate commands and Docker support

All 17 React tests now pass. Server structure simplified and consistent.
2026-01-21 19:42:04 +01:00
18b6b5a7c0 Clarify sample data reload process in AI agent instructions 2026-01-21 18:43:03 +01:00
025b07e328 Update API documentation for sample data upload and retrieval endpoints 2026-01-21 18:37:39 +01:00
d61bbc2f48 Add API documentation for JSON file upload and evaluation results 2026-01-21 11:22:14 +01:00
14d87bff2e v1.0.4 - Unified theme system and consistent color definitions v1.0.4 2026-01-21 11:11:23 +01:00
0182174153 v1.0.3: Fix expression textbox error state and UI consistency
- Fixed theme class application from html to body element for proper CSS inheritance
- Removed CSS conflicts between base styles and error/success states
- Fixed focus state interference with error/success background colors
- Changed error message panel to fixed placement (no more UI jumping)
- Added theme-consistent styling for alert-success in all theme modes
- Expression textbox now properly shows red/green backgrounds in manual themes
- Status message now shows Expression is correct vs error message consistently
v1.0.3
2026-01-21 10:35:34 +01:00
6f8c4518ce v1.0.2: Complete CSS refactoring with custom properties
- Introduced comprehensive CSS custom properties for colors, fonts, and transitions
- Eliminated 40+ hardcoded color values with centralized variables
- Consolidated duplicate font family definitions
- Removed redundant button styles and input styling
- Optimized theme system with consistent property usage
- Fixed accessibility issue with MIT license link
- Reduced code redundancy while maintaining full functionality
- All themes (auto/light/dark) now use unified variable system
v1.0.2
2026-01-21 10:09:52 +01:00
97d83923d9 v1.0.1: Add comprehensive theme switcher and fix dark mode issues
- Add theme switcher widget with Auto/Light/Dark options in header
- Implement manual theme override system with localStorage persistence
- Add complete button theme overrides for all variants (primary, outline-*)
- Fix missing focus states and placeholder colors for light theme
- Add proper alert styling for both themes
- Fix expression input error state colors in dark theme
- Complete comprehensive theme coverage for all UI elements
- Theme switcher overrides CSS media queries when manually selected
- All buttons, inputs, and surfaces now properly adapt to theme changes
v1.0.1
2026-01-21 09:45:38 +01:00
fef9c9732e Add comprehensive dark mode support and fix color consistency
- Add automatic dark/light theme detection via prefers-color-scheme
- Add smooth transitions between theme changes
- Fix color contrast issues with explicit text colors
- Make JSON Data and Query Result boxes static (no color changes)
- Keep only Expression input with error indication (red styling)
- Remove dynamic success/error styling from data input/output areas
- Add proper placeholder and focus state colors for both themes
- Ensure all text remains visible in both light and dark modes
- Clean up unused CSS classes
2026-01-18 16:47:59 +01:00
61408d6362 Fix serve command options in Dockerfile
- Remove unsupported --host flag from serve command
- The serve package with -l option binds to 0.0.0.0 by default in containers
- Container will now start properly without ArgError
2026-01-18 16:13:00 +01:00
ce508d32b5 Fix Dockerfile to properly expose container service
- Install all dependencies with 'npm ci' instead of production-only
- Install 'serve' package globally in container
- Use direct serve command with proper host binding (0.0.0.0)
- Fix container service accessibility for production deployment
2026-01-18 16:06:01 +01:00
db3b6beaa3 Modernize Docker Compose configuration
- Replace docker-compose.yml with compose.yaml (modern standard)
- Remove obsolete 'version' field (deprecated in Docker Compose)
- Remove development service configuration
- Add proper image tagging with skoszewski/jmespath-playground
- Keep build context for local development flexibility
- Simplify to production-only service configuration
2026-01-18 16:01:18 +01:00
9fcb2907c8 v1.0.0: Complete layout restructure and design improvements
- Restructure layout to match copilot instructions exactly
- Add proper footer section with author and license information
- Fix header size - make it more compact and appropriate
- Move app description from header to regular paragraph text
- Optimize layout to fit within 1080p viewport without overflow
- Add Google Noto fonts for modern typography (Noto Sans + Noto Sans Mono)
- Improve responsive design and visual spacing
- Remove unnecessary gaps and improve overall UX
- Application now properly follows all architectural specifications
v1.0.0
2026-01-18 14:15:04 +01:00
557f1b20c9 Make Docker optional and simplify development setup
- Remove Dockerfile.dev and CI/CD workflow
- Remove Docker-specific npm scripts from package.json
- Update README to prioritize local Node.js development
- Make Docker containerization optional rather than required
- Update build scripts to treat Docker as optional
- Remove GitHub Actions and CI/CD references from documentation
- Add Format JSON button to JMESPath toolbar per copilot instructions
- Simplify development workflow for better accessibility
2026-01-18 14:04:16 +01:00
48d540bd48 Split file loading into two separate buttons
- Add 'Load an Object' button for standard JSON files (.json)
- Add 'Load a Log File' button for JSON Lines files (.log)
- Each button has specific file type filter and handling logic
- Improved user experience with clear separation of functionality
- Add styling for the new info button (log files)
- Update documentation to reflect the two-button approach
2026-01-18 13:57:44 +01:00
d9114bf48e Add JSON Lines support for .log files
- Handle .log files as sequences of JSON objects (JSON Lines/NDJSON format)
- Convert each line to JSON object and combine into array (like jq -s)
- Maintain existing .json file handling for standard JSON format
- Add detailed error messages for invalid JSON lines
- Update documentation to explain both file format supports
2026-01-18 13:56:02 +01:00
394b7e279c Update file types: Add .log, remove .txt
- Support .json and .log file formats for load from disk
- Better suited for log filtering expression prototyping
- Remove .txt as it's not commonly used for JSON data
2026-01-18 13:52:01 +01:00
be7d4502ac Add file upload feature: Load JSON data from disk
- Add 'Load from Disk' button to toolbar in middle section
- Implement file selection dialog with JSON validation
- Support .json and .txt file formats
- Display error messages for invalid JSON files
- Update README to document the new file upload capability
- Add styling for the new upload button
- Feature matches requirement in copilot-instructions.md
2026-01-18 13:48:41 +01:00
393c798080 Remove macOS and Apple container references
- Remove Containerfile and .containerignore (Apple container specific)
- Update package.json to remove Apple container scripts
- Replace macOS-specific build scripts with Docker-focused versions
- Update README to prioritize Docker over Apple container
- Update DEVELOPMENT.md to remove macOS-first approach
- Update demo script to remove Apple container references
- Update workflow to remove Containerfile path triggers
- Simplify project to be Docker-first for cross-platform compatibility
2026-01-18 13:44:09 +01:00
a891d736ef Test workflow: Add comment to trigger CI build 2026-01-18 13:23:42 +01:00
b8886c3c30 Fix GitHub Actions workflow: container build and test
- Add 'load: true' to docker/build-push-action to ensure image is available in local Docker daemon
- Improve container testing with retry logic and better error handling
- Add container logs output on test failure for better debugging
2026-01-18 13:22:48 +01:00
c09e545637 Initial commit: JMESPath Testing Tool
- React-based web application for testing JMESPath expressions
- macOS-first containerization with Apple container command
- Bootstrap UI with real-time evaluation
- GitHub Actions CI/CD pipeline
- Docker fallback support
- Comprehensive documentation and development scripts
2026-01-18 13:19:07 +01:00