feat(web): persist scroll position on navigation back to album ()

Co-authored-by: Calum Dingwall <caburum@users.noreply.github.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
Calum Dingwall 2024-11-25 12:16:42 -06:00 committed by GitHub
parent 51de108d43
commit d277096d58
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 234 additions and 7 deletions
web/src/lib

View file

@ -84,6 +84,11 @@ export enum QueryParameter {
PATH = 'path',
}
export enum SessionStorageKey {
INFINITE_SCROLL_PAGE = 'infiniteScrollPage',
SCROLL_POSITION = 'scrollPosition',
}
export enum OpenSettingQueryParameterValue {
OAUTH = 'oauth',
JOB = 'job',