The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(settings): clear user data on logout in LogoutAndClearActions
Steven Enamakeldee188b60b2d
diff --git a/app/src/components/settings/LogoutAndClearActions.tsx b/app/src/components/settings/LogoutAndClearActions.tsxindex e401a874a9..a797dd9654 100644--- a/app/src/components/settings/LogoutAndClearActions.tsx+++ b/app/src/components/settings/LogoutAndClearActions.tsx@@ -24,11 +24,12 @@ import { Spinner } from '../ui/icons';const warnLog = debug('settings:account:warn');/**- * The bottom of Settings → Account: a Session card (routine, reversible log- * out) and a separate Danger zone card for wiping local data. The two are kept- * apart on purpose — same weight and colour one row apart made an irreversible- * wipe read like a sign-out. The wipe sits behind an `AlertDialog`, which does- * not dismiss on an outside click.+ * The bottom of Settings → Account: a single Session card holding both the+ * routine, reversible log-out row and the destructive wipe-local-data row.+ * The wipe keeps its own destructive-zone wrapper and coral/danger button so+ * it doesn't read as a peer of log out — same weight and colour one row apart+ * used to make an irreversible wipe read like a sign-out. The wipe sits+ * behind an `AlertDialog`, which does not dismiss on an outside click.*/const LogoutAndClearActions = () => {const { t } = useT();diff --git a/app/src/pages/__tests__/FlowCanvasPage.test.tsx b/app/src/pages/__tests__/FlowCanvasPage.test.tsxindex ce8721ab23..a829244080 100644--- a/app/src/pages/__tests__/FlowCanvasPage.test.tsx+++ b/app/src/pages/__tests__/FlowCanvasPage.test.tsx@@ -358,12 +358,18 @@ describe('FlowCanvasPage', () => {});function renderEditor(id = 'test-id') {+ // The Back button now lives in the shell's dynamic sidebar region+ // (`SidebarContent`), so the outlet + provider must be mounted for it to+ // portal anywhere and be clickable.return render(<MemoryRouter initialEntries={[`/flows/${id}`]}>- <Routes>- <Route path="/flows/:id" element={<FlowCanvasPage />} />- <Route path="/flows" element={<div data-testid="flows-list">Flows list</div>} />- </Routes>+ <SidebarSlotProvider>+ <SidebarSlotOutlet />+ <Routes>+ <Route path="/flows/:id" element={<FlowCanvasPage />} />+ <Route path="/flows" element={<div data-testid="flows-list">Flows list</div>} />+ </Routes>+ </SidebarSlotProvider></MemoryRouter>);}@@ -804,12 +810,18 @@ describe('FlowCanvasPage copilot proposal name adoption', () => {});function renderEditor(id = 'test-id') {+ // The Back button now lives in the shell's dynamic sidebar region+ // (`SidebarContent`), so the outlet + provider must be mounted for it to+ // portal anywhere and be clickable.return render(<MemoryRouter initialEntries={[`/flows/${id}`]}>- <Routes>- <Route path="/flows/:id" element={<FlowCanvasPage />} />- <Route path="/flows" element={<div data-testid="flows-list">Flows list</div>} />- </Routes>+ <SidebarSlotProvider>+ <SidebarSlotOutlet />+ <Routes>+ <Route path="/flows/:id" element={<FlowCanvasPage />} />+ <Route path="/flows" element={<div data-testid="flows-list">Flows list</div>} />+ </Routes>+ </SidebarSlotProvider></MemoryRouter>);}