feat: events subsystem (admin + member submit + public)#1998
Merged
cdcore09 merged 14 commits intoMay 27, 2026
Conversation
Deploying usrse-github-io with
|
| Latest commit: |
c7158ff
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://880cd901.usrse-github-io.pages.dev |
| Branch Preview URL: | https://cdcore09-events-implementati.usrse-github-io.pages.dev |
Deploying us-rse-admin with
|
| Latest commit: |
c7158ff
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://9eeeeb8e.us-rse-admin.pages.dev |
| Branch Preview URL: | https://cdcore09-events-implementati.us-rse-admin.pages.dev |
This was referenced May 27, 2026
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.
Summary
Plan 2 of 5 from the events / announcements / forms brainstorm. Lands the events admin + member submit + public surfaces on top of the Plan 1 foundation (#1994).
Admin API
POST/GET /admin/events— create draft + list with filters (status/type/scope/host/q + pagination)GET/PATCH /admin/events/:id— detail (with reviews/comments/audit) + patch gated bycanEditArtifactPOST /admin/events/:id/transitions— wrapsapplyTransitionwith per-action policy gates (submit_for_review/approve/reject/request_changes/cancel/archive)POST /admin/events/:id/comments— comment endpoint usingsanitizeCommentBodyPublic API
GET /events— scope-aware list (anonymous: public only; signed-in: public + community)GET /events/:slug— published-event detail with host_group/host_org/author attributionPOST /events/submit— auth-gated member submission, auto-transitions toin_reviewAdmin UI
/admin/eventslist with status filter + search/admin/events/newcompose form/admin/events/:iddetail page with Identity / Content / Review / Audit tabs (Broadcast tab deferred to Plan 5; attached-form section deferred to Plan 4)useNavSectionsalready exposed an Events entry — wired it to the real pagePublic UI
UpcomingEventsPagenow renders dynamic API-driven events between the featured (USRSE'26) and recurring-events sections, with magazine-style date block + matching purple/teal accents. Plus "Submit an event" CTA./events/submitform (auth-gated viauseAuth; shows sign-in CTA for anonymous visitors)/events/:slugdetail page matching the site's design language (magazine date treatment, teal host attribution, purple register CTA)Middleware
optionalActormiddleware got the sameTEST_BYPASS_AUTHescape hatch thatauth.tsandactorContext.tsgot in Plan 1 — env-gated, inert in production, not inwrangler.jsonc.Stats
Test plan
/admin/events/new, submits for review, second super_admin approves twice — event publishes/events/submit, event appears in/admin/queueasin_review/events, sees only public published events; sign in, sees community events tooexternalUrlset renders "Register at … →" CTA on/events/:slugPlan + spec
docs/superpowers/specs/2026-05-20-events-announcements-forms-design.mddocs/superpowers/plans/2026-05-24-events-implementation.mdDeferred to subsequent plans (per scope decision)
ARTIFACT_THUMBNAILSR2 binding provisioning (own follow-up)