Skip to content

Phil00 live event - #418

Open
crazifil wants to merge 5 commits into
CybertownRevival:masterfrom
crazifil:phil00-LiveEvent
Open

Phil00 live event#418
crazifil wants to merge 5 commits into
CybertownRevival:masterfrom
crazifil:phil00-LiveEvent

Conversation

@crazifil

Copy link
Copy Markdown

Summary

Adds a new Live Event feature, allowing authorised users to configure a temporary destination that is promoted directly from the main CTR interface.

When a Live Event is enabled, the existing Outlands placeholder is replaced by an animated Live Event button. Clicking the button takes the citizen directly to the configured destination.

When no Live Event is active, the normal Outlands placeholder remains unchanged.

Changes
Added a live_event database table to store:
Selected destination
Enabled/disabled status
Last updated time
Member responsible for the update
Added API routes, controller, service and repository support for Live Events.
Added an Admin Panel → Live Event page.
Allows a Live Event destination to be selected from active Colonies and Public Places.
Allows Live Events to be enabled or disabled without removing the configured destination.
Added Live Event access for appropriate administrative/leadership roles.
Preserves existing Members and Places access for Colony Representative and Places Chief roles.
Added an animated Live Event graphic to the main CTR interface.
Live Event button automatically links to the currently configured destination.
Existing Outlands placeholder remains displayed when Live Event is disabled.
Testing

Tested locally with Docker/MySQL and the CTR SPA.

Confirmed:

API and SPA production builds complete successfully.
Live Event configuration is saved correctly to the database.
Destination selection persists correctly.
Enable/disable functionality works correctly.
updated_by records the member making the change.
Admin, Colony Representative and Places Chief permissions operate as expected.
Existing Members/Places permissions are retained.
Live Event graphic only appears while an event is enabled.
Live Event button correctly sends the user to the configured destination.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant