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:
2
.github/copilot-instructions.md
vendored
2
.github/copilot-instructions.md
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user