Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

feat(providers): one click on a row opens it AND makes it the active provider

rubenluetke10-beep5534f555adf8
diff --git a/jarvis/ui/web/frontend/src/components/JarvisAgentSection.model.test.tsx b/jarvis/ui/web/frontend/src/components/JarvisAgentSection.model.test.tsx
index 59d5a2594a..3ef40055c9 100644
--- a/jarvis/ui/web/frontend/src/components/JarvisAgentSection.model.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/JarvisAgentSection.model.test.tsx
@@ -119,7 +119,7 @@ describe("JarvisAgentSection — dedicated subagent LLM dropdown", () => {
});
});
- it("makes a worker the active one on a double click of its row", async () => {
+ it("makes a worker the active one on a single click of its row", async () => {
const status = {
...STATUS,
mapping: [{ ...OPENAI_AGENT_ROW, key_set: true, dedicated_key_set: true }],
@@ -137,7 +137,8 @@ describe("JarvisAgentSection — dedicated subagent LLM dropdown", () => {
render(<JarvisAgentSection />);
const title = await screen.findByText("OpenAI");
- // A real double click is click, click, dblclick — exactly one switch.
+ // A real double click is click, click, dblclick — the first click already
+ // selected the row, the rest is ignored: exactly one switch.
fireEvent.click(title);
fireEvent.click(title, { detail: 2 });
fireEvent.doubleClick(title);
diff --git a/jarvis/ui/web/frontend/src/components/JarvisAgentSection.tsx b/jarvis/ui/web/frontend/src/components/JarvisAgentSection.tsx
index fe2834ae11..2fa1a6a06c 100644
--- a/jarvis/ui/web/frontend/src/components/JarvisAgentSection.tsx
+++ b/jarvis/ui/web/frontend/src/components/JarvisAgentSection.tsx
@@ -700,16 +700,18 @@ function AgentRow({
active?: boolean;
expanded?: boolean;
onToggle?: () => void;
- /** Double-click action: make this the worker (the Use control's path). */
+ /** Click action: make this the worker (the Use control's path). Absent
+ * when a click must not switch — the row is active, or lacks its key. */
onActivate?: () => void;
/** Native hover tooltip for the row header. */
tooltip?: string;
testId?: string;
}) {
const collapsible = Boolean(body && onToggle);
- // One click opens the body, a double click makes this the worker — the
- // same path as the Use control (see rowGestures.ts).
+ // One click selects the row: the body opens AND this becomes the worker —
+ // the same path as the Use control (see rowGestures.ts).
const rowGestures = useRowGestures({
+ expanded,
onToggle: collapsible ? onToggle : undefined,
onActivate,
});
@@ -731,12 +733,11 @@ function AgentRow({
tabIndex={collapsible ? 0 : undefined}
aria-expanded={collapsible ? expanded : undefined}
onClick={rowGestures.onClick}
- onDoubleClick={rowGestures.onDoubleClick}
onKeyDown={(e) => {
if (!collapsible || e.target !== e.currentTarget) return;
if (e.key === "Enter" || e.key === " ") {
e.preventDefault();
- onToggle?.();
+ rowGestures.select();
}
}}
title={tooltip}
@@ -992,7 +993,7 @@ function CodexConnectionCard({
} & RowDisclosure) {
const pushToast = useEventStore((s) => s.pushToast);
const [pending, setPending] = useState(false);
- const { activating, activate } = useSubagentActivate(row, onChanged);
+ const { activating, activate, clickActivates } = useSubagentActivate(row, onChanged);
const connected = Boolean(status?.connected);
const installed = status?.installed ?? false;
const isActive = Boolean(row?.is_active_brain);
@@ -1043,7 +1044,7 @@ function CodexConnectionCard({
return (
<AgentRow
testId="agent-row-openai-codex"
- onActivate={() => void activate()}
+ onActivate={clickActivates ? () => void activate() : undefined}
label="OpenAI Codex"
slug={row?.jarvis}
title="OpenAI Codex"
@@ -1121,7 +1122,7 @@ function AntigravityConnectionCard({
const pushToast = useEventStore((s) => s.pushToast);
const brand = useAgentBrand();
const [pending, setPending] = useState(false);
- const { activating, activate } = useSubagentActivate(row, onChanged);
+ const { activating, activate, clickActivates } = useSubagentActivate(row, onChanged);
const connected = Boolean(status?.connected && status.mode === "oauth-personal");
const installed = status?.installed ?? false;
const apiKeyReady = Boolean(installed && row?.api_key_set);
@@ -1175,7 +1176,7 @@ function AntigravityConnectionCard({
return (
<AgentRow
testId="agent-row-antigravity"
- onActivate={() => void activate()}
+ onActivate={clickActivates ? () => void activate() : undefined}
label="Antigravity"
slug={row?.jarvis}
title="Antigravity"
@@ -1237,7 +1238,7 @@ function GrokBuildConnectionCard({
} & RowDisclosure) {
const pushToast = useEventStore((s) => s.pushToast);
const [pending, setPending] = useState(false);
- const { activating, activate } = useSubagentActivate(row, onChanged);
+ const { activating, activate, clickActivates } = useSubagentActivate(row, onChanged);
const connected = Boolean(status?.connected && status.mode === "subscription");
const installed = status?.installed ?? false;
const usable = Boolean(installed && row?.key_set);
@@ -1285,7 +1286,7 @@ function GrokBuildConnectionCard({
return (
<AgentRow
testId="agent-row-grok-build"
- onActivate={() => void activate()}
+ onActivate={clickActivates ? () => void activate() : undefined}
label="Grok Build"
slug={row?.jarvis}
title="Grok Build"
@@ -1345,7 +1346,7 @@ function ClaudeConnectionCard({
} & RowDisclosure) {
const pushToast = useEventStore((s) => s.pushToast);
const [pending, setPending] = useState(false);
- const { activating, activate } = useSubagentActivate(row, onChanged);
+ const { activating, activate, clickActivates } = useSubagentActivate(row, onChanged);
const connected = Boolean(status?.connected && status.mode === "subscription");
const installed = status?.installed ?? false;
// Claude has ONE subagent slug (claude-api) reached by EITHER the Claude Max
@@ -1400,7 +1401,7 @@ function ClaudeConnectionCard({
return (
<AgentRow
testId="agent-row-claude-subscription"
- onActivate={() => void activate()}
+ onActivate={clickActivates ? () => void activate() : undefined}
label="Anthropic Claude"
slug={row?.jarvis}
title="Anthropic Claude"
@@ -1471,7 +1472,7 @@ function ClaudeApiCard({
row: SubagentMappingRow | undefined;
onChanged: () => void | Promise<void>;
} & RowDisclosure) {
- const { activating, activate } = useSubagentActivate(row, onChanged);
+ const { activating, activate, clickActivates } = useSubagentActivate(row, onChanged);
const brand = useAgentBrand();
// OAuth unlocks the subscription sibling only. This API row reflects an
// actual API key, so a Claude Max login cannot paint it falsely ready.
@@ -1481,7 +1482,7 @@ function ClaudeApiCard({
return (
<AgentRow
testId="agent-row-claude-api"
- onActivate={() => void activate()}
+ onActivate={clickActivates ? () => void activate() : undefined}
label="Anthropic Claude"
slug={row?.jarvis}
title="Anthropic Claude"
@@ -1492,7 +1493,7 @@ function ClaudeApiCard({
isActive
? `This ${brand} provider is active`
: keySet
- ? `Double-click to make this the ${brand} provider`
+ ? `Click to make this the ${brand} provider`
: `Save a dedicated Claude ${brand} key first`
}
state={isActive ? "active" : keySet ? STATE_KEY_SAVED : STATE_NO_KEY}
@@ -1579,7 +1580,13 @@ function useSubagentActivate(
}
}, [row, activating, pushToast, onSwitched]);
- return { activating, activate };
+ // Whether a click on the row may switch SILENTLY: a row without its key
+ // would only answer with the "save a key first" warning above, and the
+ // click that opened it was there to add that key. The active row and an
+ // in-flight switch are excluded too.
+ const clickActivates = Boolean(row?.key_set) && !row?.is_active_brain && !activating;
+
+ return { activating, activate, clickActivates };
}
/**
@@ -1599,12 +1606,12 @@ function SubagentProviderCard({
} & RowDisclosure) {
const label = row.label ?? PROVIDER_LABELS[row.jarvis] ?? row.jarvis;
const brand = useAgentBrand();
- const { activating, activate } = useSubagentActivate(row, onSwitched);
+ const { activating, activate, clickActivates } = useSubagentActivate(row, onSwitched);
return (
<AgentRow
testId={`agent-row-${row.jarvis}`}
- onActivate={() => void activate()}
+ onActivate={clickActivates ? () => void activate() : undefined}
label={label}
slug={row.jarvis}
title={label}
@@ -1615,7 +1622,7 @@ function SubagentProviderCard({
row.is_active_brain
? `This ${brand} provider is active`
: row.key_set
- ? `Double-click to make this the ${brand} provider`
+ ? `Click to make this the ${brand} provider`
: "Set an API key first"
}
// A keyless row has no key to wait for: it is ready as soon as it is
@@ -1708,7 +1715,7 @@ function SubagentActiveControl({
const labelTitle = isActive
? `This ${brand} provider is active`
: row.key_set
- ? `Double-click to make this the ${brand} provider`
+ ? `Click to make this the ${brand} provider`
: "Set an API key first";
return (
diff --git a/jarvis/ui/web/frontend/src/components/providers/ProviderTierSection.click.test.tsx b/jarvis/ui/web/frontend/src/components/providers/ProviderTierSection.click.test.tsx
new file mode 100644
index 0000000000..4bbe846198
--- /dev/null
+++ b/jarvis/ui/web/frontend/src/components/providers/ProviderTierSection.click.test.tsx
@@ -0,0 +1,148 @@
+/**
+ * The row CLICK gesture inside a provider tier list.
+ *
+ * One click on a row selects it: the body opens AND the provider becomes the
+ * active one (maintainer request 2026-08-23 — "one click is enough; the row
+ * that is open is the active one"). The Use control keeps switching without
+ * touching the body. A row that would only warn ("save a key first") must
+ * NOT fire a switch on the click that was there to open its key field.
+ *
+ * No jest-dom in this repo — assertions use plain values.
+ */
+import { afterEach, beforeEach, expect, it, vi } from "vitest";
+import { cleanup, fireEvent, render, screen, waitFor } from "@testing-library/react";
+
+import { TierSection } from "@/components/providers/ProviderTierSection";
+import type { ProviderDescriptor } from "@/hooks/useProviders";
+
+function brainCard(over: Partial<ProviderDescriptor> = {}): ProviderDescriptor {
+ return {
+ id: "cloud-a",
+ label: "Cloud A",
+ tier: "brain",
+ auth_mode: "api_key",
+ secret_keys: ["cloud_a_api_key"],
+ secrets_set: { cloud_a_api_key: true },
+ dashboard_url: null,
+ login_cli: null,
+ install_hint: null,
+ credential_path_hint: null,
+ configured: true,
+ active: false,
+ cli_installed: null,
+ credential_help: null,
+ signup_url: null,
+ billing: "api",
+ alt_credential: null,
+ ...over,
+ };
+}
+
+let fetchMock: ReturnType<typeof vi.fn>;
+
+/** The brain switches fired so far, as provider ids in order. */
+function switches(): string[] {
+ return fetchMock.mock.calls
+ .filter(
+ (c) =>
+ String(c[0]).includes("/api/brain/switch") &&
+ (c[1] as RequestInit | undefined)?.method === "POST",
+ )
+ .map((c) => JSON.parse((c[1] as RequestInit).body as string).provider as string);
+}
+
+function renderTier(providers: ProviderDescriptor[]) {
+ const onActivateOptimistic = vi.fn();
+ render(
+ <TierSection
+ providers={providers}
+ onChanged={() => {}}
+ onActivateOptimistic={onActivateOptimistic}
+ />,
+ );
+ return { onActivateOptimistic };
+}
+
+beforeEach(() => {
+ fetchMock = vi.fn(
+ async () =>
+ ({
+ ok: true,
+ status: 200,
+ json: async () => ({}),
+ text: async () => "{}",
+ }) as Response,
+ );
+ (globalThis as unknown as { fetch: typeof fetch }).fetch =
+ fetchMock as unknown as typeof fetch;
+});
+
+afterEach(() => {
+ cleanup();
+ vi.restoreAllMocks();
+});
+
+it("one click on a configured row opens it AND makes it the active provider", async () => {
+ const { onActivateOptimistic } = renderTier([
+ brainCard({ active: true }),
+ brainCard({ id: "cloud-b", label: "Cloud B" }),
+ ]);
+ // The list opens on the active provider; the other row is collapsed.
+ expect(screen.queryByTestId("provider-body-cloud-b")).toBeNull();
+
+ fireEvent.click(screen.getByTestId("provider-row-cloud-b"));
+
+ expect(screen.getByTestId("provider-body-cloud-b")).toBeTruthy();
+ expect(onActivateOptimistic).toHaveBeenCalledWith("brain", "cloud-b");
+ await waitFor(() => expect(switches()).toEqual(["cloud-b"]));
+});
+
+it("a double click switches once — the second click never closes the row again", async () => {
+ renderTier([brainCard({ active: true }), brainCard({ id: "cloud-b", label: "Cloud B" })]);
+ const row = screen.getByTestId("provider-row-cloud-b");
+
+ // A real double click: click, click(detail 2), dblclick.
+ fireEvent.click(row);
+ fireEvent.click(row, { detail: 2 });
+ fireEvent.doubleClick(row);
+
+ expect(screen.getByTestId("provider-body-cloud-b")).toBeTruthy();
+ await waitFor(() => expect(switches()).toEqual(["cloud-b"]));
+});
+
+it("a click on a row WITHOUT a key only opens its key field — no switch, no warning", () => {
+ const { onActivateOptimistic } = renderTier([
+ brainCard({ active: true }),
+ brainCard({ id: "cloud-b", label: "Cloud B", configured: false, secrets_set: {} }),
+ ]);
+
+ fireEvent.click(screen.getByTestId("provider-row-cloud-b"));
+
+ expect(screen.getByTestId("provider-body-cloud-b")).toBeTruthy();
+ expect(onActivateOptimistic).not.toHaveBeenCalled();
+ expect(switches()).toEqual([]);
+});
+
+it("a click on the open active row closes it and switches nothing", () => {
+ const { onActivateOptimistic } = renderTier([
+ brainCard({ active: true }),
+ brainCard({ id: "cloud-b", label: "Cloud B" }),
+ ]);
+ expect(screen.getByTestId("provider-body-cloud-a")).toBeTruthy();
+
+ fireEvent.click(screen.getByTestId("provider-row-cloud-a"));
+
+ expect(screen.queryByTestId("provider-body-cloud-a")).toBeNull();
+ expect(onActivateOptimistic).not.toHaveBeenCalled();
+ expect(switches()).toEqual([]);
+});
+
+it("Enter on a focused row selects it like a click", async () => {
+ renderTier([brainCard({ active: true }), brainCard({ id: "cloud-b", label: "Cloud B" })]);
+ const row = screen.getByTestId("provider-row-cloud-b");
+
+ fireEvent.keyDown(row, { key: "Enter" });
+
+ expect(screen.getByTestId("provider-body-cloud-b")).toBeTruthy();
+ await waitFor(() => expect(switches()).toEqual(["cloud-b"]));
+});
diff --git a/jarvis/ui/web/frontend/src/components/providers/ProviderTierSection.test.tsx b/jarvis/ui/web/frontend/src/components/providers/ProviderTierSection.test.tsx
index 1e30dac958..1063fd46ac 100644
--- a/jarvis/ui/web/frontend/src/components/providers/ProviderTierSection.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/providers/ProviderTierSection.test.tsx
@@ -187,12 +187,13 @@ describe("ProviderCard — dictation polish activation", () => {
cleanup();
});
- it("activates on a double click of the row, never on a single click", async () => {
+ it("activates on a single click of the row; a double click switches once", async () => {
const calls = installFetchMock();
renderCard(dictationCard());
const title = screen.getByText("OpenAI: dictation polish");
- // A real double click: click, click, dblclick — one activation.
+ // A real double click: click, click, dblclick — the first click already
+ // selected the row, the rest is ignored: one activation.
fireEvent.click(title);
fireEvent.click(title, { detail: 2 });
fireEvent.doubleClick(title);
diff --git a/jarvis/ui/web/frontend/src/components/providers/ProviderTierSection.tsx b/jarvis/ui/web/frontend/src/components/providers/ProviderTierSection.tsx
index b081e8b6a4..34357a928c 100644
--- a/jarvis/ui/web/frontend/src/components/providers/ProviderTierSection.tsx
+++ b/jarvis/ui/web/frontend/src/components/providers/ProviderTierSection.tsx
@@ -1244,16 +1244,20 @@ export function ProviderCard({
}
}
- // One click on the row opens or closes the editor body; a double click
- // activates the provider — the same path as the Use control, with the same
- // guards and the same warning when a key is missing. A card that cannot be
- // switched (an agents-only brain, a Codex login that is not a brain) has no
- // double-click action. See rowGestures.ts for why a single click waits out
- // the double-click window.
+ // One click on the row selects it: the editor body opens AND the provider
+ // becomes the active one — the same path as the Use control. A click only
+ // switches when the switch would be silent: a card without a key, a card
+ // that cannot be switched (an agents-only brain, a Codex login that is not
+ // a brain) or the already-active card just opens/closes — otherwise every
+ // click to paste a key would answer with a "save a key first" warning. See
+ // rowGestures.ts for the click semantics.
const canSwitch = isBrainSwitchable && !isCodexBrain;
+ const switchesOnClick =
+ canSwitch && !descriptor.active && descriptor.configured && !activating;
const rowGestures = useRowGestures({
+ expanded,
onToggle: onToggleExpanded,
- onActivate: canSwitch ? () => void activate() : undefined,
+ onActivate: switchesOnClick ? () => void activate() : undefined,
});
// Called by ApiKeyForm as soon as a key has been saved for a previously
@@ -1325,7 +1329,7 @@ export function ProviderCard({
: !isBrainSwitchable
? t("apikeys_view.agents_only_short").replace("{0}", agentsBrand(assistantName))
: descriptor.configured
- ? t("apikeys_view.double_click_to_activate")
+ ? t("apikeys_view.click_to_activate")
: descriptor.auth_mode === "codex"
? t("apikeys_view.needs_codex")
: descriptor.auth_mode === "antigravity"
@@ -1358,13 +1362,12 @@ export function ProviderCard({
aria-controls={collapsible ? `provider-body-${descriptor.id}` : undefined}
data-testid={`provider-row-${descriptor.id}`}
onClick={rowGestures.onClick}
- onDoubleClick={rowGestures.onDoubleClick}
onKeyDown={(e) => {
if (!collapsible) return;
if (e.target !== e.currentTarget) return;
if (e.key === "Enter" || e.key === " ") {
e.preventDefault();
- onToggleExpanded?.();
+ rowGestures.select();
}
}}
title={rowTitle}
diff --git a/jarvis/ui/web/frontend/src/components/providers/rowGestures.ts b/jarvis/ui/web/frontend/src/components/providers/rowGestures.ts
index c3ccfcdf30..0d032428c2 100644
--- a/jarvis/ui/web/frontend/src/components/providers/rowGestures.ts
+++ b/jarvis/ui/web/frontend/src/components/providers/rowGestures.ts
@@ -1,27 +1,37 @@
-import { useCallback, useEffect, useRef } from "react";
+import { useCallback } from "react";
import type React from "react";
/**
- * The two pointer gestures a provider row understands.
+ * The one pointer gesture a provider row understands: a click SELECTS it.
*
- * One click opens or closes the editor body; a double click activates the
- * provider (maintainer request 2026-08-23: "double-click a block anywhere —
- * Realtime, Tool Model, Voice, the agents — and it is selected"). The two
- * have to be told apart, because a double click is delivered as click, click,
- * dblclick: toggling on each click would flash the body open and shut (and
- * mount its panels, which poll) before the activation even fires.
+ * Selecting means two things at once — the editor body opens, and the
+ * provider becomes the active one (maintainer request 2026-08-23: "one
+ * click on a row is enough — the row that is open is the active one"; this
+ * replaced the earlier click-to-open / double-click-to-activate split, which
+ * made every switch a two-gesture affair). The "Use" control still switches
+ * without touching the body.
*
- * So a single click waits out the double-click window before it toggles, and
- * the second click of a double cancels it. The window is short enough to
- * read as immediate and long enough for a normal double click; keyboard
- * activation (Enter/Space) never waits — it is unambiguous.
+ * The caller decides whether a row can be activated by a click at all: it
+ * passes `onActivate` only for a row that would switch SILENTLY (a key is
+ * saved, the row is not already active, the tier allows the switch). A row
+ * that would only answer with a "save a key first" warning gets no
+ * `onActivate`, so clicking it just opens the key field — which is what that
+ * click was for.
+ *
+ * Click semantics, in order:
+ * closed row → open it, then activate (if it can)
+ * open row, activatable → activate, keep it open (the open row IS the
+ * active one; e.g. after a failed switch)
+ * open row, otherwise → close it
+ *
+ * A double click is delivered as click, click, dblclick; the second click
+ * (`detail >= 2`) is ignored so a quick double does not open-then-close the
+ * row. No timer, no wait: the first click acts immediately.
*
* Clicks on the row's own controls — the Use radio, a button, a link, an
* input, or anything marked `data-agent-card-control` — belong to those
* controls and are ignored here.
*/
-const DOUBLE_CLICK_WINDOW_MS = 220;
-
const CONTROL_SELECTOR =
"input, label, button, a, select, textarea, summary, [data-agent-card-control]";
@@ -30,54 +40,40 @@ export function isRowControlTarget(target: EventTarget | null): boolean {
}
export function useRowGestures({
+ expanded,
onToggle,
onActivate,
}: {
+ /** Whether the body is currently open. */
+ expanded: boolean;
/** Open/close the body; absent when the row has nothing to open. */
onToggle?: () => void;
- /** Make this provider the active one; absent when the row cannot switch. */
+ /** Make this provider the active one; absent when a click must not
+ * switch (the row is already active, cannot switch, or would only warn). */
onActivate?: () => void;
}) {
- const pending = useRef<ReturnType<typeof setTimeout> | null>(null);
-
- const cancelPending = useCallback(() => {
- if (pending.current !== null) {
- clearTimeout(pending.current);
- pending.current = null;
+ const select = useCallback(() => {
+ if (!expanded) {
+ onToggle?.();
+ onActivate?.();
+ return;
}
- }, []);
-
- // A row that unmounts mid-window (a refetch re-keyed the list) must not
- // toggle a component that no longer exists.
- useEffect(() => cancelPending, [cancelPending]);
+ if (onActivate) {
+ onActivate();
+ return;
+ }
+ onToggle?.();
+ }, [expanded, onToggle, onActivate]);
const onClick = useCallback(
(e: React.MouseEvent) => {
if (isRowControlTarget(e.target)) return;
- // The second click of a double: the first one is still waiting — drop
- // it, the dblclick handler takes over.
- if (e.detail >= 2) {
- cancelPending();
- return;
- }
- if (!onToggle) return;
- cancelPending();
- pending.current = setTimeout(() => {
- pending.current = null;
- onToggle();
- }, DOUBLE_CLICK_WINDOW_MS);
- },
- [onToggle, cancelPending],
- );
-
- const onDoubleClick = useCallback(
- (e: React.MouseEvent) => {
- if (isRowControlTarget(e.target)) return;
- cancelPending();
- onActivate?.();
+ // The second click of a double: the first already selected the row.
+ if (e.detail >= 2) return;
+ select();
},
- [onActivate, cancelPending],
+ [select],
);
- return { onClick, onDoubleClick };
+ return { onClick, select };
}
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/de.json b/jarvis/ui/web/frontend/src/i18n/locales/de.json
index 66bb794773..3cf1da73a3 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/de.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/de.json
@@ -1613,7 +1613,7 @@
"model_picker_activate_hint": "Aktiviere diesen Provider, um seine Stimme oder sein Modell zu wählen.",
"active_tooltip": "Bereits aktiv",
"click_to_activate": "Klick aktiviert diesen Provider",
- "double_click_to_activate": "Doppelklick aktiviert diesen Provider · Klick öffnet die Einstellungen",
+ "click_to_activate": "Klick aktiviert diesen Provider und öffnet die Einstellungen",
"provider_active": "Aktiv",
"provider_set_active": "Aktivieren",
"provider_activating": "Wird aktiviert…",
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/en.json b/jarvis/ui/web/frontend/src/i18n/locales/en.json
index 798fac697a..3a17f02602 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/en.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/en.json
@@ -1613,7 +1613,7 @@
"model_picker_activate_hint": "Activate this provider to choose its voice or model.",
"active_tooltip": "Already active",
"click_to_activate": "Click to activate this provider",
- "double_click_to_activate": "Double-click to activate this provider · click to open its settings",
+ "click_to_activate": "Click to activate this provider and open its settings",
"provider_active": "Active",
"provider_set_active": "Set active",
"provider_activating": "Activating…",
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/es.json b/jarvis/ui/web/frontend/src/i18n/locales/es.json
index 87c7538cce..19871ab2bb 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/es.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/es.json
@@ -1613,7 +1613,7 @@
"model_picker_activate_hint": "Activa este proveedor para elegir su voz o modelo.",
"active_tooltip": "Ya activo",
"click_to_activate": "Clic para activar este proveedor",
- "double_click_to_activate": "Doble clic para activar este proveedor · clic para abrir sus ajustes",
+ "click_to_activate": "Clic para activar este proveedor y abrir sus ajustes",
"provider_active": "Activo",
"provider_set_active": "Activar",
"provider_activating": "Activando…",
diff --git a/jarvis/ui/web/frontend/src/views/ApiKeysView.antigravity.test.tsx b/jarvis/ui/web/frontend/src/views/ApiKeysView.antigravity.test.tsx
index 91cf58cdd8..786fd3d843 100644
--- a/jarvis/ui/web/frontend/src/views/ApiKeysView.antigravity.test.tsx
+++ b/jarvis/ui/web/frontend/src/views/ApiKeysView.antigravity.test.tsx
@@ -296,9 +296,8 @@ describe("ApiKeysView — Antigravity (Google subscription) OAuth card", () => {
screen.getByText("Connect"),
);
expect((connectBtn.closest("button") as HTMLButtonElement).disabled).toBe(true);
- // The install hint sits in the row body; open the row first. A single
- // click waits out the double-click window before it opens (a double click
- // activates), so the hint arrives a beat later.
+ // The install hint sits in the row body; open the row first. The row
+ // has no login yet, so the click only opens it — no switch.
fireEvent.click(screen.getByText("Antigravity"));
expect(
await screen.findByText("Install Antigravity or the Gemini CLI before connecting."),