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
98 stars 68 forks source link

[EPIC] Standardize phone number entry in Drupal interfaces #17854

Open jilladams opened 6 months ago

jilladams commented 6 months ago

Update 7/18/2024: Renaming this epic to better reflect the specific set of work we will be tackling and changing to be Sitewide rather than Facilities - @davidmpickett

Background

Historically we allowed Drupal editors to enter phone number into a phone number Field field_phone_number that allowed for a wide range of input. (This is on VAMC facilities primarily. VAMC Health Services already use the phone number paragraph type, and will not be addressed in this epic.)

We later developed the phone number Paragraph Type paragraphs_type/phone_number which breaks down the components of phone numbers into separate input fields so that the FE can better parse the data and pass it to the Design System Component.

Example of phone Field

351116522-781cf96b-d5cf-49df-a6b3-4a7aa5c86ea2

Example of phone Paragraph Type

Screenshot 2024-07-22 at 4 21 42 PM

The Work

The Impact

davidmpickett commented 3 months ago

@Agile6MSkinner @mmiddaugh @jilladams I want to note that while the tickets that are in this epic are tightly scoped around improving one Drupal "component" across multiple products, this epic also currently includes another epic which is very product specific (Mental Health Phone Numbers).

Would be good to clarify if the remaining parts of #9717 are part of the Q3 priority, or if that's just a vestige of how we originally organized this.

Edit I went ahead and made that change and also retitled this epic so it can include non-facilities tickets like #17326

davidmpickett commented 3 months ago

Brief notes from a prefinement meeting today: