| ... | @@ -784,7 +784,7 @@ function ProjectDetail({ group }: { group: SidebarProjectSnapshot }) { | ... | @@ -784,7 +784,7 @@ function ProjectDetail({ group }: { group: SidebarProjectSnapshot }) { |
| 784 | | 784 | |
| 785 | return ( | 785 | return ( |
| 786 | <> | 786 | <> |
| 787 | <SettingsPageContainer> | 787 | <SettingsPageContainer width="wide" className="gap-8"> |
| 788 | <SettingsSection title="Project"> | 788 | <SettingsSection title="Project"> |
| 789 | <SettingsRow | 789 | <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 | <SettingsRow | 845 | <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 | setup | 1134 | 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 ? ( |