Control: an account with no machines has no menu (can't sign out, make a team, see devices) #97

Closed
opened 2026-10-03 06:38:01 +00:00 by jhgaylor · 0 comments
Owner

Signed in to control with no machines yet, you get NoMachines (web/src/ui/control.tsx): an "Add a machine" heading and nothing else. main.tsx renders it instead of App whenever !client.e2e, and every account item (controlMenuItems: Add a machine, Teams…, Plan and usage…, Devices and machines…) lives in App's host menu.

So a new account can't:

  • sign out (the only Sign out is in the Devices panel);
  • make a team, or (as an invited teammate with no machine of their own) see a pending team request;
  • add a passkey, see devices or the plan.

Close it by a small header on NoMachines: "Signed in as {name}", plus Teams…, Devices and machines…, Plan and usage…, Sign out (reuse controlMenuItems).

Done when a fresh account can do all four of those before adding a machine (e2e in web/e2e/control.spec.ts).

Signed in to control with no machines yet, you get `NoMachines` (`web/src/ui/control.tsx`): an "Add a machine" heading and nothing else. `main.tsx` renders it instead of `App` whenever `!client.e2e`, and every account item (`controlMenuItems`: Add a machine, Teams…, Plan and usage…, Devices and machines…) lives in `App`'s host menu. So a new account can't: - **sign out** (the only Sign out is in the Devices panel); - **make a team**, or (as an invited teammate with no machine of their own) see a pending team request; - **add a passkey**, see devices or the plan. **Close it by** a small header on `NoMachines`: "Signed in as {name}", plus Teams…, Devices and machines…, Plan and usage…, Sign out (reuse `controlMenuItems`). **Done when** a fresh account can do all four of those before adding a machine (e2e in `web/e2e/control.spec.ts`).
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jhgaylor/illogical#97
No description provided.