Skip to content

Conversation

@maurerle
Copy link
Member

@maurerle maurerle commented Jan 4, 2026

Description

This adds the feature of url search params to the map.
This way, any filter can be encoded in the url.

Motivation and Context

fixes #70

How Has This Been Tested?

Various filters like:
http://localhost:5173/#/en/map?node.update=deactivated&node.visible=no

http://localhost:5173/#/en/map?node.hardware=Ubiquiti+UniFi+AC+Mesh

http://localhost:5173/#/en/map?node.firmware=v2025.1.0,!v2021.1.2-16

  • Selecting a node after setting filters loses the filters in the url though.

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.

@maurerle
Copy link
Member Author

maurerle commented Jan 4, 2026

The statusFieldMapping should be improved further to not duplicate code..

@maurerle
Copy link
Member Author

maurerle commented Jan 8, 2026

@maurerle maurerle requested a review from skorpy2009 January 10, 2026 16:34
@maurerle maurerle merged commit 0e4bb3e into main Jan 13, 2026
2 checks passed
@maurerle maurerle deleted the feat_url_params branch January 13, 2026 17:54
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.

Filter with URL params - direct link to filtered view

2 participants