-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Currently the wasm version of opendigitizer-ui uses the url and especially the fragment part to initialize the Settings struct at startup. This means that we have to reload the page even if only e.g. the active dashboard changed and also does not allow to copy the URL to share the currently shown dashboard.
This Issue suggests to synchronise the urlbar with the state of the UI, so the url changes whenever a different dashboard is selected and the ui updates whenever the user manually updates the URL. There is onhashchange to observe the url fragment changing which seems to be widely supported.
Subtasks:
- expose javascripts APIs for observing uri changes and setting the uri to c++
- as settings are only used in the initial setup, find out where the actual UI state is kept and how to bind it to the browser location.
- optionally clean up the UI settings interface/decouple it from opendigitizer-service.
- cli arguments vs environment variables?
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
📋 Backlog