Skip to content

Persist table state (filter, sort & scroll)#64

Merged
vampi62 merged 1 commit intomainfrom
saveFilter
Mar 21, 2026
Merged

Persist table state (filter, sort & scroll)#64
vampi62 merged 1 commit intomainfrom
saveFilter

Conversation

@vampi62
Copy link
Copy Markdown
Owner

@vampi62 vampi62 commented Mar 21, 2026

Enable saving and restoring table UI state. Tableau.vue now reads/writes sessionStorage (per-route/stateKey) to persist sort and scrollTop, restores scroll after initialization, and saves sort changes and scroll position during pagination. Updated views to enable saveState with unique stateKey, pass save-state/state-key to FilterContainer, and gate Tableau rendering with a filterReady flag (FilterContainer emits @ready) so saved filter state can be restored before the table mounts.

Enable saving and restoring table UI state. Tableau.vue now reads/writes sessionStorage (per-route/stateKey) to persist sort and scrollTop, restores scroll after initialization, and saves sort changes and scroll position during pagination. Updated views to enable saveState with unique stateKey, pass save-state/state-key to FilterContainer, and gate Tableau rendering with a filterReady flag (FilterContainer emits @ready) so saved filter state can be restored before the table mounts.
@vampi62 vampi62 merged commit 8f85487 into main Mar 21, 2026
1 check passed
@vampi62 vampi62 deleted the saveFilter branch March 21, 2026 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant