From 54e50462e8741fa3df09af7a09356484922843c9 Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Tue, 25 Aug 2026 08:11:24 -0600 Subject: [PATCH 1/2] Validate library blog author filters --- .../_library/$libraryId/$version.docs.blog.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/routes/_library/$libraryId/$version.docs.blog.tsx b/src/routes/_library/$libraryId/$version.docs.blog.tsx index a30ab4529..de90ee93c 100644 --- a/src/routes/_library/$libraryId/$version.docs.blog.tsx +++ b/src/routes/_library/$libraryId/$version.docs.blog.tsx @@ -33,11 +33,15 @@ function RouteComponent() { const { author, q } = Route.useSearch() const navigate = Route.useNavigate() const library = getLibrary(libraryId as LibraryId) - const selectedAuthor = author ? normalizeBlogAuthor(author) : undefined const searchQuery = q ?? '' const posts = Route.useLoaderData() const authors = getDistinctAuthors(posts) + const normalizedAuthor = author ? normalizeBlogAuthor(author) : undefined + const selectedAuthor = + normalizedAuthor && authors.includes(normalizedAuthor) + ? normalizedAuthor + : undefined const authorFilteredPosts = selectedAuthor ? posts.filter((post) => post.authors.includes(selectedAuthor)) @@ -87,11 +91,7 @@ function RouteComponent() {
navigate({ search: (prev) => ({ From 5ce392b25ce79afa26b50ed5ffaeebae433e08c2 Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Tue, 25 Aug 2026 08:16:09 -0600 Subject: [PATCH 2/2] Hide collapsed blog filters from focus --- src/components/BlogFilterBar.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/BlogFilterBar.tsx b/src/components/BlogFilterBar.tsx index bd3635cd6..ecf8482d0 100644 --- a/src/components/BlogFilterBar.tsx +++ b/src/components/BlogFilterBar.tsx @@ -343,6 +343,8 @@ export function BlogFilterBar({ {/* Mobile-only expandable column: the facet dropdowns stacked full-width, animated open via a grid-rows height transition. */}