Open timcosgrove opened 7 months ago
@timcosgrove do you have the time for this? Should this go to PW to manage as part of our ramp up on AP? (cc @FranECross @randimays )
Adding Public Websites team label since Tim agreed we could pick this up. Not removing AP, for visibility. (cc @FranECross )
@timcosgrove @jilladams Any follow up on this?
We've been advised generally on Sitewide not to try and contribute code changes to AP just yet, while you all try to finalize Events to ship. If this is blocking, and we'd like to get Sitewide involved, let me know and I can follow up with @mmiddaugh / @Agile6MSkinner.
Status
[2024-04-08] Jill checked with Tim Cosgrove about the PW team doing this work, and he agreed. Note that this ticket is blocked by the Spike noted under dependencies.
Requirements
We need to replicate work done on Events in Next Build so that the two templates for Events are kept in sync and Veterans will continue to get the information they need when Next Build goes to production.
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
Background & implementation details
See https://github.com/department-of-veterans-affairs/va.gov-cms/issues/16578 for the original work and https://github.com/department-of-veterans-affairs/content-build/pull/1997 for the code changes that were implemented in Content Build.