authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-09-22 12:22:18-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-09-22 12:22:18-07:00
log0fa4a859f6992be80302e2a7508e28b9b64e4991
tree8ace6e722422e65f185845207ae0d52224138ddc
parente420ef98333c97205f836201cfeb94682a41893c
signature Signed by PGP key B5690EEEBB952194

refactor(web): show more / show less are ordinary sidebar sub-rows (#13039)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

2 files changed, 1 insertions(+), 3 deletions(-)

apps/web/src/components/LegacySidebar.tsx-2
......@@ -1091,7 +1091,6 @@ const SidebarProjectThreadList = memo(function SidebarProjectThreadList(
10911091 render={showMoreButtonRender}
10921092 data-thread-selection-safe
10931093 size="sm"
1094 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"
10951094 onClick={() => {
10961095 expandThreadListForProject(projectKey);
10971096 }}
......@@ -1109,7 +1108,6 @@ const SidebarProjectThreadList = memo(function SidebarProjectThreadList(
11091108 render={showLessButtonRender}
11101109 data-thread-selection-safe
11111110 size="sm"
1112 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"
11131111 onClick={() => {
11141112 collapseThreadListForProject(projectKey);
11151113 }}
scripts/lint-restyle-ceiling.ts+1-1
......@@ -8,7 +8,7 @@ import * as NodeURL from "node:url";
88// components/ui exports are migrated to variants (see vite.config.ts). This gate keeps the
99// count from growing: CI fails when findings exceed the ceiling. Lower the ceiling when you
1010// migrate a file, and delete this script when the rule becomes an error.
11export const RESTYLE_CEILING = 776;
11export const RESTYLE_CEILING = 766;
1212
1313const RULE = "shadcn(no-restyle)";
1414