Skip to content

MarIA UI: Teams page (org chart, terminal view, floating dock) - #6

Merged
dr-phil-2004 merged 1 commit into
mainfrom
claude/zen-hawking-ioda4g
Oct 3, 2026
Merged

dr-phil-2004 merged 1 commit into
mainfrom
claude/zen-hawking-ioda4g

Conversation

@dr-phil-2004

Copy link
Copy Markdown
Owner

Follow-up to #5. Adds the Teams page. Every change is under apps/maria/.

Changes

  • Migration 0009_teams.sql: new table maria.teams.
    • Columns: name, description, and members as [{agent, role, lead}].
    • RLS: MarIA members can read and write; everyone else is denied.
  • Teams page, modeled on the reference:
    • Layout: one team at a time on a dark stage with a purple beam and sparks, showing name, description and member count.
    • Org chart: the lead(s) on top, curved glowing links down to the other members.
    • Member cards: agent avatar in a framed tile, name, and role. A green dot means the agent is in a running mission. Clicking opens the agent page; hovering shows a remove button.
  • "Terminal" view: the team rendered as tree-style console output.
  • Floating glass dock at the bottom of the stage. It holds the reference's header actions:
    • Chart / Terminal switch;
    • team pager (‹ dots ›, plus ← / → keys);
    • "+ Membre" and "+ Équipe".
  • "Confier une mission" opens the new-mission page prefilled with the team's @agentS, leads first.
  • Dialogs to create a team and to add a member (filterable agent picker, role, lead toggle).
  • README: the migration range now goes up to 0009.

Testing

  • npm run build passes.
  • Migrations 0001–0009 applied on Postgres 16 with a Supabase-like shim. A member can insert and update a team. An outsider sees 0 teams and gets an RLS error when inserting.
  • Screenshots of a preview page with mocked teams (Supabase REST responses intercepted), in Chart and Terminal views.

🤖 Generated with RuFlo

https://claude.ai/code/session_01EYLzTmzezSkXAERkr41FBp


Generated by Claude Code

- New maria.teams table (migration 0009): name, description and members
  ({agent, role, lead}), readable and editable by MarIA members only.
- Teams page modeled on the reference: one team at a time on a dark stage
  lit by a purple beam with drifting sparks; name, description, member
  count; org chart with the lead(s) on top and curved glowing links to the
  other members (agent avatars in framed tiles, green dot when the agent is
  in a running mission, role underneath; click opens the agent, hover
  shows a remove button).
- "Terminal" view renders the team as a `tree`-style console output.
- The reference's header buttons live in a floating glass dock at the
  bottom: Chart / Terminal switch, ‹ team dots ›, "+ Membre", "+ Équipe"
  (← / → keys also switch teams).
- "Confier une mission" opens the new-mission page prefilled with the
  team's @agentS (leads first); dialogs to create a team and add a member.

Co-Authored-By: RuFlo <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01EYLzTmzezSkXAERkr41FBp
@vercel

vercel Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
mar-ia Ready Ready Preview Oct 3, 2026 1:28am UTC

@coderabbitai

coderabbitai Bot commented Oct 3, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1c243bf1-18be-492e-8053-2943939bf98d
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@dr-phil-2004
dr-phil-2004 merged commit c44d326 into main Oct 3, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — 8654d6d5 Deployed Oct 3, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants