Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Reset button #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

kulikov-a
Copy link
Member

@kulikov-a kulikov-a commented Aug 25, 2022

Hi!
ref. opnsense/core#5940
[FR] https://forum.opnsense.org/index.php?topic=29740.0
some tables have specific sort order that cannot be restored by simple column clicking. in this case, it is convenient to be able to reset the stored table settings and reload the page IMHO.
PR extends plugin with "Reset" button to clear sort, row count and visible columns in localStoarge and reload the page
(use resetButton: true option to enable button on grid)
image

-version bump
-add Reset button
-whitespace sweep
-Minor bugfix in localstorage usage for rowCount (picked from 7b8da26)
-dependency update (npm 6.14.17)
-grunt.js small adjustments (trailing new line in footer, removed extra space in banner)

upd. button icon changed to a less confusing
image

- version bump
- add Reset button
- whitespace sweep
- Minor bugfix in localstorage usage for rowCount (picked from opnsense/jquery-bootgrid@7b8da26)
- dependency update (npm 6.14.17)
- grunt.js small adjustments (trailing new line in footer, removed extra space in banner)
src/public.js Outdated Show resolved Hide resolved
less confusing
copyrights update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants