From 0fa4a859f6992be80302e2a7508e28b9b64e4991 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Tue, 22 Sep 2026 12:22:18 -0700 Subject: [PATCH] refactor(web): show more / show less are ordinary sidebar sub-rows (#13039) Co-authored-by: Claude Fable 5 --- apps/web/src/components/LegacySidebar.tsx | 2 -- scripts/lint-restyle-ceiling.ts | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/web/src/components/LegacySidebar.tsx b/apps/web/src/components/LegacySidebar.tsx index 910bb23be7cac90701e2fb72709e49b4f586bacd..97df88f889c66d6bbe36d04ca5a2821234ea9199 100644 --- a/apps/web/src/components/LegacySidebar.tsx +++ b/apps/web/src/components/LegacySidebar.tsx @@ -1091,7 +1091,6 @@ const SidebarProjectThreadList = memo(function SidebarProjectThreadList( render={showMoreButtonRender} data-thread-selection-safe size="sm" - className="h-8 w-full translate-x-0 justify-start px-2 text-left text-xs text-sidebar-muted-foreground/75 hover:bg-sidebar-row-hover hover:text-sidebar-foreground" onClick={() => { expandThreadListForProject(projectKey); }} @@ -1109,7 +1108,6 @@ const SidebarProjectThreadList = memo(function SidebarProjectThreadList( render={showLessButtonRender} data-thread-selection-safe size="sm" - className="h-8 w-full translate-x-0 justify-start px-2 text-left text-xs text-sidebar-muted-foreground/75 hover:bg-sidebar-row-hover hover:text-sidebar-foreground" onClick={() => { collapseThreadListForProject(projectKey); }} diff --git a/scripts/lint-restyle-ceiling.ts b/scripts/lint-restyle-ceiling.ts index 5029db529de05ec9532f578c12641a4c33f93c3e..f361c42ad894056c034acbee457f954d9495ea5d 100644 --- a/scripts/lint-restyle-ceiling.ts +++ b/scripts/lint-restyle-ceiling.ts @@ -8,7 +8,7 @@ import * as NodeURL from "node:url"; // components/ui exports are migrated to variants (see vite.config.ts). This gate keeps the // count from growing: CI fails when findings exceed the ceiling. Lower the ceiling when you // migrate a file, and delete this script when the rule becomes an error. -export const RESTYLE_CEILING = 776; +export const RESTYLE_CEILING = 766; const RULE = "shadcn(no-restyle)"; -- 2.54.0