Task
This feature adds the possibility of saving user queries and then viewing them in the app and restoring the state of the editor.
Description
This feature has to work for authorized users and non-authorized users.
As a source for queries, there has to be local storage in the browser.
This includes:
Add query configuration transform function
Query configuration has to include datetime, url, query, headers, and variables.
All information has to be minified so it takes up less space.
Add function for saving query configurations list to Local Storage
Saving has to happen when the user clicks on the "Execute" button.
Add function for extracting from the Local Storage list of query configurations
Implement dispalying extracted from Local Storage, list of query configurations
List of query configurations, aka user query history, should be displayed in Accordion, below "Headers", in a separate AccordionItem.
A card or listitem item has to contain:
Implement restoring query configurations button and corresponding function
When the user clicks on the Restore button, corresponding query configurations have to be restored, and all configurations of the editor have to be updated.
Task
This feature adds the possibility of saving user queries and then viewing them in the app and restoring the state of the editor.
Description
This feature has to work for authorized users and non-authorized users.
As a source for queries, there has to be local storage in the browser.
This includes:
Add query configuration transform function
Query configuration has to include datetime, url, query, headers, and variables.
All information has to be minified so it takes up less space.
Add function for saving query configurations list to Local Storage
Saving has to happen when the user clicks on the "Execute" button.
Add function for extracting from the Local Storage list of query configurations
Implement dispalying extracted from Local Storage, list of query configurations
List of query configurations, aka user query history, should be displayed in Accordion, below "Headers", in a separate AccordionItem.
A card or listitem item has to contain:
Implement restoring query configurations button and corresponding function
When the user clicks on the Restore button, corresponding query configurations have to be restored, and all configurations of the editor have to be updated.