Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Going to /about and clicking "Map" button should restore last view #663

Open
wbazant opened this issue Jan 14, 2025 · 0 comments · May be fixed by #665
Open

Going to /about and clicking "Map" button should restore last view #663

wbazant opened this issue Jan 14, 2025 · 0 comments · May be fixed by #665
Labels
bug Unexpected problems or unintended behavior

Comments

@wbazant
Copy link
Collaborator

wbazant commented Jan 14, 2025

Now we go back to the default view, with a bare /map URL. Instead, we should go to the last view - stored in redux.

To test:

  • start at a page with a map in non-default position (say, move the view to over Mexico)
  • go to /about or one of the pages without the map on desktop
  • come back to the map - the URL should list the map's view and it should have the chosen view
@wbazant wbazant added the bug Unexpected problems or unintended behavior label Jan 14, 2025
@wbazant wbazant linked a pull request Jan 17, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected problems or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant