Repository navigation
CP-8843: Document the Event Format settings CP-8843 added - #201
Merged
Merged
Conversation
The Event Format create, get and edit docs on main list the appointment settings but not the ten settings CP-8843 made writable through API v2: Self Check-in, guest fields and booking form, assigning guests to workers, shortened address and Event Roles. The API accepts and returns them (EventCategories::Saver::ATTRIBUTES, show.json.jbuilder on develop). Add them to EventFormatInput and EventFormatDetail, copied from the Rails repo's contract-tested spec, and to the create and edit cards. The edit card also gains name, guest_status_ids and attendance_form_id, which the endpoint already accepts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kb53VjmH6L7V4rP11W22KD
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Follow-up to #200, which brought in CP-8843's docs drafts (#55, #56 and #57, now closed). Jira: https://makerble.atlassian.net/browse/CP-8843
#200 covers everything from those drafts except one gap. For the Event Format create, get and edit endpoints it kept
main's existing version, which documents the appointment settings. That version lacks the ten settings CP-8843 made writable through API v2 (MakerbleDev/makerble#16880):survey_kiosk_enabledandsurvey_kiosk_registration_enabled(Self Check-in)enable_guest_fieldsandenable_guest_booking_formassign_guests_to_workers_settingsuggest_shortened_addressandapply_shortened_addressenable_event_roles,event_role_ids_for_event_managers_and_workersandevent_role_ids_for_guestsOn
developthe API accepts all ten (EventCategories::Saver::ATTRIBUTES) and returns them (event_categories/show.json.jbuilder), alongside the appointment settings.What changes
openapi.yamlEventFormatInputandEventFormatDetail. The definitions are copied from the Rails repo's contract-tested spec.server.jsattendance_form_idto the "Create an Event Format" card.nameandguest_status_ids, which the endpoint already accepted but the card didn't list.Nothing else changes: no styles, head, assets or routes.
npm run checkpasses.Merge timing: the Rails change was merged into
developon 23 October (MakerbleDev/makerble#16880). Merge this once that is live in production, if it isn't already.Auto-fix may be enabled on this PR — replies to review comments could come from Claude rather than the named author.
Generated by Claude Code