fix(web): remove XDA chip from terminal header (#1963)

Co-authored-by: i-trytoohard <193449657+i-trytoohard@users.noreply.github.com>
This commit is contained in:
i-trytoohard 2026-05-20 21:57:28 +05:30 committed by GitHub
parent 49ab9ec716
commit c8a0dcbf70
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 12 deletions

View File

@ -8551,7 +8551,7 @@ html.light .xterm .xterm-viewport:hover::-webkit-scrollbar-thumb:active {
margin-right: 2px;
}
/* Stack: session name on top, status+XDA row below */
/* Stack: session name on top, status row below */
.terminal-chrome-identity {
flex-direction: column;
align-items: flex-start;

View File

@ -154,7 +154,7 @@ describe("DirectTerminal render", () => {
await waitFor(() => expect(screen.getByText("Connected")).toBeInTheDocument());
expect(screen.getByText("ao-orchestrator")).toHaveStyle({ color: "var(--color-accent)" });
expect(screen.getByText("XDA")).toHaveStyle({ color: "var(--color-accent)" });
expect(screen.queryByText("XDA")).toBeNull();
});
it("keeps restart and fullscreen actions available in chromeless mode", async () => {

View File

@ -217,7 +217,7 @@ export function TerminalControls({
<div className="terminal-chrome-bar flex items-center gap-2 border-b border-[var(--color-border-subtle)] bg-[var(--color-bg-elevated)] px-3 py-2">
{/* Pane label — matches the workspace pane-header style used elsewhere */}
<span className="terminal-chrome-pane-label">TERMINAL</span>
{/* Identity group: session name on top, status+XDA below on mobile */}
{/* Identity group: session name on top, status below on mobile */}
<div className="terminal-chrome-identity">
<span className="terminal-chrome-session-id font-[var(--font-mono)] text-[11px]" style={{ color: accentColor }}>
{sessionId}
@ -229,15 +229,6 @@ export function TerminalControls({
>
{statusText}
</span>
<span
className="px-1.5 py-0.5 text-[9px] font-semibold uppercase tracking-[0.06em]"
style={{
color: accentColor,
background: `color-mix(in srgb, ${accentColor} 12%, transparent)`,
}}
>
XDA
</span>
</div>
</div>
<div className="flex-1" />