@devries-cameron20 / t3code Mirror · read-only / commits / e1e520c93c
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 22, 05:45 UTC

fix(web): show the project pin before the remote badge (#29704)

maria committed Nov 3, 2026 at 02:17 UTC e1e520c93c997e07eebf135b12c89fad7fb35085
2 files changed +14 -14
apps/web/src/components/Sidebar.tsx
+7 -7
@@ -3138,13 +3138,6 @@ export default function Sidebar({ routeReveal }: { routeReveal: SidebarRouteReve
3138 )}
3139 </ProjectScopeRowIcon>
3140 <span className="min-w-0 flex-1 truncate text-sm">{item.label}</span>
3141 - {project && showProjectEnvironments ? (
3142 - <ProjectEnvironmentBadge
3143 - group={project}
3144 - primaryEnvironmentId={primaryEnvironmentId}
3145 - machineByEnvironmentId={environmentMachineById}
3146 - />
3147 - ) : null}
3141 {project && canPinProject(project) ? (
3142 <ProjectPinButton
3143 name={project.displayName}
@@ -3153,6 +3146,13 @@ export default function Sidebar({ routeReveal }: { routeReveal: SidebarRouteReve
3146 onToggle={() => toggleProjectGroupPin(project)}
3147 />
3148 ) : null}
3149 + {project && showProjectEnvironments ? (
3150 + <ProjectEnvironmentBadge
3151 + group={project}
3152 + primaryEnvironmentId={primaryEnvironmentId}
3153 + machineByEnvironmentId={environmentMachineById}
3154 + />
3155 + ) : null}
3156 {project ? (
3157 <Button
3158 size="icon-xs"
apps/web/src/components/chat/DraftHeroHeadline.tsx
+7 -7
@@ -344,13 +344,6 @@ export function DraftHeroHeadline({
344 </TooltipTrigger>
345 <TooltipPopup side="top">{item.label}</TooltipPopup>
346 </Tooltip>
347 - {entry && showProjectEnvironments ? (
348 - <ProjectEnvironmentBadge
349 - group={entry.group}
350 - primaryEnvironmentId={primaryEnvironmentId}
351 - machineByEnvironmentId={environmentMachineById}
352 - />
353 - ) : null}
347 {entry && canPinProjectGroup(entry.group) ? (
348 <ProjectPinButton
349 name={entry.group.displayName}
@@ -359,6 +352,13 @@ export function DraftHeroHeadline({
352 onToggle={() => toggleProjectGroupPin(entry.group)}
353 />
354 ) : null}
355 + {entry && showProjectEnvironments ? (
356 + <ProjectEnvironmentBadge
357 + group={entry.group}
358 + primaryEnvironmentId={primaryEnvironmentId}
359 + machineByEnvironmentId={environmentMachineById}
360 + />
361 + ) : null}
362 </ComboboxItem>
363 );
364 }}