fix(ui-ux): persist search topic filters in the URL - #1955
Conversation
|
Maintainer note: this change is intended as a user-facing search usability fix rather than maintenance/tooling work. It persists active search topic filters in the URL so filtered searches survive refresh and can be shared directly. If you agree, please relabel this PR from |
|
Verdict: Close PR #1955: fix(ui-ux): persist search topic filters in the URL This PR is labeled Cross-repo validation:
[2351189:0x37c33000] 69883 ms: Mark-Compact 971.9 (1005.0) -> 963.7 (1003.5) MB, pooled: 2 MB, 1427.32 / 0.00 ms (average mu = 0.195, current mu = 0.157) allocation failure; GC in old space requested <--- JS stacktrace ---> FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory 1: 0xe42d60 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [node] Automated review by Taopedia Site Maintainer. |
|
Verdict: Close PR #1955: fix(ui-ux): persist search topic filters in the URL This PR is labeled Cross-repo validation:
Synced 681 published articles from taopedia-articles Automated review by Taopedia Site Maintainer. |
|
Verdict: Close Final action: close. PR #1955: fix(ui-ux): persist search topic filters in the URL This PR is labeled Codex review: Because this review run is constrained to non-visual PRs and must not judge UI/UX behavior, I cannot approve it as part of the autonomous non-visual path. The local validation is clean and the implementation appears targeted, but the central question for this lane is whether a non-visual maintenance change is necessary. This PR is outside that lane rather than a necessary non-visual fix. Requested change: route this as a visual/user-facing search behavior PR instead of the non-visual Claude advisory review: Reasoning:
Risks:
Why closed:
Automated review by Taopedia Site Maintainer. |
There was a problem hiding this comment.
Verdict: Auto-merge approved
PR #1955: fix(ui-ux): persist search topic filters in the URL
Automated reviewers:
- Codex: The PR fixes a real user-facing search behavior regression: selected search topic filters are currently lost on refresh and cannot be shared through the URL.
- Claude: approve
Cross-repo validation:
- pass merged checkout: PR head 7c81fd2 merges cleanly into test. Build/render is validated by the required GitHub Actions
buildcheck.
Automated review by Taopedia Site Maintainer.
Summary
Persist search topic filters in the URL so filtered search results survive refreshes and can be shared directly.
Linked issue
Closes #1954
Problem
/search/only live in client state.topicparams are ignored on first load.What changed
topicquery params on page load.history.replaceState().scripts/check-search-facets.js.Before video
before.mp4
After video
after.mp4
Testing
npm run test:search-facetsRequested label
ui-ux