Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

Fix composer footer focus ring overflow (#1865)

Julius Marminge66d76b5d0230
diff --git a/apps/web/src/components/chat/ChatComposer.tsx b/apps/web/src/components/chat/ChatComposer.tsx
index f46ce0f78..26413937d 100644
--- a/apps/web/src/components/chat/ChatComposer.tsx
+++ b/apps/web/src/components/chat/ChatComposer.tsx
@@ -199,6 +199,7 @@ const ComposerFooterModeControls = memo(function ComposerFooterModeControls(prop
<SelectTrigger
variant="ghost"
size="sm"
+ className="font-medium"
aria-label="Runtime mode"
title={runtimeModeOption.description}
>
@@ -1798,7 +1799,7 @@ export const ChatComposer = memo(
data-chat-composer-footer="true"
data-chat-composer-footer-compact={isComposerFooterCompact ? "true" : "false"}
className={cn(
- "flex min-w-0 flex-nowrap items-center justify-between gap-2 overflow-hidden px-2.5 pb-2.5 sm:px-3 sm:pb-3",
+ "flex min-w-0 flex-nowrap items-center justify-between gap-2 overflow-visible px-2.5 pb-2.5 sm:px-3 sm:pb-3",
isComposerFooterCompact ? "gap-1.5" : "gap-2 sm:gap-0",
)}
>
diff --git a/apps/web/src/components/settings/SettingsPanels.browser.tsx b/apps/web/src/components/settings/SettingsPanels.browser.tsx
index e6a6759f8..cb4c0e37f 100644
--- a/apps/web/src/components/settings/SettingsPanels.browser.tsx
+++ b/apps/web/src/components/settings/SettingsPanels.browser.tsx
@@ -361,8 +361,8 @@ describe("GeneralSettingsPanel observability", () => {
browser: "Chrome",
ipAddress: "127.0.0.1",
},
- issuedAt: "2026-04-07T00:00:00.000Z",
- expiresAt: "2026-05-07T00:00:00.000Z",
+ issuedAt: "2036-04-07T00:00:00.000Z",
+ expiresAt: "2036-05-07T00:00:00.000Z",
connected: true,
current: true,
}),
@@ -377,7 +377,7 @@ describe("GeneralSettingsPanel observability", () => {
auth: createBaseServerConfig().auth,
role: "owner",
sessionMethod: "browser-session-cookie",
- expiresAt: "2026-05-07T00:00:00.000Z",
+ expiresAt: "2036-05-07T00:00:00.000Z",
}),
{
status: 200,
@@ -458,8 +458,8 @@ describe("GeneralSettingsPanel observability", () => {
browser: "Electron",
ipAddress: "127.0.0.1",
},
- issuedAt: "2026-04-07T00:00:00.000Z",
- expiresAt: "2026-05-07T00:00:00.000Z",
+ issuedAt: "2036-04-07T00:00:00.000Z",
+ expiresAt: "2036-05-07T00:00:00.000Z",
connected: true,
current: true,
}),
@@ -481,8 +481,8 @@ describe("GeneralSettingsPanel observability", () => {
role: "client",
subject: "one-time-token",
label: "Julius iPhone",
- createdAt: "2026-04-07T00:00:00.000Z",
- expiresAt: "2026-04-10T00:05:00.000Z",
+ createdAt: "2036-04-07T00:00:00.000Z",
+ expiresAt: "2036-04-10T00:05:00.000Z",
}),
];
clientSessions = [
@@ -499,8 +499,8 @@ describe("GeneralSettingsPanel observability", () => {
browser: "Safari",
ipAddress: "192.168.1.88",
},
- issuedAt: "2026-04-07T00:01:00.000Z",
- expiresAt: "2026-05-07T00:01:00.000Z",
+ issuedAt: "2036-04-07T00:01:00.000Z",
+ expiresAt: "2036-05-07T00:01:00.000Z",
connected: false,
current: false,
}),
@@ -514,7 +514,7 @@ describe("GeneralSettingsPanel observability", () => {
id: "pairing-link-1",
credential: "pairing-token",
label: "Julius iPhone",
- expiresAt: "2026-04-10T00:05:00.000Z",
+ expiresAt: "2036-04-10T00:05:00.000Z",
}),
{
status: 200,
@@ -547,7 +547,7 @@ describe("GeneralSettingsPanel observability", () => {
.element(page.getByText("Client · Mobile · iOS · Safari · 192.168.1.88"))
.toBeInTheDocument();
await expect
- .element(page.getByRole("button", { name: "Copy", exact: true }))
+ .element(page.getByRole("button", { name: /^(Copy|Show link)$/ }))
.toBeInTheDocument();
await expect.element(page.getByText("Revoke others")).toBeInTheDocument();
});
@@ -572,8 +572,8 @@ describe("GeneralSettingsPanel observability", () => {
os: "macOS",
browser: "Electron",
},
- issuedAt: "2026-04-05T00:00:00.000Z",
- expiresAt: "2026-05-05T00:00:00.000Z",
+ issuedAt: "2036-04-05T00:00:00.000Z",
+ expiresAt: "2036-05-05T00:00:00.000Z",
connected: true,
current: true,
}),
@@ -589,8 +589,8 @@ describe("GeneralSettingsPanel observability", () => {
browser: "Safari",
ipAddress: "192.168.1.88",
},
- issuedAt: "2026-04-05T00:01:00.000Z",
- expiresAt: "2026-05-05T00:01:00.000Z",
+ issuedAt: "2036-04-05T00:01:00.000Z",
+ expiresAt: "2036-05-05T00:01:00.000Z",
connected: false,
current: false,
}),