From ab1c483cab659ac2ab081e74a0e3bd0fcc48a734 Mon Sep 17 00:00:00 2001 From: Evan Otero Date: Fri, 15 Aug 2025 12:32:15 -0400 Subject: feat(about): Add the IDE Client's display name to `/about` (#6311) Co-authored-by: Bryan Morgan --- packages/cli/src/ui/components/AboutBox.tsx | 14 ++++++++++++++ packages/cli/src/ui/components/HistoryItemDisplay.test.tsx | 1 + packages/cli/src/ui/components/HistoryItemDisplay.tsx | 1 + 3 files changed, 16 insertions(+) (limited to 'packages/cli/src/ui/components') diff --git a/packages/cli/src/ui/components/AboutBox.tsx b/packages/cli/src/ui/components/AboutBox.tsx index 71afbdd4..a0954576 100644 --- a/packages/cli/src/ui/components/AboutBox.tsx +++ b/packages/cli/src/ui/components/AboutBox.tsx @@ -16,6 +16,7 @@ interface AboutBoxProps { modelVersion: string; selectedAuthType: string; gcpProject: string; + ideClient: string; } export const AboutBox: React.FC = ({ @@ -25,6 +26,7 @@ export const AboutBox: React.FC = ({ modelVersion, selectedAuthType, gcpProject, + ideClient, }) => ( = ({ )} + {ideClient && ( + + + + IDE Client + + + + {ideClient} + + + )} ); diff --git a/packages/cli/src/ui/components/HistoryItemDisplay.test.tsx b/packages/cli/src/ui/components/HistoryItemDisplay.test.tsx index f806abd6..234ca968 100644 --- a/packages/cli/src/ui/components/HistoryItemDisplay.test.tsx +++ b/packages/cli/src/ui/components/HistoryItemDisplay.test.tsx @@ -71,6 +71,7 @@ describe('', () => { modelVersion: 'test-model', selectedAuthType: 'test-auth', gcpProject: 'test-project', + ideClient: 'test-ide', }; const { lastFrame } = render( , diff --git a/packages/cli/src/ui/components/HistoryItemDisplay.tsx b/packages/cli/src/ui/components/HistoryItemDisplay.tsx index 74615b26..89dd0149 100644 --- a/packages/cli/src/ui/components/HistoryItemDisplay.tsx +++ b/packages/cli/src/ui/components/HistoryItemDisplay.tsx @@ -73,6 +73,7 @@ export const HistoryItemDisplay: React.FC = ({ modelVersion={item.modelVersion} selectedAuthType={item.selectedAuthType} gcpProject={item.gcpProject} + ideClient={item.ideClient} /> )} {item.type === 'help' && commands && } -- cgit v1.2.3