Org area in the dashboard: members, agents, workspaces, access, tokens #316

Closed
opened 2026-10-27 13:35:49 +00:00 by sam · 0 comments
Owner

Goal

A top-level Org area in the dashboard showing the caller's org: members and roles, agents, workspaces, access policies and personal tokens. Identities and Access policies move out of Settings into it.

Context

  • Depends on archie-core-kgxw.2 (the /api/orgs routes and api.orgs* client methods). Do not start until it is closed.
  • Existing pages to move, not rewrite: ui/src/settings/SystemIdentitiesPage.vue (identities list, credential grants, personal tokens card), ui/src/settings/AccessPoliciesPage.vue.
  • Routes ui/src/router/index.ts, nav ui/src/lib/nav.ts (top nav has Dashboard, Tasks, Workflows, Events, Settings).
  • UI bar (maintainer): no instructional filler text, the field that matters first, help text on hover, panels open on demand, page must not scroll needlessly. Look at existing pages for component style (@/components/ui/*).

Steps

  1. Add top-level nav item Org between Events and Settings, route /org, header showing the org name and id.
  2. /org (Members tab, default): table of members (name, kind, role select owner/admin/developer/viewer, remove), and an "Add member" row picking an identity from GET /api/identities.
  3. /org/agents: move SystemIdentitiesPage here (bots/service accounts, create, rename, suspend, retire, credential grants). Show each agent's org assignment.
  4. /org/workspaces: list + create (id, name, environment).
  5. /org/access: move AccessPoliciesPage here unchanged.
  6. /org/tokens: move the personal tokens card here.
  7. Remove the Identities and Access policies entries from Settings; old /settings/identities and /settings/access-policies redirect to the new routes.
  8. task ui; drive it in headless Chrome (Playwright with /usr/bin/google-chrome, stub /api/** with page.route) at 1920x947 and look at each screenshot.

Out of scope

Any Go change. Listing other orgs. Renaming the org. New policy editing features.

Stop when

  • Org nav item exists; each tab renders with stubbed data; add/change/remove member calls the right endpoint.
  • Settings no longer lists Identities or Access policies; old URLs redirect.
  • task check passes; ui/dist rebuilt and committed.
  • Commit feat(ui): org area with members, agents, workspaces, access and tokens, close. Stop.

Rules for this ticket

  • Read CLAUDE.md first. Follow it: smallest change, no new binaries, no compatibility shims, comments say why briefly.
  • Do ONLY the steps below. Anything else you notice: file it with bd create (one line of why) and carry on. Do not fix it.
  • Do not refactor, rename or reformat code outside the listed files.
  • No new tests unless a step says so.
  • Run task check once at the end. If it fails twice on the same problem, stop and write what failed in a bead comment (bd comments add <id> "...") instead of looping.
  • Timebox: if you have not reached "Stop when" after the steps, stop, comment what is left, and leave the bead open.

Close reason

Closed


Imported from beads archie-core-kgxw.3 · GitHub #1278 · type feature · priority P1 · created 2026-10-05 · closed 2026-10-05

## Goal A top-level **Org** area in the dashboard showing the caller's org: members and roles, agents, workspaces, access policies and personal tokens. Identities and Access policies move out of Settings into it. ## Context - Depends on archie-core-kgxw.2 (the `/api/orgs` routes and `api.orgs*` client methods). Do not start until it is closed. - Existing pages to move, not rewrite: `ui/src/settings/SystemIdentitiesPage.vue` (identities list, credential grants, personal tokens card), `ui/src/settings/AccessPoliciesPage.vue`. - Routes `ui/src/router/index.ts`, nav `ui/src/lib/nav.ts` (top nav has Dashboard, Tasks, Workflows, Events, Settings). - UI bar (maintainer): no instructional filler text, the field that matters first, help text on hover, panels open on demand, page must not scroll needlessly. Look at existing pages for component style (`@/components/ui/*`). ## Steps 1. Add top-level nav item **Org** between Events and Settings, route `/org`, header showing the org name and id. 2. `/org` (Members tab, default): table of members (name, kind, role select owner/admin/developer/viewer, remove), and an "Add member" row picking an identity from GET /api/identities. 3. `/org/agents`: move SystemIdentitiesPage here (bots/service accounts, create, rename, suspend, retire, credential grants). Show each agent's org assignment. 4. `/org/workspaces`: list + create (id, name, environment). 5. `/org/access`: move AccessPoliciesPage here unchanged. 6. `/org/tokens`: move the personal tokens card here. 7. Remove the Identities and Access policies entries from Settings; old `/settings/identities` and `/settings/access-policies` redirect to the new routes. 8. `task ui`; drive it in headless Chrome (Playwright with `/usr/bin/google-chrome`, stub `/api/**` with page.route) at 1920x947 and look at each screenshot. ## Out of scope Any Go change. Listing other orgs. Renaming the org. New policy editing features. ## Stop when - [ ] Org nav item exists; each tab renders with stubbed data; add/change/remove member calls the right endpoint. - [ ] Settings no longer lists Identities or Access policies; old URLs redirect. - [ ] `task check` passes; ui/dist rebuilt and committed. - [ ] Commit `feat(ui): org area with members, agents, workspaces, access and tokens`, close. Stop. ## Rules for this ticket - Read CLAUDE.md first. Follow it: smallest change, no new binaries, no compatibility shims, comments say why briefly. - Do ONLY the steps below. Anything else you notice: file it with `bd create` (one line of why) and carry on. Do not fix it. - Do not refactor, rename or reformat code outside the listed files. - No new tests unless a step says so. - Run `task check` once at the end. If it fails twice on the same problem, stop and write what failed in a bead comment (`bd comments add <id> "..."`) instead of looping. - Timebox: if you have not reached "Stop when" after the steps, stop, comment what is left, and leave the bead open. ### Close reason Closed --- _Imported from beads `archie-core-kgxw.3` · GitHub #1278 · type feature · priority P1 · created 2026-10-05 · closed 2026-10-05_
sam added the highfeature labels 2026-10-27 13:35:49 +00:00
sam self-assigned this 2026-10-27 13:35:49 +00:00
sam closed this issue 2026-10-27 13:35:49 +00:00
sam added a new dependency 2026-10-27 13:41:53 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: sam/archie#316