Skip to content

Add data-filter-params attribute to filters navbar#5971

Merged
pxpm merged 3 commits intomainfrom
report
Apr 10, 2026
Merged

Add data-filter-params attribute to filters navbar#5971
pxpm merged 3 commits intomainfrom
report

Conversation

@pxpm
Copy link
Copy Markdown
Contributor

@pxpm pxpm commented Apr 9, 2026

WHY

BEFORE - What was wrong? What was happening before this PR?

At first, filters would simply exist as a single instance, so they update the url on filter change etc. We then separated them into a "separate" entity that could be re-used for multiple purposes, and for those cases, if multiple filter nav-bars were to be setup on the same page, they can no longer update the url, but they required for that state to be "stored" somewhere, so that it can be restored/cleaned properly.

AFTER - What is happening after this PR?

This PR introduces data-filter-params in the filters navbar, ensuring that the filter state always has a place to be stored, even when using multiple filter navbars on the same page.

@tabacitu tabacitu added this to Triage Apr 9, 2026
@pxpm pxpm merged commit a32659e into main Apr 10, 2026
18 checks passed
@pxpm pxpm deleted the report branch April 10, 2026 10:45
@github-project-automation github-project-automation bot moved this to Done in Triage Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants