Repository navigation
Board: admins edit everything + announcement emails - #99
Merged
Merged
Conversation
…emails - Admins (per chapter) can edit members, teams, Projects content and timeline, quick links, key dates, photo row, subtitle, meeting time, rule (Berkeley), assignments including past weeks, announcements, meetings and events. Settings live in board_settings, seeded from the chapter defaults. - Every edit is checked against that chapter's admin session and logged in board_changelog; the admin-only Changes tab shows diffs and restores the previous version. Optional self-reported name per browser. - Hub admin checkbox on members (Fiona and Will for UCLA, Rana for Berkeley at first); changes to it are logged. - Announcements can be emailed through Brevo, one email per person, with a confirm step, a test send, "Updated:" emails on edit, recorded sends and a Retry for failures. Admins-only announcements go to Hub admins only. 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.
What this does
Admins can edit everything, per chapter. Signed in with a chapter's admin password, every part of that chapter's hub has an Edit link:
Edited content lives in a new
board_settingstable, seeded from the current defaults. Members never see edit controls.Change log. The server checks every edit against that chapter's admin session and logs it to
board_changelog. The new admin-only Changes tab shows what changed and has Restore previous version on each entry. If a later change touched the same item, it warns that restoring also undoes that. An optional "Your name" box is saved per browser, and the log marks it as self-reported.Hub admin. The checkbox starts ticked for Fiona and Will (UCLA) and Rana (Berkeley). Only admins can change it, and every change is logged.
Announcement emails.
[VINdicated UCLA] <title>or[VINdicated Berkeley] <title>. The email has the text plus a link to the hub, comes fromBOARD_INVITE_FROM, and replies go to the organizer.Tested (local production build, Brevo replaced by a stub)
Deploy notes
BREVO_API_KEYandBOARD_INVITE_FROM, andBOARD_INVITE_FROM's domain must be verified in Brevo.lib/board/chapter-server.ts. Renaming those teams on the hub needs a matching code change (noted in BOARD_SETUP.md).Generated by Claude Code