Repository navigation
Multi-chapter board: UCLA hub at /board/ucla and UCLA submission emails - #97
Merged
Merged
Conversation
- Every board table gets a chapter column; existing rows are Berkeley's. All reads and writes are scoped to the signed-in user's chapter. - Sign-in per chapter: own cookie, own passwords (BOARD_UCLA_ADMIN_PASSWORD, BOARD_UCLA_PASSWORD). Neither chapter's passwords open the other hub. Existing Berkeley sessions stay signed in. - Chapter config (lib/board/chapters.ts) drives teams, labels, Projects, quick links, key dates and the rule; server-only config holds password variables and submission recipients. - UCLA hub seeded from the prototype: Oct 11 deliverables due Oct 18 with no proof, the Oct 4 week archived without status, events, announcements (Finances admins only), meetings with attendance, and six board photos. - Weeks: admins change the due date, set each person's status (Not submitted, Submitted, Missing, Excused) and start a new week, which carries over anything not submitted or excused. - UCLA submissions go to Fiona and Will, Cc Rana, plus Rizwaan for App Dev and Data; reply-to is the submitter, asked for when none is on file. - My page for both chapters, with a Viewing as picker kept in the browser. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QzNDQSmhjgKE63rwUnwcMq
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR 1 of 2. Calendar invites come in PR 2, on top of this.
What changes
Multi-chapter board
/board, and UCLA is at/board/ucla. Both run the same pages and components; nothing is forked.chaptercolumn, and existing rows become Berkeley's. Every read, insert, update and delete is scoped to the signed-in user's chapter. A Berkeley admin can't edit a UCLA row even by its id.lib/board/chapters.ts(sent to the browser) has teams, labels, Projects content, quick links, key dates and the rule text.lib/board/chapter-server.ts(server only) has each chapter's password variables, cookie name and submission recipients.BOARD_UCLA_ADMIN_PASSWORDopens the admin view andBOARD_UCLA_PASSWORDopens the member view.board_roundstable holds each round or week and its due date, replacing Berkeley's hardcoded round constants.UCLA hub, seeded from
docs/board-ucla-preview.htmlpublic/board/ucla/board-1…6.webp, extracted from the prototype. Also quick links, key dates, at-a-glance, and announcements with an admins-only option. Members never receive Finances.UCLA submission emails
lib/board/chapter-server.ts.[VINdicated UCLA] <name>: <task>, and reply-to is the submitter's email on file. If there isn't one, the form asks for it and uses it only for that email.Both chapters
useViewer, so it can be replaced with the signed-in person once per-person sign-in exists.Railway variables to set
BOARD_UCLA_ADMIN_PASSWORD: for Fiona and Will.BOARD_UCLA_PASSWORD: for everyone else on the UCLA board.Both are blank in
.env.example. No password is in the code, tests, seed data or docs.Tested locally (production build, local Postgres, a stand-in for Brevo's API)
/board.tsc,lintandbuildpass. No sideways scrolling on any UCLA tab at 390px.Generated by Claude Code