Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Settings search keeps Simple mode: an Advanced setting opens in place, marked (#7309)
Milind Soni5987204e33d1
diff --git a/src/components/PhoneDevicesSection.page.test.ts b/src/components/PhoneDevicesSection.page.test.tsindex 35ff6a7e75..96a95cbdb7 100644--- a/src/components/PhoneDevicesSection.page.test.ts+++ b/src/components/PhoneDevicesSection.page.test.ts@@ -71,6 +71,13 @@ describe("Phone & devices", () => {expect(html).toMatch(/data-settings-disclosure="more-ways"[\s\S]*?aria-expanded="false"/);});+ it("in Simple, opens More ways in, marked as an Advanced setting, only when search or a link asks for it", () => {+ const asked = renderToStaticMarkup(createElement(PhoneDevicesSection, { simple: true, moreWaysAsked: true }));+ expect(asked).toMatch(/data-settings-block="more-ways"[\s\S]*?aria-expanded="true"[\s\S]*?Advanced setting[\s\S]*?data-route-row="tailscale"/);+ expect(page(true)).not.toContain("more-ways");+ expect(page(false)).not.toContain("Advanced setting");+ });+it("shows each route on since its date as a switch, and lists paired phones with Pair a phone beside the list", () => {f.state = state({ routes: routes({ wifi: true, tailscale: true }) });let html = page(true);diff --git a/src/components/PhoneDevicesSection.tsx b/src/components/PhoneDevicesSection.tsxindex 04b01d711e..6cabe27a6d 100644--- a/src/components/PhoneDevicesSection.tsx+++ b/src/components/PhoneDevicesSection.tsx@@ -27,6 +27,7 @@ import { RemoteAccessCheckRow } from "./RemoteAccessCheck";import { LearnMore, SettingRow, SettingsFoldRow, SettingsGroup, SettingsLinkRow, SettingsRows, Switch } from "./SettingsPrimitives";import { Layer } from "./Layer";import { DialogTitle } from "./settings/SettingsDialog";+import { AdvancedSettingTag } from "./settings/AdvancedSection";export { DialogTitle };import { productName } from "../lib/brand";import { useStore } from "@/state/store";@@ -386,8 +387,10 @@ export function reachLine(state: Pick<CompanionState, "routes">): string {return t("devices.reach.line", { ways: new Intl.ListFormat(undefined, { type: "conjunction" }).format(ways) });}-export function PhoneDevicesSection({ profileEmail = "", focusRequest = 0, simple = false, placeName = t("rail.thisComputer"), top = null }: {+export function PhoneDevicesSection({ profileEmail = "", focusRequest = 0, simple = false, moreWaysAsked = false, placeName = t("rail.thisComputer"), top = null }: {profileEmail?: string; focusRequest?: number; simple?: boolean; placeName?: string;+ /** search or a link asked for More ways in, which Simple leaves out until Tailscale or HTTPS is on */+ moreWaysAsked?: boolean;/** what leads the page: the door to pairing with My Cloud, when there is one */top?: React.ReactNode;}) {@@ -439,9 +442,10 @@ export function PhoneDevicesSection({ profileEmail = "", focusRequest = 0, simplconst httpsOn = state.routes?.https?.on === true;const hosted = state.endpoints?.find((endpoint) => endpoint.kind === "hosted");const anyRoute = companionRoutesOn(state);- const reachOpen = showRoutes || pairedCount > 0 || anyRoute;- const moreWays = !simple || tailscaleOn || httpsOn;- const moreOpen = moreOpenAsked ?? (tailscaleOn || httpsOn);+ const reachOpen = showRoutes || pairedCount > 0 || anyRoute || moreWaysAsked;+ const moreWaysPeek = simple && moreWaysAsked && !tailscaleOn && !httpsOn;+ const moreWays = !simple || tailscaleOn || httpsOn || moreWaysPeek;+ const moreOpen = moreOpenAsked ?? (tailscaleOn || httpsOn || moreWaysPeek);const pairAgain = c.busy || remoteBlocked ? undefined : () => setPairing("device");const pairButton = (<button type="button" aria-disabled={c.busy || Boolean(remoteBlocked) || undefined} disabled={c.busy} title={managedBy ?? undefined}@@ -492,8 +496,8 @@ export function PhoneDevicesSection({ profileEmail = "", focusRequest = 0, simplonClick={() => void c.act((companion) => companion.keepAwake(!state.keepAwake))} /></SettingRow><RemoteAccessCheckRow account={c.account} state={state} />- {moreWays && (- <SettingsFoldRow id="more-ways" title={t("devices.moreWays")} open={moreOpen} onToggle={() => setMoreOpen(!moreOpen)}>+ {moreWays && <div data-settings-block="more-ways" className="contents">+ <SettingsFoldRow id="more-ways" title={t("devices.moreWays")} value={moreWaysPeek ? <AdvancedSettingTag /> : undefined} open={moreOpen} onToggle={() => setMoreOpen(!moreOpen)}><SettingRow title="Tailscale" subtitle={<>{t("remote.tailscaleSwitch.short", { app: productName() })}{" "}<LearnMore href={TAILSCALE_HELP} /></>}message={tailscaleStatus.kind !== "off" ? <span data-tailscale-status={tailscaleStatus.kind} aria-live="polite">{tailscaleStatus.title}{tailscaleStatus.detail ? ` ${tailscaleStatus.detail}` : ""}</span> : undefined}><span data-route-row="tailscale" className="contents">@@ -520,7 +524,7 @@ export function PhoneDevicesSection({ profileEmail = "", focusRequest = 0, simpl</span></SettingRow>}</SettingsFoldRow>- )}+ </div>}</SettingsRows></SettingsGroup>)}diff --git a/src/components/SettingsModal.search.test.ts b/src/components/SettingsModal.search.test.tsindex 7d9263ad59..8d4f0cabf6 100644--- a/src/components/SettingsModal.search.test.ts+++ b/src/components/SettingsModal.search.test.ts@@ -82,12 +82,12 @@ describe("Settings search in Simple mode", () => {expect(document.querySelector("[data-settings-hit]")!.textContent).toContain("Phone & devices");});- it("tags an Advanced row from Simple; choosing it turns Advanced mode on and lands on the row", () => {+ it("tags an Advanced row from Simple; choosing it lands on the row and Simple mode stays on", () => {type("parallel threads");const hit = document.querySelector<HTMLButtonElement>('[data-settings-hit="parallel"]')!;expect(hit.textContent).toContain("Advanced");flushSync(() => hit.click());- expect(vi.mocked(setAdvancedMode)).toHaveBeenCalledWith(true);+ expect(vi.mocked(setAdvancedMode)).not.toHaveBeenCalled();expect(fixture.dispatch).toHaveBeenCalledWith({ type: "toggleAppSettings", open: true, section: "bots" });});diff --git a/src/components/settings/AdvancedSection.tsx b/src/components/settings/AdvancedSection.tsxindex 83859cf415..b85f4fd193 100644--- a/src/components/settings/AdvancedSection.tsx+++ b/src/components/settings/AdvancedSection.tsx@@ -1,11 +1,39 @@import type { ReactNode } from "react";+import { t } from "@/lib/i18n";+import { SettingsTag } from "../SettingsPrimitives";+import { pageById } from "./settings-index";import { useSettingsShell } from "./settings-shell";-/** A section Advanced mode adds. Search, a link or a notice that asks for it from Simple turns Advanced mode on (the- * window does that), so it shows the moment it is asked for, and never with a note of its own. */+export function AdvancedSettingTag() {+ return <SettingsTag>{t("settings.advancedSetting")}</SettingsTag>;+}++function Marked({ anchor, children }: { anchor: string; children: ReactNode }) {+ return (+ <div data-settings-peek={anchor} className="flex flex-col gap-2">+ <div className="px-4"><AdvancedSettingTag /></div>+ {children}+ </div>+ );+}++function useAsked(anchor: string, also: string[]) {+ const { ctx, page, anchor: asked } = useSettingsShell();+ return { ctx, listed: pageById(page).when(ctx), asked, matches: asked === anchor || Boolean(asked && also.includes(asked)) };+}++/** A section Advanced mode adds. In Simple it shows only while search, a link or a notice asks for it, marked as+ * an Advanced setting, and the app stays in Simple mode. */export function AdvancedSection({ anchor, also = [], children }: { anchor: string; also?: string[]; children: ReactNode }) {- const { ctx, anchor: asked } = useSettingsShell();+ const { ctx, matches } = useAsked(anchor, also);if (ctx.advanced) return <>{children}</>;- if (asked !== anchor && !(asked && also.includes(asked))) return null;- return <>{children}</>;+ return matches ? <Marked anchor={anchor}>{children}</Marked> : null;+}++/** A section of a page only Advanced lists. Opened from Simple at one section, only that section shows, marked;+ * opened as a page, the page shows whole. */+export function AdvancedPagePart({ anchor, also = [], children }: { anchor: string; also?: string[]; children: ReactNode }) {+ const { ctx, listed, asked, matches } = useAsked(anchor, also);+ if (ctx.advanced || listed || !asked) return <>{children}</>;+ return matches ? <Marked anchor={anchor}>{children}</Marked> : null;}diff --git a/src/components/settings/SettingsPageHeader.tsx b/src/components/settings/SettingsPageHeader.tsxindex 003c596603..be5a3e766e 100644--- a/src/components/settings/SettingsPageHeader.tsx+++ b/src/components/settings/SettingsPageHeader.tsx@@ -6,6 +6,7 @@ import { desktopAppVersion } from "@/lib/app-links";import { versionLine, type SettingsPlace } from "./settings-context";import type { SettingsContext, SettingsPage } from "./settings-index";import { AppIcon, PlaceBadge, YouAvatar, pageLabel } from "./SettingsNav";+import { AdvancedSettingTag } from "./AdvancedSection";const INTRO: Partial<Record<SettingsPage["id"], Parameters<typeof t>[0]>> = {bots: "settings.bots.intro",@@ -54,8 +55,10 @@ export function ScopeLine({ page, ctx, place }: { page: SettingsPage; ctx: Setti);}-export function SettingsPageHeader({ page, ctx, place, narrow, missing }: {+export function SettingsPageHeader({ page, ctx, place, narrow, missing, peek = false }: {page: SettingsPage; ctx: SettingsContext; place: SettingsPlace; narrow: boolean; missing?: string;+ /** a page only Advanced lists, opened whole from Simple */+ peek?: boolean;}) {// A browser has no updates of its own, so its This app intro leaves them out.const intro = page.id !== "app" ? INTRO[page.id]@@ -65,7 +68,13 @@ export function SettingsPageHeader({ page, ctx, place, narrow, missing }: {return (// No fill and not sticky: on a glass skin any opaque fill reads as a white block over the sheet.<header data-settings-header="" className={cn("flex flex-col gap-1 pb-5", narrow ? "px-8 pt-1" : "pl-4 pt-4")}>- {!narrow && <h2 id="settings-page-title" className="truncate text-[17px] font-semibold leading-6 tracking-[-0.01em] text-ink">{title}</h2>}+ {!narrow && (+ <div className="flex min-w-0 items-center gap-2">+ <h2 id="settings-page-title" className="truncate text-[17px] font-semibold leading-6 tracking-[-0.01em] text-ink">{title}</h2>+ {peek && <AdvancedSettingTag />}+ </div>+ )}+ {narrow && peek && <div className="flex"><AdvancedSettingTag /></div>}<ScopeLine page={page} ctx={ctx} place={place} />{intro && <p data-settings-intro={intro} className="text-[13px] leading-[18px] text-ink-secondary">{t(intro, { place: place.name, app: productName() })}</p>}{missing && <p role="status" className="text-[13px] leading-[18px] text-ink-secondary">{t("settings.missingHere", { page: missing, place: place.name })}</p>}diff --git a/src/components/settings/SettingsWindow.peek.dom.test.ts b/src/components/settings/SettingsWindow.peek.dom.test.tsnew file mode 100644index 0000000000..cd5c689dfc--- /dev/null+++ b/src/components/settings/SettingsWindow.peek.dom.test.ts@@ -0,0 +1,138 @@+// @vitest-environment happy-dom+// Simple mode, the real Settings window in a browser tab: search and links reach Advanced settings without leaving Simple.+import { createElement } from "react";+import { flushSync } from "react-dom";+import { createRoot, type Root } from "react-dom/client";+import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";+import { setLocale } from "@/lib/i18n";+import type { AppSettingsSection } from "@/state/store";++const fx = vi.hoisted(() => ({+ section: "overview" as AppSettingsSection,+ listeners: new Set<() => void>(),+ dispatch: vi.fn(),+ setAdvancedMode: vi.fn(),+}));+const { marker } = vi.hoisted(() => ({ marker: (name: string) => () => `MARKER:${name};` }));++vi.mock("@/state/store", async (original) => {+ const actual = await original<typeof import("@/state/store")>();+ const { useSyncExternalStore } = await import("react");+ const subscribe = (listener: () => void) => { fx.listeners.add(listener); return () => { fx.listeners.delete(listener); }; };+ return {+ ...actual,+ api: () => new Promise(() => {}),+ useStore: () => {+ const section = useSyncExternalStore(subscribe, () => fx.section);+ return { state: { ...actual.initialState, appSettingsSection: section, config: { composio: { configured: false } }, instances: [], bots: [] }, dispatch: fx.dispatch };+ },+ };+});+vi.mock("@/lib/interface-mode", () => ({ useAdvancedMode: () => false, setAdvancedMode: fx.setAdvancedMode }));+vi.mock("@/lib/analytics", () => ({ analyticsEnabled: () => false, setAnalyticsEnabled: vi.fn(), track: vi.fn() }));+vi.mock("@/lib/use-owner-or-admin", () => ({ useOwnerOrAdmin: () => true }));+vi.mock("../DesktopCapabilities", () => ({ useDesktopCapabilities: () => ({ capabilities: {} }) }));+vi.mock("../EnginesSettings", () => ({ EnginesSettings: marker("engines") }));+vi.mock("../keys/KeysPage", () => ({ KeysPage: marker("keys") }));+vi.mock("../AutomaticRecoverySettings", () => ({ AutomaticRecoverySettings: marker("backup-model") }));+vi.mock("../DecisionModelSettings", () => ({ DecisionModelSettings: marker("routing") }));+vi.mock("../ImageGenerationSettings", () => ({ ImageGenerationSettings: marker("images") }));+vi.mock("../CustomDomainSettings", () => ({ CustomDomainSettings: () => null }));+vi.mock("../WindowPlaceTitle", () => ({ useWindowPlace: () => null, windowPlaceName: () => "This computer" }));++const { SettingsModal } = await import("../SettingsModal");++let host: HTMLDivElement;+let root: Root;++const field = () => document.querySelector<HTMLInputElement>("[data-settings-search]")!;+const hit = (id: string) => document.querySelector<HTMLButtonElement>(`[data-settings-hit="${id}"]`)!;+const body = () => document.querySelector<HTMLElement>("[data-settings-page-body]")!;+const header = () => document.querySelector<HTMLElement>("[data-settings-header]")!;++function search(value: string) {+ flushSync(() => {+ Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, "value")!.set!.call(field(), value);+ field().dispatchEvent(new Event("input", { bubbles: true }));+ });+}++beforeEach(() => {+ setLocale("en");+ fx.section = "overview";+ fx.dispatch.mockReset();+ fx.setAdvancedMode.mockReset();+ fx.dispatch.mockImplementation((action: { type: string; section?: AppSettingsSection }) => {+ if (action.type === "toggleAppSettings" && action.section) fx.section = action.section;+ for (const listener of Array.from(fx.listeners)) listener();+ });+ vi.stubGlobal("ogb", undefined);+ vi.stubGlobal("fetch", () => new Promise(() => {}));+ host = document.createElement("div");+ document.body.append(host);+ root = createRoot(host);+});+afterEach(() => {+ flushSync(() => root.unmount());+ host.remove();+ vi.unstubAllGlobals();+});++describe("an Advanced setting found from Simple", () => {+ it("opens on its page, marked, and Simple mode stays on; clearing the search puts it away", async () => {+ flushSync(() => root.render(createElement(SettingsModal)));+ search("routing");+ expect(hit("routing").textContent).toContain("Advanced");+ flushSync(() => hit("routing").click());+ expect(fx.section).toBe("ai");+ await vi.waitFor(() => expect(body().textContent).toContain("MARKER:routing;"));+ const peek = document.querySelector<HTMLElement>('[data-settings-peek="routing"]')!;+ expect(peek.textContent).toContain("Advanced setting");+ expect(body().textContent).not.toContain("MARKER:backup-model;");+ expect(body().textContent).not.toContain("MARKER:images;");+ expect(fx.setAdvancedMode).not.toHaveBeenCalled();++ search("");+ expect(body().textContent).not.toContain("MARKER:routing;");+ expect(fx.section).toBe("ai");+ expect(fx.setAdvancedMode).not.toHaveBeenCalled();+ });++ it("opens a row on a page only Advanced lists with just its section, marked, and clearing the search goes back to Overview", async () => {+ flushSync(() => root.render(createElement(SettingsModal)));+ search("analytics");+ flushSync(() => hit("analytics").click());+ expect(fx.section).toBe("general");+ await vi.waitFor(() => expect(document.querySelector('[data-settings-peek="privacy"]')?.textContent).toContain("Advanced setting"));+ expect(body().querySelector('[data-settings-block="privacy"]')).not.toBeNull();+ expect(body().querySelector('[data-settings-block="typing"]')).toBeNull();+ expect(body().querySelector('[data-settings-block="notifications"]')).toBeNull();+ expect(header().textContent).not.toContain("Advanced setting");+ expect(document.querySelector('[data-settings-page="general"]')).toBeNull();+ expect(fx.setAdvancedMode).not.toHaveBeenCalled();++ search("");+ expect(fx.section).toBe("overview");+ expect(document.querySelector("[data-settings-peek]")).toBeNull();+ });++ it("opens a page only Advanced lists whole, at its Simple level, with the mark beside its title", async () => {+ flushSync(() => root.render(createElement(SettingsModal)));+ search("general");+ flushSync(() => hit("page:general").click());+ await vi.waitFor(() => expect(body().getAttribute("data-settings-page-body")).toBe("general"));+ expect(header().textContent).toContain("Advanced setting");+ for (const block of ["typing", "notifications", "privacy"]) expect(body().querySelector(`[data-settings-block="${block}"]`)).not.toBeNull();+ expect(document.querySelector("[data-settings-peek]")).toBeNull();+ expect(fx.setAdvancedMode).not.toHaveBeenCalled();+ });++ it("shows only what a link asks for: Decision and extraction, not the rest of AI's Advanced sections", async () => {+ fx.section = "decisionModel";+ flushSync(() => root.render(createElement(SettingsModal)));+ await vi.waitFor(() => expect(body().textContent).toContain("MARKER:routing;"));+ expect(document.querySelector('[data-settings-peek="routing"]')?.textContent).toContain("Advanced setting");+ expect(body().textContent).not.toContain("MARKER:backup-model;");+ expect(fx.setAdvancedMode).not.toHaveBeenCalled();+ });+});diff --git a/src/components/settings/SettingsWindow.test.ts b/src/components/settings/SettingsWindow.test.tsindex b8e95d684f..e5fb0a02ba 100644--- a/src/components/settings/SettingsWindow.test.ts+++ b/src/components/settings/SettingsWindow.test.ts@@ -102,10 +102,15 @@ describe("the Settings window", () => {expect(render("app")).not.toContain('data-settings-block="typing"');});- it("turns Advanced on for a link to a page Simple doesn't show, and lands there", () => {+ it("lands a link to a page Simple doesn't list there, marked as an Advanced setting, and stays in Simple", () => {fixture.advanced = false;- expect(render("general")).toMatch(/data-settings-page-open="general"/);+ const general = render("general");+ expect(general).toMatch(/data-settings-page-open="general"/);+ expect(general).toMatch(/data-settings-header[\s\S]*?Advanced setting/);+ expect(general).not.toContain("data-settings-advanced=");expect(render("activity")).toMatch(/data-settings-page-open="data"/);+ expect(render("appearance")).not.toContain("Advanced setting");+ expect(fixture.setAdvancedMode).not.toHaveBeenCalled();});const order = (html: string, marks: string[]) => marks.map((mark) => html.indexOf(mark));diff --git a/src/components/settings/SettingsWindow.tsx b/src/components/settings/SettingsWindow.tsxindex 18a2546d82..9ccd8cda65 100644--- a/src/components/settings/SettingsWindow.tsx+++ b/src/components/settings/SettingsWindow.tsx@@ -73,8 +73,6 @@ export function SettingsWindow() {});return () => window.cancelAnimationFrame(frame);}, [anchor, target.page]);- // A link, a notice or a search result that asks for what only Advanced mode shows turns Advanced on and lands there.- useEffect(() => { if (target.advanced) setAdvancedMode(true); }, [target.advanced]);useEffect(() => window.ogb?.onOpenAppSettings?.(() => setQuery("")), []);useEffect(markOpened, []);@@ -98,9 +96,15 @@ export function SettingsWindow() {if (entry.jump === "shortcuts") { close(); dispatch({ type: "toggleShortcuts", open: true }); return; }if (entry.jump === "bot") { close(); return; }if (hit.elsewhere) { computer.open?.(); return; }- if (hit.advanced || needsAdvanced({ page: entry.page, anchor: entry.anchor }, ctx)) setAdvancedMode(true);go(entry.page, entry.anchor);};+ /** Clearing the search puts away an Advanced setting it showed in Simple. */+ const search = (next: string) => {+ setQuery(next);+ if (next.trim() || ctx.advanced) return;+ if (!page.when(ctx)) dispatch({ type: "toggleAppSettings", open: true, section: "overview" });+ else if (anchor && needsAdvanced({ page: target.page, anchor }, ctx)) setAnchor(null);+ };/** Turning Advanced off on a page Simple doesn't show lands on the place's Overview; anywhere else it stays put. */const setAdvanced = (on: boolean) => {if (!on && !pageById(target.page).when({ ...ctx, advanced: false })) dispatch({ type: "toggleAppSettings", open: true, section: "overview" });@@ -182,7 +186,7 @@ export function SettingsWindow() {<div className="flex min-h-0 flex-1">{(!narrow || showList) && (<SettingsNav ctx={ctx} place={place} pages={pages} current={narrow ? null : target.page} query={query} hits={hits} narrow={narrow}- onQuery={setQuery} onOpen={(next) => go(next)} onHit={openHit} keyHits={keyHits} onKey={openKey} onClose={close} onAdvanced={setAdvanced} />+ onQuery={search} onOpen={(next) => go(next)} onHit={openHit} keyHits={keyHits} onKey={openKey} onClose={close} onAdvanced={setAdvanced} />)}{(!narrow || !showList) && (<div className="relative flex min-h-0 min-w-0 flex-1 flex-col">@@ -190,7 +194,7 @@ export function SettingsWindow() {<div ref={scrollRef} data-settings-scroll data-settings-content=""className={cn("settings-scroll min-h-0 flex-1 overflow-y-auto [scrollbar-gutter:stable]", narrow ? "pb-12" : "pb-12 pl-8 pr-16")}><div className={cn("flex max-w-[640px] flex-col", narrow && "max-w-none")}>- <SettingsPageHeader page={page} ctx={ctx} place={place} narrow={narrow} missing={missing} />+ <SettingsPageHeader page={page} ctx={ctx} place={place} narrow={narrow} missing={missing} peek={!ctx.advanced && !page.when(ctx) && !anchor} /><div key={target.page} data-settings-page-body={target.page} className={cn("flex flex-col gap-6", narrow && "px-4")}><LicenseExpiryBanner config={config} />{page.owner === "place" && config === nulldiff --git a/src/components/settings/pages/AppPages.tsx b/src/components/settings/pages/AppPages.tsxindex aa4108c369..de1372e865 100644--- a/src/components/settings/pages/AppPages.tsx+++ b/src/components/settings/pages/AppPages.tsx@@ -30,6 +30,7 @@ import { versionLine } from "../settings-context";import { useSettingsShell } from "../settings-shell";import { PlaceBadge } from "../SettingsNav";import { InertRow, useSwitchToComputer } from "../inert";+import { AdvancedPagePart, AdvancedSection } from "../AdvancedSection";import { useOtherPlaces } from "../settings-context";/** A row this page can't change because it lives on This computer: not on the app's own home page (main's home:page). */@@ -121,26 +122,26 @@ function PlacesFromHere() {export function GeneralPage() {const { ctx, place, go } = useSettingsShell();return <>- <SettingsGroup label={t("settings.simple.group.typing")} block="typing">+ <AdvancedPagePart anchor="typing"><SettingsGroup label={t("settings.simple.group.typing")} block="typing"><SettingsRows selectWidth={208}><LanguageRow simple /><SendKeyRow simple /><FollowUpRow simple />{window.ogb?.talkShortcut ? <TalkShortcutRow /> : elsewhere(window.ogb?.talkShortcut, ctx) && ctx.cloud ? <InertRow title={t("settings.search.talk")} control={<span className="text-[13px] leading-5 text-ink-secondary">{t("settings.general.talkOff")}</span>} /> : null}</SettingsRows>- </SettingsGroup>- <SettingsGroup label={t("notifications.title")} block="notifications"+ </SettingsGroup></AdvancedPagePart>+ <AdvancedPagePart anchor="notifications"><SettingsGroup label={t("notifications.title")} block="notifications"footnote={!ctx.client && <>{t("settings.general.awayEmails")}{" "}<button type="button" className="cursor-pointer text-accent-text hover:underline" onClick={() => go("bots", "about-you")}>{`${place.name} › ${t("settings.page.bots")}`}</button></>}><SettingsRows><NotificationRows simple /></SettingsRows>- </SettingsGroup>+ </SettingsGroup></AdvancedPagePart>{ctx.desktop && !ctx.client && (- <SettingsGroup label={t("settings.general.startup")} block="startup">+ <AdvancedPagePart anchor="startup"><SettingsGroup label={t("settings.general.startup")} block="startup"><SettingsRows>{window.ogb?.openAtLogin ? <OpenAtLoginRow simple /> : <InertRow title={t("settings.openAtLogin.title")} control={<Switch checked={false} tabIndex={-1} aria-label={t("settings.openAtLogin.title")} />} />}</SettingsRows>- </SettingsGroup>+ </SettingsGroup></AdvancedPagePart>)}- <SettingsGroup label={t("settings.general.privacy")} block="privacy">+ <AdvancedPagePart anchor="privacy"><SettingsGroup label={t("settings.general.privacy")} block="privacy"><SettingsRows><AnalyticsRow simple /></SettingsRows>- </SettingsGroup>+ </SettingsGroup></AdvancedPagePart></>;}@@ -176,16 +177,16 @@ export function AppearancePage() {</SettingsRows></SettingsGroup>{/* Simple keeps the Look card and Tool calls; the window's layout is Advanced. */}- {ctx.advanced && <SettingsGroup label={t("settings.appearance.layout")} block="appearance">+ <AdvancedSection anchor="appearance"><SettingsGroup label={t("settings.appearance.layout")} block="appearance"><SettingsRows><ChromeRailRow /><WindowFrameRow />- {ctx.advanced && <ShowThreadsRow />}- {ctx.advanced && <SidebarToolsLayoutRow />}- {ctx.advanced && <PinnedCirclesRow />}- {ctx.advanced && <UniversalPinsRow />}+ <ShowThreadsRow />+ <SidebarToolsLayoutRow />+ <PinnedCirclesRow />+ <UniversalPinsRow /></SettingsRows>- </SettingsGroup>}+ </SettingsGroup></AdvancedSection>{ctx.advanced && <PinnedPanelsSettings />}</>;}diff --git a/src/components/settings/pages/DataPages.tsx b/src/components/settings/pages/DataPages.tsxindex e05b9019de..1cef2b8cf5 100644--- a/src/components/settings/pages/DataPages.tsx+++ b/src/components/settings/pages/DataPages.tsx@@ -12,6 +12,7 @@ import { UsageSection } from "../../UsageSection";import { VaultSettings } from "../../VaultSettings";import { WorkspaceBackupSettings } from "../../WorkspaceBackupSettings";import { WorkspacesSection } from "../../WorkspacesSection";+import { AdvancedPagePart } from "../AdvancedSection";import { useSettingsShell } from "../settings-shell";import { MoveSection } from "./PlacePages";@@ -41,11 +42,11 @@ export function ImportExportPage() {export function DataPage() {const { ctx } = useSettingsShell();return <>- <SettingsGroup label={t("settings.data.storage")} block="storage">+ <AdvancedPagePart anchor="storage"><SettingsGroup label={t("settings.data.storage")} block="storage"><SettingsRows><AttachmentStorageSettings /></SettingsRows>- </SettingsGroup>+ </SettingsGroup></AdvancedPagePart>{ctx.advanced && <ThreadCleanupSettings />}- {!ctx.desktop && ctx.admin && <ActivitySection />}+ {!ctx.desktop && ctx.admin && <AdvancedPagePart anchor="activity"><ActivitySection /></AdvancedPagePart>}</>;}diff --git a/src/components/settings/pages/PhonePage.tsx b/src/components/settings/pages/PhonePage.tsxindex ce4f684346..3861bf779a 100644--- a/src/components/settings/pages/PhonePage.tsx+++ b/src/components/settings/pages/PhonePage.tsx@@ -61,11 +61,11 @@ function OtherPlaces() {}export function PhonePage() {- const { ctx, place } = useSettingsShell();+ const { ctx, place, anchor } = useSettingsShell();const focus = useStoreSelector((state) => state.appSettingsPhonePairing), config = useStoreSelector((state) => state.config);return <>{ctx.here- ? <PhoneDevicesSection profileEmail={config?.profile?.email} focusRequest={focus} simple={!ctx.advanced} placeName={place.name} top={<PairWithCloud />} />+ ? <PhoneDevicesSection profileEmail={config?.profile?.email} focusRequest={focus} simple={!ctx.advanced} moreWaysAsked={anchor === "more-ways"} placeName={place.name} top={<PairWithCloud />} />: <ServerPairingCard cloudHome={ctx.cloud} focusRequest={focus} team={config?.team?.name} placeName={place.name} simple={!ctx.advanced}teamPhoneBlocked={config?.managedPolicy?.remoteAccess === false ? t("policy.teamRemoteBlocked", { organization: config.managedPolicy.organizationName }) : null} />}<OtherPlaces />diff --git a/src/components/settings/pages/PlacePages.tsx b/src/components/settings/pages/PlacePages.tsxindex a943303abe..01ce68bc08 100644--- a/src/components/settings/pages/PlacePages.tsx+++ b/src/components/settings/pages/PlacePages.tsx@@ -40,7 +40,7 @@ import { BrowserProfilesRow, ExperimentalFeaturesRow, NewBotEffortRow } from "..import { ServerUpdateRow } from "../../ServerUpdateRow";import { versionLine } from "../settings-context";import { useSettingsShell } from "../settings-shell";-import { AdvancedSection } from "../AdvancedSection";+import { AdvancedPagePart, AdvancedSection } from "../AdvancedSection";const GROUPED_NOTE = "omb-settings-grouped-note";const GROUPED_DAYS = 30;@@ -103,7 +103,7 @@ export function OverviewPage() {{ctx.desktop && ctx.cloud && team && team.cloudPage && <div data-settings-block="people-and-plan"><TeamPeopleCard team={team} admin={ctx.admin} owner={teamOwner} /></div>}{/* Address: a self-hosted server's own web address, Advanced only. A Cloud's address is MausBot's to manage, so ithas none here (no administrator or proxy steps for a person who has no server to set up). */}- {place.kind === "server" && !ctx.client && ctx.advanced && <CustomDomainSettings />}+ {place.kind === "server" && !ctx.client && <AdvancedSection anchor="address"><CustomDomainSettings /></AdvancedSection>}</>;}@@ -156,17 +156,17 @@ export function BotsPage() {const config = useStoreSelector((state) => state.config);const paused = (config?.pausedBots?.length ?? 0) > 0;return <>- {paused && <SettingsGroup block="awake"><SettingsRows><SettingRow title={t("settings.bots.awakeTitle")} subtitle={t("settings.bots.awakeLine")}><PausedBotsButton /></SettingRow></SettingsRows></SettingsGroup>}- <SettingsGroup label={t("settings.bots.aboutYou")} block="about-you"+ {paused && <AdvancedPagePart anchor="awake"><SettingsGroup block="awake"><SettingsRows><SettingRow title={t("settings.bots.awakeTitle")} subtitle={t("settings.bots.awakeLine")}><PausedBotsButton /></SettingRow></SettingsRows></SettingsGroup></AdvancedPagePart>}+ <AdvancedPagePart anchor="about-you"><SettingsGroup label={t("settings.bots.aboutYou")} block="about-you"footnote={ctx.here || !ctx.desktop ? t("settings.bots.aboutYouHome", { app: productName() }) : undefined}><div className="flex flex-col gap-2"><Card><ProfileFields /></Card><SettingsRows><DisplayNameSetting /><AwayEmailsSetting row /></SettingsRows></div>- </SettingsGroup>- <SettingsGroup label={t("settings.bots.newBots")} block="new-bots">+ </SettingsGroup></AdvancedPagePart>+ <AdvancedPagePart anchor="new-bots"><SettingsGroup label={t("settings.bots.newBots")} block="new-bots"><SettingsRows><NewBotEffortRow /><DefaultBotSettings simple /></SettingsRows>- </SettingsGroup>+ </SettingsGroup></AdvancedPagePart>{!(ctx.team && !ctx.admin) && <AdvancedSection anchor="remote-teammates"><AdminOnly><RemoteTeammatesSettings /></AdminOnly></AdvancedSection>}{!(ctx.team && !ctx.admin) && <AdvancedSection anchor="limits" also={["parallel", "group-turns", "tool-time", "keep-warm"]}><SettingsGroup label={t("settings.simple.more.limits")} block="limits"><SettingsRows selectWidth={160}>@@ -176,7 +176,7 @@ export function BotsPage() {<div data-settings-block="keep-warm" className="contents"><CacheKeepWarmSettings /></div></SettingsRows></SettingsGroup></AdvancedSection>}- {skillsLibraryEnabled(config) && <div data-settings-block="skills"><SkillsSection /></div>}+ {skillsLibraryEnabled(config) && <AdvancedPagePart anchor="skills"><div data-settings-block="skills"><SkillsSection /></div></AdvancedPagePart>}<AdvancedSection anchor="early"><div data-settings-block="early"><ExperimentalFeaturesRow /></div></AdvancedSection></>;}@@ -185,11 +185,11 @@ export function DesktopsPage() {const { ctx, anchor } = useSettingsShell();const [details, setDetails] = useState(anchor === "desktop-details");return <>- <SettingsGroup label={t("settings.desktops.browserSection")} block="browser">+ <AdvancedPagePart anchor="browser"><SettingsGroup label={t("settings.desktops.browserSection")} block="browser"><SettingsRows><BuiltInBrowserRow /><ServerSitesRow /><BrowserProxyRow />{ctx.advanced && <div data-settings-block="new-browser" className="contents"><NewBrowserSettings /></div>}</SettingsRows>- </SettingsGroup>- <AdminOnly><DesktopKinds /></AdminOnly>- <BrowserProfilesRow />+ </SettingsGroup></AdvancedPagePart>+ <AdvancedPagePart anchor="desktops"><AdminOnly><DesktopKinds /></AdminOnly></AdvancedPagePart>+ <AdvancedPagePart anchor="browser"><BrowserProfilesRow /></AdvancedPagePart>{ctx.advanced && (<AdminOnly><SettingsDisclosureRow id="desktop-details" block="desktop-details" title={t("settings.desktops.detailsTitle")} subtitle={t("settings.desktops.detailsLine")}diff --git a/src/components/settings/settings-index.ts b/src/components/settings/settings-index.tsindex 5f46429e4d..31b603fcbc 100644--- a/src/components/settings/settings-index.ts+++ b/src/components/settings/settings-index.ts@@ -141,7 +141,8 @@ export function needsAdvanced(target: SettingsTarget, ctx: SettingsContext): boo}/** Where a request for Settings lands here: its page (or Overview when that page can't exist on this place) and the- * section to scroll to. A page or row only Advanced mode shows comes back with `advanced`: opening it turns Advanced on. */+ * section to scroll to. A page or row only Advanced mode shows comes back with `advanced`: Simple shows it there,+ * marked, without turning Advanced mode on. */export function resolveSettingsTarget(requested: AppSettingsSection, ctx: SettingsContext): SettingsTarget & { missing?: SettingsPageId; advanced?: true } {const target = isSettingsPage(requested) ? { page: requested } : LEGACY_SETTINGS[requested](ctx);if (needsAdvanced(target, ctx)) return { ...target, advanced: true };@@ -196,7 +197,7 @@ export const SETTINGS_INDEX: readonly SettingsIndexEntry[] = [topFor: ["add a mac mini", "add mac mini", "add a computer", "add always-on computer"], synonyms: ["mac mini", "mini", "home server", "spare computer", "move my bots"] },{ id: "other-computers", page: "phone", anchor: "computers", labelKey: "devices.computers.title", when: hereOnly, topFor: ["tailscale", "other computers", "another computer", "other computer", "my other computer"],synonyms: ["computer", "computers", "laptop", "desktop", "mac", "pc", "share", "tailnet", "connect to a server"] },- { id: "tailscale", page: "phone", anchor: "reach", labelKey: "devices.moreWays", sectionKey: "phone.reach.title", when: hereOnly, advanced: true, synonyms: ["tailscale", "https", "tailnet"] },+ { id: "tailscale", page: "phone", anchor: "more-ways", labelKey: "devices.moreWays", sectionKey: "phone.reach.title", when: hereOnly, advanced: true, synonyms: ["tailscale", "https", "tailnet"] },{ id: "domain", page: "overview", anchor: "address", labelKey: "settings.overview.address", advanced: true, when: (ctx) => !ctx.here && !ctx.client, synonyms: ["domain", "dns", "https", "custom domain"] },{ id: "sidebar-color", page: "overview", anchor: "sidebar", labelKey: "placeLook.sidebarColor", sectionKey: "settings.overview.sidebar", synonyms: ["color", "colour", "tint", "cloud color"] },{ id: "sidebar-picture", page: "overview", anchor: "sidebar", labelKey: "placeLook.sidebarPicture", sectionKey: "settings.overview.sidebar", topFor: ["wallpaper", "background", "sidebar image"], synonyms: ["picture", "banner", "image"] },@@ -262,7 +263,7 @@ export interface SearchHit {/** the row exists only on another place on the rail */elsewhere: boolean;score: number;- /** only Advanced mode shows it: choosing it turns Advanced on */+ /** only Advanced mode lists it: choosing it shows it in Simple, marked */advanced?: boolean;}diff --git a/src/locales/de.json b/src/locales/de.jsonindex f0233f0be2..da902d9c7d 100644--- a/src/locales/de.json+++ b/src/locales/de.json@@ -4018,6 +4018,7 @@"servers.localHint": "Lokale Bots und Gespräche","servers.switch": "Wechseln","settings.advancedMode.title": "Erweiterter Modus",+ "settings.advancedSetting": "Erweiterte Einstellung","settings.deviceNotifications.show": "Benachrichtigen, wenn ein Bot fertig ist","settings.deviceNotifications.title": "Mitteilungen auf diesem Gerät","settings.domain.label": "Deine Domain",diff --git a/src/locales/en.json b/src/locales/en.jsonindex 3eab06ac46..0c2e6723fe 100644--- a/src/locales/en.json+++ b/src/locales/en.json@@ -1955,6 +1955,7 @@"settings.userBubbles.subtitle": "In a one-to-one chat, your messages are filled with a gradient of that bot's color. Rooms keep the neutral bubble.","settings.userBubbles.aria": "Color my messages with the bot's color","settings.advancedMode.title": "Advanced mode",+ "settings.advancedSetting": "Advanced setting","settings.advancedMode.subtitle": "Show every technical control on this device: usage and tokens, the inspector and other tools for builders. Turn it off for a simpler app. Nothing is deleted either way.","settings.threadDisplay.title": "Threads","settings.threadDisplay.subtitle": "Show thread lists and controls on this device only. Hiding them keeps all conversation history and running work; channels are unchanged. Turn this back on to access your threads again.",diff --git a/src/locales/es.json b/src/locales/es.jsonindex 395c625af2..5bf64e9d9e 100644--- a/src/locales/es.json+++ b/src/locales/es.json@@ -1270,6 +1270,7 @@"settings.userBubbles.subtitle": "En un chat individual, tus mensajes se rellenan con un degradado del color de ese bot. Los grupos mantienen la burbuja neutra.","settings.userBubbles.aria": "Colorear mis mensajes con el color del bot","settings.advancedMode.title": "Modo avanzado",+ "settings.advancedSetting": "Ajuste avanzado","settings.advancedMode.subtitle": "Muestra todos los controles técnicos en este dispositivo: uso y tokens, el inspector y otras herramientas para creadores. Desactívalo para tener una app más sencilla. No se elimina nada en ningún caso.","settings.threadDisplay.title": "Hilos","settings.threadDisplay.subtitle": "Muestra las listas y los controles de hilos solo en este dispositivo. Al ocultarlos se conservan todo el historial de conversaciones y el trabajo en curso; los canales no cambian. Vuelve a activarlo para acceder de nuevo a tus hilos.",diff --git a/src/locales/fr.json b/src/locales/fr.jsonindex c977edf33a..2e4a1438ee 100644--- a/src/locales/fr.json+++ b/src/locales/fr.json@@ -3757,6 +3757,7 @@"servers.localHint": "Bots et conversations locaux","servers.switch": "Basculer","settings.advancedMode.title": "Mode avancé",+ "settings.advancedSetting": "Réglage avancé","settings.deviceNotifications.show": "M'avertir quand un bot a fini","settings.deviceNotifications.title": "Notifications sur cet appareil","settings.domain.label": "Votre domaine",diff --git a/src/locales/hi.json b/src/locales/hi.jsonindex 0a82cbe155..3fed99cfb2 100644--- a/src/locales/hi.json+++ b/src/locales/hi.json@@ -3609,6 +3609,7 @@"servers.localHint": "लोकल बॉट्स और बातचीत","servers.switch": "बदलें","settings.advancedMode.title": "एडवांस्ड मोड",+ "settings.advancedSetting": "एडवांस्ड सेटिंग","settings.deviceNotifications.show": "बॉट का काम पूरा होने पर मुझे बताएँ","settings.deviceNotifications.title": "इस डिवाइस पर सूचनाएँ","settings.domain.label": "आपका डोमेन",diff --git a/src/locales/it.json b/src/locales/it.jsonindex 58bef40b0a..e3af4883b3 100644--- a/src/locales/it.json+++ b/src/locales/it.json@@ -1955,6 +1955,7 @@"settings.userBubbles.subtitle": "In una chat uno a uno, i tuoi messaggi hanno una sfumatura del colore di quel bot. Le chat di gruppo tengono la bolla neutra.","settings.userBubbles.aria": "Colora i miei messaggi con il colore del bot","settings.advancedMode.title": "Modalità avanzata",+ "settings.advancedSetting": "Impostazione avanzata","settings.advancedMode.subtitle": "Mostra tutti i controlli tecnici su questo dispositivo: utilizzo e token, l'ispettore e altri strumenti per chi costruisce. Disattivala per un'app più semplice. In entrambi i casi non si cancella nulla.","settings.threadDisplay.title": "Thread","settings.threadDisplay.subtitle": "Mostra elenchi e controlli dei thread solo su questo dispositivo. Nasconderli conserva tutta la cronologia e il lavoro in corso; i canali restano uguali. Riattiva per rivedere i tuoi thread.",diff --git a/src/locales/ja.json b/src/locales/ja.jsonindex 83eca350b4..5f4f58fd16 100644--- a/src/locales/ja.json+++ b/src/locales/ja.json@@ -1574,6 +1574,7 @@"settings.userBubbles.subtitle": "1対1のチャットでは、自分のメッセージがそのボットのカラーのグラデーションで表示されます。ルームでは、ニュートラルな吹き出しのままです。","settings.userBubbles.aria": "自分のメッセージにボットの色を付ける","settings.advancedMode.title": "詳細モード",+ "settings.advancedSetting": "詳細設定","settings.advancedMode.subtitle": "使用量とトークン、インスペクターなど、開発者向けのすべての操作機能をこのデバイスで表示します。オフにするとアプリの表示がシンプルになります。どちらでもデータは削除されません。","settings.threadDisplay.title": "スレッド","settings.threadDisplay.subtitle": "このデバイスだけでスレッド一覧と操作機能を表示します。隠しても会話履歴と実行中の作業はすべて保持され、グループチャットは変わりません。オンに戻すとスレッドを再び開けます。",diff --git a/src/locales/ko.json b/src/locales/ko.jsonindex b8f1d72872..0b49bb8e6b 100644--- a/src/locales/ko.json+++ b/src/locales/ko.json@@ -1491,6 +1491,7 @@"settings.userBubbles.subtitle": "일대일 채팅에서 내 메시지를 그 봇 색상의 그라데이션으로 채워요. 대화방은 중립 말풍선을 유지해요.","settings.userBubbles.aria": "내 메시지에 봇 색상 입히기","settings.advancedMode.title": "고급 모드",+ "settings.advancedSetting": "고급 설정","settings.advancedMode.subtitle": "이 기기에서 모든 기술적 컨트롤을 보여 줘요: 사용량과 토큰, 인스펙터, 그 밖의 개발자용 도구. 끄면 앱이 더 단순해져요. 어느 쪽이든 삭제되는 것은 없어요.","settings.threadDisplay.title": "스레드","settings.threadDisplay.subtitle": "이 기기에서만 스레드 목록과 컨트롤을 보여 줘요. 숨겨도 모든 대화 기록과 실행 중인 작업은 유지되고, 채널은 바뀌지 않아요. 다시 켜면 스레드에 다시 접근할 수 있어요.",diff --git a/src/locales/pl.json b/src/locales/pl.jsonindex c07ae16895..8c5e9d1f6e 100644--- a/src/locales/pl.json+++ b/src/locales/pl.json@@ -1422,6 +1422,7 @@"settings.userBubbles.subtitle": "W czacie jeden na jeden twoje wiadomości mają tło z gradientu w kolorze tego bota. Pokoje zachowują neutralny dymek.","settings.userBubbles.aria": "Koloruj moje wiadomości kolorem bota","settings.advancedMode.title": "Tryb zaawansowany",+ "settings.advancedSetting": "Ustawienie zaawansowane","settings.advancedMode.subtitle": "Pokazuj wszystkie techniczne elementy sterujące na tym urządzeniu: wykorzystanie i tokeny, inspektor oraz inne narzędzia dla twórców. Wyłącz, aby uzyskać prostszą aplikację. Nic nie zostanie usunięte w żadnym wariancie.","settings.threadDisplay.title": "Wątki","settings.threadDisplay.subtitle": "Pokazuj listy wątków i elementy sterujące tylko na tym urządzeniu. Ukrycie ich zachowuje całą historię rozmów i trwającą pracę; kanały pozostają bez zmian. Włącz ponownie, aby uzyskać dostęp do swoich wątków.",diff --git a/src/locales/pt-br.json b/src/locales/pt-br.jsonindex f57de14407..84f4e7df42 100644--- a/src/locales/pt-br.json+++ b/src/locales/pt-br.json@@ -1776,6 +1776,7 @@"settings.userBubbles.subtitle": "Em uma conversa individual, suas mensagens ficam com um degradê da cor do bot. Nos grupos, os balões continuam neutros.","settings.userBubbles.aria": "Colorir minhas mensagens com a cor do bot","settings.advancedMode.title": "Modo avançado",+ "settings.advancedSetting": "Configuração avançada","settings.advancedMode.subtitle": "Mostra todos os controles técnicos neste dispositivo: uso e tokens, o inspetor e outras ferramentas para quem cria. Desligue para ter um app mais simples. Nada é excluído em nenhum dos casos.","settings.threadDisplay.title": "Conversas","settings.threadDisplay.subtitle": "Mostra as listas e os controles de conversas só neste dispositivo. Ocultá-los mantém todo o histórico de conversas e o trabalho em andamento; os chats em grupo não mudam. Ligue de novo para acessar suas conversas novamente.",diff --git a/src/locales/ru.json b/src/locales/ru.jsonindex 3dd2d14097..1953d7c42c 100644--- a/src/locales/ru.json+++ b/src/locales/ru.json@@ -1427,6 +1427,7 @@"settings.userBubbles.subtitle": "В личном чате ваши сообщения заливаются градиентом цвета этого бота. В комнатах пузырь остаётся нейтральным.","settings.userBubbles.aria": "Окрашивать мои сообщения цветом бота","settings.advancedMode.title": "Расширенный режим",+ "settings.advancedSetting": "Расширенная настройка","settings.advancedMode.subtitle": "Показывать все технические элементы управления на этом устройстве: статистику использования и токены, инспектор и другие инструменты для разработчиков. Отключите его, чтобы приложение стало проще. В обоих случаях ничего не удаляется.","settings.threadDisplay.title": "Ветки","settings.threadDisplay.subtitle": "Показывать списки веток и элементы управления только на этом устройстве. При скрытии сохраняется вся история переписки и запущенные задачи; каналы не меняются. Включите настройку снова, чтобы вернуть доступ к своим веткам.",diff --git a/src/locales/tr.json b/src/locales/tr.jsonindex c699315d49..21a8a75ece 100644--- a/src/locales/tr.json+++ b/src/locales/tr.json@@ -980,6 +980,7 @@"settings.userBubbles.subtitle": "Bire bir sohbette mesajlarınız o botun renginden bir renk geçişiyle doldurulur. Odalarda nötr balon korunur.","settings.userBubbles.aria": "Mesajlarımı botun rengiyle renklendir","settings.advancedMode.title": "Gelişmiş mod",+ "settings.advancedSetting": "Gelişmiş ayar","settings.advancedMode.subtitle": "Bu cihazdaki tüm teknik kontrolleri gösterin: kullanım ve token'lar, denetleyici ve geliştiriciler için diğer araçlar. Daha basit bir uygulama için kapatın. Her iki durumda da hiçbir şey silinmez.","settings.threadDisplay.title": "İş parçacıkları","settings.threadDisplay.subtitle": "Yalnızca bu cihazda iş parçacığı listelerini ve kontrollerini gösterin. Bunları gizlemek tüm konuşma geçmişini ve çalışan işleri korur; kanallar değişmez. İş parçacıklarınıza tekrar erişmek için bunu yeniden açın.",diff --git a/src/locales/uk.json b/src/locales/uk.jsonindex 9bef0c4284..c786f654e5 100644--- a/src/locales/uk.json+++ b/src/locales/uk.json@@ -4042,6 +4042,7 @@"servers.localHint": "Локальні боти й розмови","servers.switch": "Перейти","settings.advancedMode.title": "Розширений режим",+ "settings.advancedSetting": "Розширене налаштування","settings.deviceNotifications.show": "Повідомляти, коли бот закінчив","settings.deviceNotifications.title": "Сповіщення на цьому пристрої","settings.experimental.skillAuthoring": "Боти можуть писати власні навички",diff --git a/src/locales/vi.json b/src/locales/vi.jsonindex 9aa1022f1c..6275a212b3 100644--- a/src/locales/vi.json+++ b/src/locales/vi.json@@ -980,6 +980,7 @@"settings.userBubbles.subtitle": "Trong cuộc trò chuyện 1-1, tin nhắn của bạn được tô bằng dải màu chuyển sắc theo màu của bot đó. Các phòng vẫn giữ bong bóng màu trung tính.","settings.userBubbles.aria": "Tô màu tin nhắn của tôi theo màu của bot","settings.advancedMode.title": "Chế độ nâng cao",+ "settings.advancedSetting": "Cài đặt nâng cao","settings.advancedMode.subtitle": "Hiển thị mọi tùy chọn kỹ thuật trên thiết bị này: mức sử dụng và token, trình kiểm tra và các công cụ khác dành cho nhà phát triển. Hãy tắt để ứng dụng đơn giản hơn. Cả hai cách đều không làm mất dữ liệu nào.","settings.threadDisplay.title": "Luồng","settings.threadDisplay.subtitle": "Chỉ hiển thị danh sách luồng và các tùy chọn điều khiển trên thiết bị này. Việc ẩn chúng vẫn giữ nguyên toàn bộ lịch sử cuộc trò chuyện và công việc đang chạy; các kênh không thay đổi. Hãy bật lại tùy chọn này để truy cập lại các luồng của bạn.",diff --git a/src/locales/zh-tw.json b/src/locales/zh-tw.jsonindex a439ad297e..329c740b8d 100644--- a/src/locales/zh-tw.json+++ b/src/locales/zh-tw.json@@ -1701,6 +1701,7 @@"settings.userBubbles.subtitle": "在一對一聊天中,你的訊息會填上該機器人顏色的漸層。房間中則保留中性泡泡。","settings.userBubbles.aria": "用機器人的顏色為我的訊息上色","settings.advancedMode.title": "進階模式",+ "settings.advancedSetting": "進階設定","settings.advancedMode.subtitle": "在這部裝置上顯示所有技術控制項:用量與 token、檢查器,以及其他給開發者的工具。關閉即可使用較精簡的介面。無論開或關都不會刪除任何內容。","settings.threadDisplay.title": "對話","settings.threadDisplay.subtitle": "僅在這部裝置上顯示對話清單與控制項。隱藏後仍會保留所有對話紀錄與進行中的工作;聊天室不受影響。重新開啟即可再次存取你的對話。",diff --git a/src/locales/zh.json b/src/locales/zh.jsonindex a7d6be720a..0c08bd0b82 100644--- a/src/locales/zh.json+++ b/src/locales/zh.json@@ -1814,6 +1814,7 @@"settings.userBubbles.subtitle": "在一对一聊天中,你的消息会填充该机器人的颜色渐变。群组聊天仍使用中性气泡。","settings.userBubbles.aria": "用机器人的颜色为我的消息着色","settings.advancedMode.title": "高级模式",+ "settings.advancedSetting": "高级设置","settings.advancedMode.subtitle": "在这台设备上显示所有技术控件:用量与 token、检查器以及面向开发者的其他工具。关闭后界面更简洁。无论开关与否,都不会删除任何内容。","settings.threadDisplay.title": "对话","settings.threadDisplay.subtitle": "仅在这台设备上显示对话列表和控制项。隐藏后仍会保留所有对话记录和进行中的工作;群组不受影响。重新打开即可再次访问你的对话。",