Skip to content

Commit ecd156e

Browse files
dmarticusclaude
andcommitted
chore(agents): rename the "Applications" tab to "Fleet"
The second Agents tab was labelled "Applications" — a vague word that didn't convey what these are and clashed with "Agent Builder", which is mentioned in the header and is itself one of the listed agents. "Fleet" is already the word the app uses for the collection of running agents ("In-flight agent sessions across the fleet"), so this reuses existing vocabulary and parallels the sibling "Scouts" tab tonally. Purely a display-label change: - The visible tab label in AgentsTabLayout - The "← Applications" back-link on detail and fleet-approvals pages - Stale JSDoc / inline comments that referred to "the Applications tab" Internal names — the /code/agents/applications route, the agent-applications feature directory, the AgentsTab "applications" enum value, the AGENT_PLATFORM_FLAG, hook names, and query keys — are all untouched. No behavior changes, no data-model changes. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 915b2dd commit ecd156e

7 files changed

Lines changed: 10 additions & 10 deletions

File tree

packages/ui/src/features/agent-applications/components/AgentAnalyticsView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const tileTitle = (label: string): ReactNode => (
4343
* HogQL and shapes the data; this renders one of loading / error / empty /
4444
* populated.
4545
*
46-
* `scope` "overview" is the fleet board blended into the Applications landing
46+
* `scope` "overview" is the fleet board blended into the Fleet landing
4747
* (KPIs + spend-by-agent + cost-by-model; the agent list below carries the
4848
* per-agent breakdown). "agent" is the per-agent Observability tab (KPIs +
4949
* cost-by-model + tool reliability — spend-by-agent is meaningless for one).

packages/ui/src/features/agent-applications/components/AgentApplicationsListView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ type StatusFilter = "all" | "live" | "drafts";
3232
const PAGE_SIZE = 8;
3333

3434
/**
35-
* The Applications tab. Renders the deployed-agent fleet as the primary
35+
* The Fleet tab. Renders the deployed-agent fleet as the primary
3636
* surface: a searchable, status-filtered, paged list with the 7-day activity
3737
* strip pinned at the top and operational / live-now panels below.
3838
*/

packages/ui/src/features/agent-applications/components/AgentDetailLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export function AgentDetailLayout({
148148
className="flex w-fit items-center gap-1.5 text-[12px] text-gray-11 no-underline hover:text-gray-12"
149149
>
150150
<ArrowLeftIcon size={13} />
151-
Applications
151+
Fleet
152152
</Link>
153153
<Flex align="center" gap="2" wrap="wrap" className="pr-44">
154154
<Text className="font-bold text-[22px] text-gray-12 leading-tight tracking-tight">

packages/ui/src/features/agent-applications/components/AgentFleetApprovalsPane.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import { RefreshIndicator } from "./RefreshIndicator";
2424
* (joined client-side with `useAgentApplications`) and the detail pane reuses
2525
* `AgentApprovalDetail` once we resolve the application's `idOrSlug`. Owns its
2626
* own chrome (back link + title) rather than nesting under the Scouts /
27-
* Applications tab bar, matching how per-agent detail pages render.
27+
* Fleet tab bar, matching how per-agent detail pages render.
2828
*/
2929
export function AgentFleetApprovalsPane({
3030
selectedId,
@@ -149,7 +149,7 @@ export function AgentFleetApprovalsPane({
149149
className="flex w-fit items-center gap-1.5 text-[12px] text-gray-11 no-underline hover:text-gray-12"
150150
>
151151
<ArrowLeftIcon size={13} />
152-
Applications
152+
Fleet
153153
</Link>
154154
<Flex align="center" gap="2" wrap="wrap">
155155
<Text className="font-bold text-[22px] text-gray-12 leading-tight tracking-tight">

packages/ui/src/features/agent-applications/components/AgentFleetLiveSessionsPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { sessionStateColor } from "../utils/format";
1515
import { RefreshIndicator } from "./RefreshIndicator";
1616

1717
/**
18-
* Cross-agent in-flight sessions, surfaced on the Applications landing. Lists
18+
* Cross-agent in-flight sessions, surfaced on the Fleet landing. Lists
1919
* non-terminal sessions across the fleet with state, agent, trigger, turn count
2020
* and started-ago; clicking a row navigates to the per-agent session detail.
2121
* Polls aggressively (see {@link useAgentFleetLiveSessions}) so the panel feels

packages/ui/src/features/agent-applications/featureFlag.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Gates the whole agent-platform surface in PostHog Code: the Applications tab
2+
* Gates the whole agent-platform surface in PostHog Code: the Fleet tab
33
* content (list + per-agent detail) and the always-on Agent Builder dock. The
44
* Scouts tab is unaffected. Mirrors the `agent-platform` flag on the PostHog
55
* side (`FEATURE_FLAGS.AGENT_PLATFORM`). Hidden until GA.

packages/ui/src/features/agents/components/AgentsTabLayout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const TAB_DESCRIPTION: Record<AgentsTab, string> = {
2222
/**
2323
* Shared chrome for the two top-level Agents tabs. Each tab view renders its
2424
* own content inside this layout and declares which tab is active, so the
25-
* header + tab bar stay identical across Scouts and Applications while detail
25+
* header + tab bar stay identical across Scouts and Fleet while detail
2626
* pages (a scout, an agent, a session) keep their own focused chrome.
2727
*/
2828
export function AgentsTabLayout({
@@ -50,7 +50,7 @@ export function AgentsTabLayout({
5050
const pageContext: AgentBuilderPageContext =
5151
activeTab === "applications" ? { kind: "agent-list" } : { kind: "scouts" };
5252
useSetAgentBuilderPage(pageContext);
53-
// The Applications tab is gated behind the agent-platform flag.
53+
// The Fleet tab is gated behind the agent-platform flag.
5454
const applicationsEnabled = useFeatureFlag(AGENT_PLATFORM_FLAG);
5555

5656
return (
@@ -76,7 +76,7 @@ export function AgentsTabLayout({
7676
{applicationsEnabled ? (
7777
<TabLink
7878
to="/code/agents/applications"
79-
label="Applications"
79+
label="Fleet"
8080
active={activeTab === "applications"}
8181
/>
8282
) : null}

0 commit comments

Comments
 (0)