Commit Graph
3 Commits
Author SHA1 Message Date
Francesco SansalvadoreandAlaister Young a4cfcd9b2e global user dropdown in docs and www (#35063)
* docs: user nav dropdown

* www: user dropdown nav

* update menus

* chore: add complete local storage allowlist

* move all local-storage to common

* reload after logOut

* add local storage key changes from #35175

* fix errors

* add more keys

* fix merge bugs

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2025-05-05 11:48:06 +02:00
Ivan VasilovandJoshen Lim 24f590e893 fix: Fix the caching of the selected schema (#28999)
* Cache the original schema and ignore the schema changes in the local storage. This is to avoid unwanted changes in the UI.

* Nit refactor to ensure immutability

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-09-02 14:15:37 +07:00
Ivan Vasilov 8c6d0f1890 feat: Save the selected schema in the URL and local storage (#28662)
* Add nuqs package.

* Add useSchemaQueryState hook.

* Use the new hook in all places where there's is a schema selector.

* Make the useQueryState work with SSR in playwright.

* Fix the saving to local storage to happen as a side effect without any additional rerenders.
2024-08-19 13:28:25 +02:00