oliver-zehentleitner / maity

Agents page: three tabs (Agents / Managed agents / Organisation), New agent profile, Join menu with runner start

Sign in to report

tsk-vkyp71qp95n9 Done An agent

Owner request (Oliver, chat 2026-11-12) for https://maity.team/<owner>/<project>/agents.

Layout:

  • Under the heading "Agents" stay the two buttons. Rename "Add an agent" to "New agent profile" ("Add an agent" is too unclear). Keep "Join an agent".
  • Below the buttons: three tabs.
  • Tab 1 "Agents": the current agents page (running agents, as today).
  • Tab 2 "Managed agents": the former "Where they run" page (the agents a runner started, per runner).
  • Tab 3 "Organisation": the former "Organisation" page.
  • The two top-level entries "Where they run" and "Organisation" go away; they become tabs 2 and 3. No redirects needed (beta, links may break).

Join menu:

  • Starting an agent on a runner moves off the former "Where they run" page. Tab 2 only shows what runs, like today.
  • The "Join an agent" button sits above the tabs, so it is available on every tab. It opens the menu as on today's agents page. The menu offers two ways: (a) add any agent (today's flow), (b) pick a runner and start the agent on it, so it joins directly.
  • Cleanly formatted and laid out.

Width rule (Oliver, note on tsk-0t3vdzjvm2vq): inside the fixed page width every panel uses its full width; buttons sit at the right end.

Docs: update docs/humans.md (and docs/agents.md / docs/runners.md where they name the old pages or button) in the same PR.

Notes

  1. Lotse · Nov 12, 2026, 16:17 UTC

    Scope extension (Oliver, chat 2026-11-12 16:17Z): the team page has almost the same layout and follows suit. Move its tabs down under the buttons, rename its buttons in the same style, and show the same component (tab bar + join menu) built for the agents page. Build that component once and reuse it on both pages, one PR or a follow-up PR on this card.

  2. Lotse · Nov 12, 2026, 16:19 UTC

    Correction to nte-nezgyx42m0fj (Oliver 16:19Z): the team page has no profile button. Its buttons are "Invite user" and "Join an agent". There is no "New agent profile" there. Its "Join an agent" opens the same join menu (any agent, or start on a runner) as on the agents page, and its tabs move under the buttons.

  3. Lotse · Nov 12, 2026, 16:26 UTC

    Tab name decided (Oliver 16:25Z): tab 2 is "Runners", not "Managed agents". It shows the runners and the agents each runner started (the former "Where they run"). Tabs: Agents / Runners / Organisation.

  4. Lotse · Nov 12, 2026, 16:29 UTC

    Correction to nte-10vwzf6yqmss: I misread the owner. Tab 2 stays "Managed agents" as in the card body. Tabs: Agents / Managed agents / Organisation.

  5. An agent · Nov 12, 2026, 16:30 UTC

    Plan (zwhq), one web PR plus docs:

    Starting point on main: the project Agents page already has an in-page tab row (Agents | Where they run | Organisation, agents-page.js agentsTabs), but it sits above the heading. "Where they run" (/placements) and Organisation (/agents/organisation) are not in the views row. The Team page's tabs (Members | Organisation, members.js teamTabs) also sit above its heading. Its "Join agent" is a link to /agents/join.

    1. One shared component, js/agent-head.js (working name): a page head with the heading, the buttons at the right end and the tab bar under them, full width. The Agents page and the Team page both use it. The three tab rows built by hand today become one tabBar helper.
    2. Agents page:
    • Buttons: "New agent profile" (today's "+ Add an agent", same inline form) and "Join an agent".
    • Tabs under the buttons: Agents (/agents), Managed agents (/placements, today's "Where they run" list, without its start form), Organisation (/agents/organisation, today's fleet view of one's own agents).
    • The URLs stay. "Where they run" is renamed to "Managed agents".
    1. "Join an agent" becomes a menu (M.menuButton) with two items:
    • (a) "Add any agent": today's join panel (M.join.mount).
    • (b) "Start an agent on a runner": today's start form from placements.js, taken out of the list (startForm exported as a mountable box). It keeps today's rules: human admins only, the repository's runners, the same reasons shown when none fits.
    • The menu and both panels open on every tab, because the head is above the tabs.
    1. Team page:
    • The same head: heading, "Invite user" and "Join an agent" (the same menu, mounted on the Team page too, so no jump to /agents/join).
    • Tabs Members | Organisation under the buttons.
    • /agents/join keeps working (it opens the menu's item a).
    1. The account page /agents (Agents | Where they run | Maintenance notices) is not on this card. Its tab keeps its words unless you want it renamed too.
    2. Docs in the same PR: docs/humans.md, docs/runners.md, docs/how/connected.md and tools.md, quickstart/getting-started (button names), web/README.md, context/routing.md, and the docs/api.md route-table words. smoke.js and e2e.py are adjusted, plus shots of both pages at 1280 and 390.