datashare
datashare copied to clipboard
feat: add "reset" setting properties
Since settings are stored in local storage, when they are changed we need to clear the store. to have the changed settings (in particalar when deleting a setting key). Here are the feature that would be nice to add:
- [ ] Reset page settings from the page
- [ ] Reset general settings from general settings
- [ ] Advanced: Clean up general settings on new versions (compare what to delete/what to keep)
- [ ] Advanced: Clean up page settings on new versions (compare what to delete/what to keep)
This issue is stale because it has been open for 40 days with no activity.
Design:
Specs:
- use the same component as the 'Reset' one that we have in FormActions https://icij.github.io/datashare-client/?path=/docs/components-form-formactions-formactions--docs
- The button is sticky on bottom when user scrolls in the settings
- There is a 8 point vertical padding in the sticky bar
- There is no upper border on the sticky bar to match the upper sticky bar 's style
- Vocabulary wise, we can write either 'Reset all' or 'Reset all settings", as you prefer
Perfect!
will be available after 20.0.11