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(...@@ -1091,7 +1091,6 @@ const SidebarProjectThreadList = memo(function SidebarProjectThreadList(
1091 render={showMoreButtonRender}1091 render={showMoreButtonRender}
1092 data-thread-selection-safe1092 data-thread-selection-safe
1093 size="sm"1093 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"
1095 onClick={() => {1094 onClick={() => {
1096 expandThreadListForProject(projectKey);1095 expandThreadListForProject(projectKey);
1097 }}1096 }}
...@@ -1109,7 +1108,6 @@ const SidebarProjectThreadList = memo(function SidebarProjectThreadList(...@@ -1109,7 +1108,6 @@ const SidebarProjectThreadList = memo(function SidebarProjectThreadList(
1109 render={showLessButtonRender}1108 render={showLessButtonRender}
1110 data-thread-selection-safe1109 data-thread-selection-safe
1111 size="sm"1110 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"
1113 onClick={() => {1111 onClick={() => {
1114 collapseThreadListForProject(projectKey);1112 collapseThreadListForProject(projectKey);
1115 }}1113 }}
scripts/lint-restyle-ceiling.ts+1-1
...@@ -8,7 +8,7 @@ import * as NodeURL from "node:url";...@@ -8,7 +8,7 @@ import * as NodeURL from "node:url";
8// components/ui exports are migrated to variants (see vite.config.ts). This gate keeps the8// components/ui exports are migrated to variants (see vite.config.ts). This gate keeps the
9// count from growing: CI fails when findings exceed the ceiling. Lower the ceiling when you9// count from growing: CI fails when findings exceed the ceiling. Lower the ceiling when you
10// migrate a file, and delete this script when the rule becomes an error.10// migrate a file, and delete this script when the rule becomes an error.
11export const RESTYLE_CEILING = 776;11export const RESTYLE_CEILING = 766;
1212
13const RULE = "shadcn(no-restyle)";13const RULE = "shadcn(no-restyle)";
1414