Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
test(sidebar): pin the rail test to the icons density and its phone case
pepeneife585eea30213
diff --git a/src/components/Sidebar.departments.test.ts b/src/components/Sidebar.departments.test.tsindex acd8d6858c..0336e8f827 100644--- a/src/components/Sidebar.departments.test.ts+++ b/src/components/Sidebar.departments.test.ts@@ -164,11 +164,20 @@ describe("Simple's sidebar before anyone drags", () => {const icons = rows();expect(icons.length).toBeGreaterThan(0);for (const props of icons) {+ expect(props.density).toBe("icons");expect(props.botDragging).toBe(false);expect(props.botDrag!.row(props.bot.id).draggable).toBe(true);}});+ it("leaves the rail alone on a phone, where the row menu moves bots", () => {+ fixture.storage.set(SIDEBAR_DENSITY_KEY, "avatars");+ fixture.phone = true;+ const icons = rows();+ expect(icons.length).toBeGreaterThan(0);+ for (const props of icons) expect(props.botDrag).toBeUndefined();+ });+it("reorders inside the rail's own list, and nothing else: no department is created or left unseen", () => {// The rail hides department names and its naming field, so a drop there must only move a tile within its list.fixture.storage.set(SIDEBAR_DENSITY_KEY, "avatars");