Skip to content

CP-8843: Document the Event Format settings CP-8843 added - #201

Merged
mattkepple merged 1 commit into
mainfrom
CP-8843-event-format-settings
Nov 23, 2026
Merged

mattkepple merged 1 commit into
mainfrom
CP-8843-event-format-settings

Conversation

@mattkepple

Copy link
Copy Markdown
Contributor

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_enabled and survey_kiosk_registration_enabled (Self Check-in)
  • enable_guest_fields and enable_guest_booking_form
  • assign_guests_to_workers_setting
  • suggest_shortened_address and apply_shortened_address
  • enable_event_roles, event_role_ids_for_event_managers_and_workers and event_role_ids_for_guests

On develop the API accepts all ten (EventCategories::Saver::ATTRIBUTES) and returns them (event_categories/show.json.jbuilder), alongside the appointment settings.

What changes

  • openapi.yaml
    • Adds the ten settings to EventFormatInput and EventFormatDetail. The definitions are copied from the Rails repo's contract-tested spec.
    • The appointment settings stay as they are.
  • server.js
    • Adds the ten settings and attendance_form_id to the "Create an Event Format" card.
    • The "Edit an Event Format" card gains the same fields, plus name and guest_status_ids, which the endpoint already accepted but the card didn't list.

Nothing else changes: no styles, head, assets or routes. npm run check passes.

Merge timing: the Rails change was merged into develop on 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

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
@vercel

vercel Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
api-docs Ready Ready Preview Nov 23, 2026 8:18pm UTC

@mattkepple
mattkepple marked this pull request as ready for review November 23, 2026 20:58
@mattkepple
mattkepple merged commit f229fdc into main Nov 23, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — 1c0274b9 Deployed Nov 23, 2026 by vercel[bot]
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.

2 participants