department-of-veterans-affairs / va.gov-cms

Editor-centered management for Veteran-centered content.
https://prod.cms.va.gov
GNU General Public License v2.0
78 stars 59 forks source link

[Forms DB] Add field on Drupal form content type to indicate there's a react component for a particular form #17962

Closed FranECross closed 9 hours ago

FranECross commented 2 weeks ago

Description

Add an on/off checkbox field on Drupal content type to indicate there's a react component for a particular form.

_From Eric Tilberg in this Slack thread:_ The official name is Form Upload. I've been referring to the widget as the "form upload widget" and the front-end process itself has been the "form upload flow". (It sounds kind of ridiculous to call it the "form upload form", especially since on the vets-website side, we aren't using the normal scaffolding that we use for our simple forms).

Default is unchecked Named: Form Upload Machine name: TBD Help text: TBD Location on edit page: TBD Initial value: Empty

User story

AS AN engineer working on the Form Upload feature I WANT a field in Drupal that will indicate if there is a react component for a particular form SO THAT I can present the Veteran, their caregiver, family member or survivor with the Form Upload feature

Acceptance criteria

FranECross commented 1 week ago

Noting Slack status offered to Erick in this thread in response to his question.

dsasser commented 1 week ago

Location on edit page: TBD

@FranECross did we get an update on the location of this field on the VA Form form?

FranECross commented 1 week ago

Ohhh, thanks for the reminder, @dsasser ! I snoozed on that question and will ask now. Stay tuned!

dsasser commented 2 days ago

Update 5/13/24

The PR is pending approval. FE graphql change has been communicated to Eric and his PR has been updated accordingly.

Once we get this merged, we'll need to wait for the CMS to release before Eric's PR will pass tests. Once tests pass there, Eric will finally be able to merge in his changes to content-build.

dsasser commented 9 hours ago

Verified on prod:

Screenshot 2024-05-15 at 10 31 54 AM