datashare icon indicating copy to clipboard operation
datashare copied to clipboard

feat: add "reset" setting properties

Open caro3801 opened this issue 8 months ago • 1 comments

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)

caro3801 avatar Apr 29 '25 14:04 caro3801

This issue is stale because it has been open for 40 days with no activity.

github-actions[bot] avatar Jun 22 '25 00:06 github-actions[bot]

Design: Image

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

Soliine avatar Jul 02 '25 13:07 Soliine

Perfect!

pirhoo avatar Jul 02 '25 14:07 pirhoo

will be available after 20.0.11

caro3801 avatar Jul 07 '25 08:07 caro3801