From bdc3a65007ac97d05244572f5c09caa1c4dfd31e Mon Sep 17 00:00:00 2001 From: Jean Mertz Date: Fri, 24 Jul 2026 00:24:35 +0200 Subject: [PATCH] feat(docs, rfd): Sync RFD index filter and search to URL 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 --- docs/.vitepress/theme/RfdIndex.vue | 43 ++++++++++++++++++++++++------ 1 file changed, 35 insertions(+), 8 deletions(-) diff --git a/docs/.vitepress/theme/RfdIndex.vue b/docs/.vitepress/theme/RfdIndex.vue index d61aca0dc..9e1b00775 100644 --- a/docs/.vitepress/theme/RfdIndex.vue +++ b/docs/.vitepress/theme/RfdIndex.vue @@ -1,5 +1,6 @@