Skip to content

[FIX] Keep selection when switching between graph and map#368

Open
micw wants to merge 2 commits into
freifunk:mainfrom
freifunkstuff:feature/map-graph-keep-selection
Open

[FIX] Keep selection when switching between graph and map#368
micw wants to merge 2 commits into
freifunk:mainfrom
freifunkstuff:feature/map-graph-keep-selection

Conversation

@micw
Copy link
Copy Markdown
Contributor

@micw micw commented May 13, 2026

Description

When selecting a node ans switching between graph/map view, the node selection was lost. This fixes it.

Also router.fullUrl was fixed to not add an extra hash to the path. The same issue was already fixed in an older commit for switching the language but not for router.fullUrl. And I added a test for this ;-)

Motivation and Context

It's was a bug. Now it's fixed.

How Has This Been Tested?

Fixefox, Unit Test

Screenshots/links:

Checklist:

  • My code follows the code style of this project. (CI will test it anyway and also needs approval)
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.

github-actions Bot pushed a commit that referenced this pull request May 13, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 13, 2026

Preview deployed: https://freifunk.github.io/meshviewer/pr-preview/pr-368/

Updated for commit 10b34aa.

github-actions Bot pushed a commit that referenced this pull request May 13, 2026
micw added 2 commits May 13, 2026 07:00
Signed-off-by: Michael Wyraz <michael@wyraz.de>
Signed-off-by: Michael Wyraz <michael@wyraz.de>
@micw micw force-pushed the feature/map-graph-keep-selection branch from 7ef9e09 to 10b34aa Compare May 13, 2026 05:01
github-actions Bot pushed a commit that referenced this pull request May 13, 2026
@micw
Copy link
Copy Markdown
Contributor Author

micw commented May 13, 2026

I love the preview CI feature!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant