feat: Mongo-backed Pods with full CRUD + member management

Pods are persisted in MongoDB and CRUD'd via /api/pods (list/create/get/
update/delete + add/remove member). Shared Pod reshaped to a persisted entity
(members: string[], description, timestamps) + PodInput. Backend seeds Demo/
Frontend/Backend Pods on first run (Squad -> Pod rename). Frontend replaces
hardcoded teams with live data: PodCard (member chips add/remove, inline edit,
delete, join) + CreatePodForm; App fetches+mutates via API. Removes teams.ts/
TeamCard; gitignores test artifacts.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Kartikeya
2026-06-27 15:48:55 -07:00
parent 789f0da61b
commit 5a03ad4d6b
13 changed files with 708 additions and 148 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import type { DemoTeam } from '../lib/teams.js';
import type { Pod } from '@podman/shared';
import { Avatar } from './Avatar.js';
export function PodView({
@@ -7,7 +7,7 @@ export function PodView({
devMode,
onLeave,
}: {
team: DemoTeam;
team: Pod;
me: string;
devMode: boolean;
onLeave: () => void;