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
This commit is contained in:
2026-01-18 13:48:41 +01:00
parent 393c798080
commit be7d4502ac
4 changed files with 48 additions and 3 deletions

View File

@@ -13,6 +13,8 @@ The application is single page. The page is divided into three sections:
- Bottom left section: Input area for JSON data
- Bottom right section: Output are for JMESPath query results
The Middle section also contains a toolbar with buttons to load data from disk, load sample data, format JSON input, and clear all inputs.
The main components of the application are located in the `src` directory and target Node 24 LTS environment.
Framework to be used: