Next-Build: Expose CMS "registration required" field information from events to the front-end #17735
Labels
Accelerated Publishing
Events
product maintained by Public Websites team
Needs refining
Issue status
next-build
FE Repository that will replace content-build. Uses NextJS, builds static pages.
Public Websites
Scrum team in the Sitewide crew
sitewide
VA.gov frontend
CMS team practice area
Status
[2025-01-09] [Fran] Moved to the backlog until NB engineers are available, and/or decisions made on which team changes code.
Description
In #16578 we added markup to content-build to process a "registration required" field.
That markup was not also added to next-build. Next build events are now live in production, and this needs to be implemented to get back to prod parity with the old content-build.
Background & implementation details
See #16578 for the original work and department-of-veterans-affairs/content-build#1997 for the code changes that were implemented in Content Build.
Acceptance criteria
AC1: FE displays Editor's choice for Call to Action of 'Register'
GIVEN Editor has created an event where Registration is required
AND they click the checkbox for "Include information on how to join this event"
WHEN they choose the Call to action 'Register'
AND they click the checkbox for Registration is required for this event
AND they enter/choose all other required fields/information and Save
THEN the FE for the event displays the text "Registration: Required
AND the FE for the event displays "Register" as a link next to the green arrow
AC2: Editor chooses Call to Action 'Reserve your spot', and indicates RSVP is required
GIVEN Editor has created an event where an RSVP is required
AND they click the checkbox for "Include information on how to join this event"
WHEN they choose the Call to action 'Reserve your spot'
AND they click the checkbox indicating RSVP is required for this event
AND they enter/choose all other required fields/information and Save
THEN the FE for the event displays the text "RSVP: Required
AND the FE for the event displays "RSVP" as a link next to the green arrow
AC3: Editor chooses Call to Action 'Apply', and indicates this action is required
GIVEN Editor has created an event where submitting an application is required
AND they click the checkbox for "Include information on how to join this event"
WHEN they choose the Call to action 'Apply'
AND they click the checkbox indicating applying is required for this event
AND they enter/choose all other required fields/information and Save
THEN the FE for the event displays the text "Apply: Required
AND the FE for the event displays "Apply" as a link next to the green arrow
The text was updated successfully, but these errors were encountered: