From 936886a9bc94021bde28c9cb9d755dd1cccf5d39 Mon Sep 17 00:00:00 2001 From: Codex Night Worker Date: Wed, 11 Nov 2026 22:59:18 +0900 Subject: [PATCH 1/2] AI: address issue #451 --- frontend/src/components/TagDetailSidebar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/TagDetailSidebar.tsx b/frontend/src/components/TagDetailSidebar.tsx index cf94c86..bc0862e 100644 --- a/frontend/src/components/TagDetailSidebar.tsx +++ b/frontend/src/components/TagDetailSidebar.tsx @@ -378,7 +378,7 @@ const TagDetailSidebar: FC = ({ className, post, sp }) => { }, [baseTags]) return ( - + Date: Thu, 12 Nov 2026 00:29:45 +0900 Subject: [PATCH 2/2] AI: address review on PR #457 --- frontend/src/components/TagDetailSidebar.test.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/frontend/src/components/TagDetailSidebar.test.tsx b/frontend/src/components/TagDetailSidebar.test.tsx index e89683f..14bb255 100644 --- a/frontend/src/components/TagDetailSidebar.test.tsx +++ b/frontend/src/components/TagDetailSidebar.test.tsx @@ -39,6 +39,18 @@ describe ('TagDetailSidebar', () => { vi.clearAllMocks () }) + it ('inherits the sidebar width saved by the post list', () => { + localStorage.setItem ('sidebar:posts-index-tags:left:width', '320') + + const { container } = renderWithProviders ( + ) + const sidebar = container.querySelector ( + '[style*="--sidebar-width"]') + + expect (sidebar).toBeInTheDocument () + expect (sidebar?.style.getPropertyValue ('--sidebar-width')).toBe ('320px') + }) + it ('keeps internal and external tags with the same numeric id in flat mode', () => { setClientTagRelationDisplayMode ('flat') -- 2.53.0