Remove state from URL
Currently we replicate the settings && ui portions of state in the application URL. This allows users to bookmark their settings or share a link of their current application view.
This has added a lot of complexity to the application. It also might be causing some issues with the map extents updating excessively since we have additional effects responding to additional actions. Currently, with the excessive updating of map bounds in the URL it is making it impossible for people to reliably use the back button in their browser to get back to the previous page (sometimes this is the search page they just came from).
This ticket is proposing that we remove this duplication of state in the application url, but still keeping the bookmark button in settings that allows users to share their settings. Also, this means that the application would still need load settings from the URL.
To Do/Test:
- Remove all code that maintains application state in the URL
- Update code to bookmark the user's current application state. This is based on the assumption that the URL is storing the application settings.
- Ensure that the application can still load from bookmarked version of the URL.
- Storing the application state in localStorage should still be maintained.