Files
heidi/drizzle/0005_teams.sql
CatoandClaude Opus 5.5 f1d8e5cdad feat(teams): a group can be a team — focus, consented sharing, an organiser's overview (#132)
A group's organiser picks a focus (a situation domain, e.g. care). Each member
decides for themselves, per team, whether the organiser sees their standing
in those situations, and can take it back; until then the organiser sees a
name only. What is shown is the standing per situation (new/met/steady/sure)
and the number of certificates — never which lines or answers; the server
never sends them. A member who shares without sync shows as 'nothing to see
yet', not 'not started'.

Migration 0005 (study_groups.focus, group_members.shares_progress). Routes:
GET/PUT /api/groups/[id]/team (organiser only), PUT /api/groups/[id]/share
(the member themself). The organisations page leads with what a team can do
today instead of a disclaimer. Teams move from roadmap to changelog.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-25 05:14:10 -07:00

2 lines
164 B
SQL

ALTER TABLE "group_members" ADD COLUMN "shares_progress" boolean DEFAULT false NOT NULL;--> statement-breakpoint
ALTER TABLE "study_groups" ADD COLUMN "focus" text;