Repository navigation
Admin: event page details on the event form - #320
Merged
Merged
Conversation
…its topics and partners
…s and last-time choices
…d description preview, with the page's extras under it
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Nov 30, 2026
This branch was successfully deployed
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
Lets execs fill in everything the new event page shows: the kind of event, its link name, highlights, dress code, stream link, two colours and a formatted description. Under the edit form, it adds the event's topics (with icons), partners, resources and the event it follows on from. Each of those saves on its own.
Part of #298
Part of #300
Type of change
What changed
lauriercs.org/events/…address; empty uses the title and year; a taken name shows under the field), Live stream or recording, What to expect chips (food, snacks, drinks, speaker series) with Dress code, and Colours (main + second as#rrggbbor picked; empty uses LCS yellow and pink; a small preview with readable text on each colour).javascript:links are refused.lib/form/event-form.ts: the new fields. Edits save only what changed (a changed highlight list counts). An emptied link name keeps the saved one.saveRelatedwrites the list first, then removes links that were taken out, like topics and partners.docs/admin-guide.md: the new fields and panels.⚙️ Backend / admin only: data changes
.env.exampleand noted below)Uses the columns and tables from the event details data PR. New dependency:
markdown-it(and@types/markdown-it).How to test
pnpm i && pnpm devinapps/admin#ff9770as the main colour and check the preview. Type a description with the toolbar and press Preview.Checklist
pnpm lintandpnpm buildpass locally.envfiles committed (anon key only on the client, never the service role key)