Event Routing And Authoring
Editor navigation (2026-10-11): wizard refinement. Contributor, scoped correction, and owner/staff editors use Details, Lineup, and Review inside the existing header and footer. Contributor drafts support an optional import dialog beside the page heading; staff source controls remain in a Details disclosure.
Scheduling (2026-10-13): approved design and local checkpoint. Generation is explicit; insertion/removal/duration changes cascade later timed rows while explicit ends stay fixed. Reset clears editable lineup rows after confirmation. Account timezone defaults apply only to new drafts; event selection never saves an account preference. Review now contains the single primary submit, with draft save and withdrawal secondary. The existing entry and event-page return journey remains the design's diagram.
Legacy staff creation still requires a start and its untimed performers remain a separate group. The authorized update-only stored-slot mapping preserves hidden associations through timing reflow without migrating records or widening actor authority. See the command boundary.
My events workspace
Authenticated navigation and authoring return links open /account/events. The
workspace combines authorized managed events, own contributions and unexpired
creator-private intake drafts. All, Upcoming, Drafts and Past filter bounded
server pages; Find an event matches titles and current community names.
Continuation uses the source-specific route: canonical staff drafts retain their
community editor, intake drafts resume at /events/new?draft=<id>, and
contributions retain their public correction surface. Own-contribution
retractions stay in All; a currently authorized manager sees the canonical
staff state, with Cancelled taking precedence over Draft or Published.
Intake retention is 30 days from the last save; reading the inventory does not extend it. Publication receipts remove completed intake drafts. Source order is intake, managed communities by ID, then own contributions, with Load more for remaining pages. Failed reads show Retry instead of an empty inventory. Dates are viewer-local; date-only and incomplete schedules preserve their meaning.
Details, Lineup and Review retain explicit saves and dirty-state protection. Review returns to the canonical event route. Published staff Save changes keeps the event published, and eligible Discord copying reflects its saved lineup. See the browser contract and checkpoint evidence.
Status
Current implementation incorporates the 2026-08-31 owner-editor decisions and the 2026-09-25 contribution design. The contribution path supplements owner authoring.
- Owner/staff event creation remains at
/<community>/events/create. - Any signed-in account can contribute at
/events/new, including through?community=<slug>and resumable?draft=<id>links. No managed community or separate verified-email gate is required for contribution. - Events do not use the root profile and world slug namespace.
- The owner editor freeform world field is removed. Searchable indexed world selection is deferred to #279.
- Owner-editor doors open is authored as minutes before the event start, not as a second timestamp.
- New owner-editor schedules start with four 60-minute slots.
- Slot count and duration changes update untouched generated slots without a Generate action.
- Untimed performers share the lineup with timed slots. The editor uses
SlotsandSlot N; these headings are not saved performer names. - Event URLs use the automatically generated seven-character short-link code.
- Event URL codes are not editable and do not occupy the root profile and world slug namespace.
- The owner browser editor calls the session area
Schedule, notProgram,Lineup, orSet times. - The browser editor has one public Description field. Private notes are visible only to authorized event managers.
Current recommendation:
- Use
/<community>/events/<event-code>as the canonical public route and/<community>/events/<event-code>/editas the editing route. - Staff Details offers an optional combined Ends control beside Start. An untouched stored end retains its instant, including a later repeated-hour occurrence. An entered end must follow the start; clearing it sends null on update. A known final lineup end may still supply the end. Creation without an authored or known lineup end omits it.
- When template controls would replace edited schedule data, require confirmation.
Owner authoring flow
- Start from a managed community.
- Enter the event title and public details.
- Set the local start time, timezone, and optional doors-open offset.
- Fill the four generated 60-minute slots or adjust the template.
- Publish or save a draft.
The owner editor binds the community from the route and rechecks management
authority. The contribution picker searches public community names and slugs and
saves the selected result's slug. Change and Escape retain the selected community.
Clear stores a nullable community in an incomplete draft. Linked and resumed
slugs stay selected while search loads or returns no match. The optional location
control is labeled Where (optional) and keeps the existing venueLabel field.
Scoped corrections omit community selection; staff communities remain bound to
their route. A useful contribution needs a community, title and known date. An explicit Time TBA state
needs no timezone; timed publication needs an IANA timezone and resolved local
time. The date-only backend switch must be enabled after its migration.
Manual entry, pasted text and one private poster share one controlled versioned draft across the contributor steps. One extraction submits the current text and poster together. Details and Lineup retain tentative values for explicit acceptance, source evidence, and unresolved questions on resume. Changing sources invalidates suggestions and evidence while keeping accepted fields. Unavailable extraction stays in the import dialog with visible feedback; closing it returns to the current editor step.
The poster becomes artwork after verified upload and processing. A new upload replaces it; removal clears it. Private evidence and public artwork derivatives remain separate. Uploads and saves retain draft version checks. No gallery, primary-image selection or fallback remains in contributor intake. A failed completion response retains Retry even when the source preview is available. Retry replays completion before saving later edits and preserves conflict checks.
Lineup rows show matched public profile pictures with a name fallback. Native local dates and times map to the existing day-offset contract; numeric offsets are not exposed. Repeated hours retain an explicit occurrence choice. The side preview uses viewer-local timed dates and moves below the editor on narrow screens.
Review uses the confirmed start date, including its day offset, and links back to Details and Lineup. Preflight reveals and focuses missing or unresolved fields; similar events appear only after the existing duplicate check finds them. Publish goes directly to the canonical event page. Save draft remains available at every step and stays in the editor. Unknown dates remain drafts.
flowchart LR
Events[Events search] --> Add[Add event]
Community[Community page] --> Add
Direct[Direct community or draft link] --> Auth[Sign in if needed and return]
Add --> Auth
Auth --> Details[Details: select community and enter or accept fields]
Details --> Import[Optional import action]
Lineup --> Import
Review --> Import
Import --> Source[Dialog: one poster and optional text]
Source -->|Extraction succeeds| Details
Source -->|Close| Current[Return to current step]
Details --> Lineup[Lineup: people and local dates]
Lineup --> Review[Review]
Review --> Details
Review --> Lineup
Details --> Saved[Save draft and resume]
Lineup --> Saved
Review --> Saved
Saved --> Details
Review --> Publish[Preflight and publish]
Publish --> Public[Canonical event page]
Public --> Discovery[Public search and community events]
Owner[Managed community] --> Editor[Owner editor and live controls]
Editor --> Public
Public --> Correct[Contributor correction or retraction]
Public --> Staff[Staff takeover or removal]
Staff --> Suggest[Contributor correction suggestion]
Suggest --> Reports[Staff report inbox]
Staff takeover or a staff edit closes direct contributor editing. Subsequent suggestions use the event report inbox. Reports never automatically remove an event. Removal hides public detail, search and feeds and suppresses immediate exact recreation. See the verification checkpoint for local evidence and outstanding hosted checks.
Data And Routing Contract
- Browser routing and identifier allocation keep events out of the root profile and world slug namespace.
- Browser, public page, calendar, cards, Discord export, API, and MCP event
lookups use the event code. The existing internal
slugfield name remains the wire/storage key for now, but its event value is the generated code. - Public browser routes include the community slug for context and verify that the event belongs to that community before rendering.
- Event link-preview metadata and images use that same community-bound lookup; the event code alone cannot render a card under the wrong community route.
- API routes remain under
/api/v0/events/<event-code>because the resource prefix already disambiguates the identifier. - Event URL allocation does not migrate routes. The separate schedule backfill is required before enabling date-only writes.
Authorization
- The route is not authority. Owner authoring requires ownership or
manage_events; contribution uses separate actor-bound publication commands andevents:contributeAPI/MCP scope. It does not grant live/media controls. - Editing verifies both the event code and its associated community.
- Public event URLs do not grant private read, write, media-control, or operator access.
Research Checklist
- Existing route and data consumers traced: complete.
- Existing community event authority reused: complete.
- Event identity and collision scope: complete.
- Public, calendar, API, MCP, search, and Discord URL consumers: update in the same delivery.
- Searchable world selection: deferred to #279.
- End-time authoring after schedule feedback: interview later.
- Timed, untimed and unmatched lineup entries now preserve authored order.
- Per-session support associations such as an optional VJ are a candidate direction. An untimed lineup entry can credit a VJ.
Verification
- Backend tests for namespaced event paths and community-bound lookup.
- Web tests for protected community create/edit routes and derived doors/end payloads.
- API and MCP results return community-scoped browser paths.
- Desktop and mobile screenshots for the exact event editor.
- Manual visual review of explicit generation, individual editing, reset confirmation, and responsive session rows.
Performer streams and roster links
The watch mode defaults to event_stream. When watch viewing is enabled, organizers
can select performer_sequence. Its linked schedule rows offer only currently
public stream choices. A sole normalized stream is automatic; several sources
require an explicit choice for playback. Freeform rows and rows without a source
remain publishable. The editor shows an unavailable stored choice and preserves it
on unrelated saves. Clearing the choice restores automatic resolution; changing
the person clears the previous person's selection. Newly entered people use the
bounded discovery-safe stream-choice query.
The output account and worker controls appear only in event-stream mode. Changing watch mode preserves stored output configuration. Saving the event never invokes output configuration; that operation remains a separate explicit action.
The public page has one Lineup with profile images or fallback initials, optional roles and viewer-local set times. Repeated sets remain separate; participant-only duplicates do not. Performer VRCDN/Twitch links are deduplicated in a collapsed DJ links accordion; other social links stay on the person's profile. The backend projection excludes private and unlisted profile links. Event-level VRCDN/Twitch stream targets share that accordion and dedupe against performer links. Other event links remain in ordinary Links. The contextual watch player remains separate.