Skip to content

chore(docs, rfd): Sync RFD index filter and search to URL#874

Merged
JeanMertz merged 1 commit into
mainfrom
rfd-search-share
Jul 23, 2026
Merged

chore(docs, rfd): Sync RFD index filter and search to URL#874
JeanMertz merged 1 commit into
mainfrom
rfd-search-share

Conversation

@JeanMertz

Copy link
Copy Markdown
Collaborator

The RFD index and draft pages now reflect their filter and search state in the URL's query string, and read that state back out on load. Visiting a link like /rfd/?search=plugin shows the same filtered list the link's author saw, instead of always falling back to whatever was last stored in the visitor's own session.

URL params take precedence over the existing sessionStorage-based restore, so a shared link still wins on first load. Updates use replaceState rather than pushState, so typing in the search box doesn't flood browser history with an entry per keystroke.

The RFD index and draft pages now reflect their filter and search state
in the URL's query string, and read that state back out on load.
Visiting a link like `/rfd/?search=plugin` shows the same filtered list
the link's author saw, instead of always falling back to whatever was
last stored in the visitor's own session.

URL params take precedence over the existing sessionStorage-based
restore, so a shared link still wins on first load. Updates use
`replaceState` rather than `pushState`, so typing in the search box
doesn't flood browser history with an entry per keystroke.

Signed-off-by: Jean Mertz <git@jeanmertz.com>
@JeanMertz
JeanMertz merged commit f8ebe0f into main Jul 23, 2026
15 checks passed
@JeanMertz
JeanMertz deleted the rfd-search-share branch July 23, 2026 22:36
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