KP-005 · AUTH/WORKSPACE/PICK
Workspace Picker Page
The workspace picker, which exists because "you are in more than one organisation" is a normal state most products treat as an edge case. Each row carries the role you hold there, and the account you are signed in as is stated at the top — because the commonest cause of an empty list is the wrong account.
Install
One command — the source lands in your repo. Or copy it from the Code tab.
$ pnpm dlx shadcn@latest add @kinetiq/auth-workspace-pick
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| workspaces | Workspace[] | — | Name, your role there, yard count, and whether it is live. |
| signedInAs / missingLine | string | — | Which account this is, and the path when the expected workspace is absent. |