diff --git a/apps/web/src/components/BranchToolbar.tsx b/apps/web/src/components/BranchToolbar.tsx index d59cd1aa44997..cd1cbce169bba 100644 --- a/apps/web/src/components/BranchToolbar.tsx +++ b/apps/web/src/components/BranchToolbar.tsx @@ -24,7 +24,7 @@ import { import { flushSync } from "react-dom"; import { useComposerDraftStore, type DraftId } from "../composerDraftStore"; -import { EnvironmentMachineIcon } from "./EnvironmentMachineIcon"; +import { EnvironmentBadgeIcon } from "./EnvironmentBadgeIcon"; import { useProject, useThreadShellsForProjectRefs } from "../state/entities"; import { ADD_TO_MACHINE_LABEL_CLASS, @@ -244,7 +244,8 @@ const RunContextSelector = memo(function RunContextSelector({ aria-hidden="true" /> ) : ( - - + {env.label} @@ -394,7 +399,11 @@ const RunContextSelector = memo(function RunContextSelector({ onClick={() => onAddToMachine(target.environmentId)} > - + {target.label} diff --git a/apps/web/src/components/BranchToolbarEnvironmentSelector.tsx b/apps/web/src/components/BranchToolbarEnvironmentSelector.tsx index 818ff8389be68..03e9704d7857d 100644 --- a/apps/web/src/components/BranchToolbarEnvironmentSelector.tsx +++ b/apps/web/src/components/BranchToolbarEnvironmentSelector.tsx @@ -9,7 +9,7 @@ import { PlusIcon, ScaleIcon } from "lucide-react"; import { memo } from "react"; import { ADD_TO_MACHINE_LABEL_CLASS, type EnvironmentOption } from "./BranchToolbar.logic"; -import { EnvironmentMachineIcon } from "./EnvironmentMachineIcon"; +import { EnvironmentBadgeIcon } from "./EnvironmentBadgeIcon"; import { useComposerMenuProps } from "./chat/composerEventScope"; import { Select, @@ -71,7 +71,8 @@ export const BranchToolbarEnvironmentSelector = memo(function BranchToolbarEnvir className="inline-flex h-7 min-w-0 max-w-full items-center gap-1 border border-transparent px-1.75 font-normal text-muted-foreground/70 text-xs sm:h-6" data-composer-context-control > - @@ -116,7 +117,8 @@ export const BranchToolbarEnvironmentSelector = memo(function BranchToolbarEnvir {autoEnvironmentLabel ? (