authorgravatar for maria@kuuro.netmaria <maria@kuuro.net> 2026-09-01 23:13:10-04:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-09-01 23:13:10-04:00
logfea1af81fdab64a19353224d60b4efa60f929740
tree9c8dafbf24e97fea144a9be0befd6f833c9d6ac2
parentd937e30759ceae421bf3cc1b84414de4b67df76c
signature Signed by PGP key B5690EEEBB952194

fix(web): compact project settings actions (#9160)

Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>

1 files changed, 5 insertions(+), 8 deletions(-)

apps/web/src/components/settings/ProjectSettingsPanel.tsx+5-8
...@@ -784,7 +784,7 @@ function ProjectDetail({ group }: { group: SidebarProjectSnapshot }) {...@@ -784,7 +784,7 @@ function ProjectDetail({ group }: { group: SidebarProjectSnapshot }) {
784784
785 return (785 return (
786 <>786 <>
787 <SettingsPageContainer>787 <SettingsPageContainer width="wide" className="gap-8">
788 <SettingsSection title="Project">788 <SettingsSection title="Project">
789 <SettingsRow789 <SettingsRow
790 title="Name"790 title="Name"
...@@ -842,9 +842,6 @@ function ProjectDetail({ group }: { group: SidebarProjectSnapshot }) {...@@ -842,9 +842,6 @@ function ProjectDetail({ group }: { group: SidebarProjectSnapshot }) {
842 </div>842 </div>
843 }843 }
844 />844 />
845 </SettingsSection>
846
847 <SettingsSection title="New threads">
848 <SettingsRow845 <SettingsRow
849 title="Model"846 title="Model"
850 description="New threads in this project start with this model. Applies to every checkout in this group."847 description="New threads in this project start with this model. Applies to every checkout in this group."
...@@ -1131,10 +1128,7 @@ function ProjectDetail({ group }: { group: SidebarProjectSnapshot }) {...@@ -1131,10 +1128,7 @@ function ProjectDetail({ group }: { group: SidebarProjectSnapshot }) {
1131 icon={script.icon}1128 icon={script.icon}
1132 className="size-4 shrink-0 text-muted-foreground"1129 className="size-4 shrink-0 text-muted-foreground"
1133 />1130 />
1134 <span className="max-w-40 shrink-0 truncate">{script.name}</span>1131 <span className="min-w-0 truncate">{script.name}</span>
1135 <code className="min-w-0 flex-1 truncate font-mono font-normal text-muted-foreground">
1136 {script.command}
1137 </code>
1138 {script.runOnWorktreeCreate ? (1132 {script.runOnWorktreeCreate ? (
1139 <span className="shrink-0 rounded-sm border border-border/60 px-1.5 py-px text-[11px] font-normal text-muted-foreground">1133 <span className="shrink-0 rounded-sm border border-border/60 px-1.5 py-px text-[11px] font-normal text-muted-foreground">
1140 setup1134 setup
...@@ -1147,6 +1141,9 @@ function ProjectDetail({ group }: { group: SidebarProjectSnapshot }) {...@@ -1147,6 +1141,9 @@ function ProjectDetail({ group }: { group: SidebarProjectSnapshot }) {
1147 ) : null}1141 ) : null}
1148 </span>1142 </span>
1149 }1143 }
1144 description={
1145 <code className="block max-w-full truncate font-mono">{script.command}</code>
1146 }
1150 control={1147 control={
1151 <>1148 <>
1152 {shortcutLabel ? (1149 {shortcutLabel ? (