[Task] Local storage keys should have cryostat prefix #1451
Labels
breaking change
This change (potentially) breaks API compatibility and requires corresponding changes elsewhere
chore
Refactor, rename, cleanup, etc.
good first issue
Good for newcomers
Descriptions
I think some prefixes (e.g.
cryostat.
) should be added to local storage keys in order to distinguish them from others, which might be used third-party packages. Furthermore, since Cryostat and Grafana are now being served at the same origin, they do share the same local storage.I guess it would avoid any potential collision that could result in the console crashing.
References
cryostat-web/src/app/utils/LocalStorage.ts
Lines 17 to 43 in 7ceb432
The text was updated successfully, but these errors were encountered: