Control: an account with no machines has no menu (can't sign out, make a team, see devices) #97
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.tsxrenders it instead ofAppwhenever!client.e2e, and every account item (controlMenuItems: Add a machine, Teams…, Plan and usage…, Devices and machines…) lives inApp's host menu.So a new account can't:
Close it by a small header on
NoMachines: "Signed in as {name}", plus Teams…, Devices and machines…, Plan and usage…, Sign out (reusecontrolMenuItems).Done when a fresh account can do all four of those before adding a machine (e2e in
web/e2e/control.spec.ts).