Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Train nov8-b: #4732 hides the department filter with one choice; #4663 drops two unused screenshots
milind-sonia8a7665a01d0
diff --git a/docs/verification/evidence/inspector-window/after.png b/docs/verification/evidence/inspector-window/after.pngdeleted file mode 100644index be904da75f..0000000000Binary files a/docs/verification/evidence/inspector-window/after.png and /dev/null differdiff --git a/docs/verification/evidence/inspector-window/before.png b/docs/verification/evidence/inspector-window/before.pngdeleted file mode 100644index 6d8f3841a9..0000000000Binary files a/docs/verification/evidence/inspector-window/before.png and /dev/null differdiff --git a/src/components/TriggersPage.tsx b/src/components/TriggersPage.tsxindex 43f4f5c84b..19144c523f 100644--- a/src/components/TriggersPage.tsx+++ b/src/components/TriggersPage.tsx@@ -53,7 +53,7 @@ export function TriggersPage({ onBack, onOpenRoom }: { onBack: () => void; onOpeconst all = useMemo(() => automationsFrom({ routines: state.routines, webhooks: routinesOnly ? [] : state.webhooks, appTriggers: appTriggers.triggers, runs: state.routineRuns, bots: state.bots }),[state.routines, state.webhooks, appTriggers.triggers, state.routineRuns, state.bots, routinesOnly]);const departments = filterableDepartments(state.bots, [...new Set([...(state.sections ?? []), ...state.bots.flatMap((bot) => bot.section ? [bot.section] : [])])]);- const showDepartments = departments.names.length > 0;+ const showDepartments = departments.names.length + (departments.hasGeneral ? 1 : 0) > 1;const activeDepartment = department === "all" || (department === GENERAL_DEPARTMENT ? departments.hasGeneral : departments.names.includes(department)) ? department : "all";useEffect(() => {if (activeDepartment === department) return;diff --git a/src/components/automations/automations.test.ts b/src/components/automations/automations.test.tsindex 3daaa5f032..028d174b70 100644--- a/src/components/automations/automations.test.ts+++ b/src/components/automations/automations.test.ts@@ -290,7 +290,8 @@ describe("the Automations list switch", () => {flushSync(() => pick([...department()!.options].find((option) => option.textContent === "General")!.value));fixture.state.bots = sectioned.map((bot) => ({ ...bot, section: "Social" }));rerender();- expect(department()!.value).toBe("all");+ // One department left and no General: nothing to choose between, so the filter hides.+ expect(department()).toBeNull();expect(row("general-routine")).not.toBeNull();});