feat(dashboard): remember each user's table sort and page length

Every DataTable saves its order and page length to localStorage, keyed by
dashboard user, page (numeric path segments folded) and table id, and
restores it on load. Stale sorts on missing or unsortable columns are
dropped; storage failures are ignored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-09-27 00:34:16 -05:00
parent f7f5d304d0
commit 49fc6e06e6
2 changed files with 39 additions and 0 deletions

View File

@@ -25,6 +25,12 @@ dashboard_url=https://dashboard.example.com
`dashboard_url` is used for links in emails and webhook alerts.
### Tables
Every table remembers how you last sorted it and how many rows it shows per page. This is kept in your browser only
(per dashboard user), so it doesn't follow you to another browser; clearing site data resets it. Searches and the page
you were on aren't kept.
## Files to back up
Next to the server binaries, the dashboard creates: