opensailing / nautic_net_web

Phoenix 1.7 web server for NauticNet real-time tracker and analysis
2 stars 0 forks source link

UI state deep linking #35

Closed bcardarella closed 1 year ago

bcardarella commented 1 year ago

When I am changing the UI state the changes should be represented in the URL. For example, if a boat is selected and the time scrubber range is changed the url should now reflect this change so that the URL can be shared with others and the app launches showing that exact state.

We can rely on query params to do this and setting up / reading the data in handle_params or where ever is appropriate.

We want to represent the following UI elements in the URL:

Screenshot 2023-07-26 at 10 55 26 AM