Skip to content

Commit

Permalink
VACMS-16348: Service location ux enhancements (#17048)
Browse files Browse the repository at this point in the history
* VACMS-14704: Adding service location fields (#15599)

* VACMS:14704: Adding service modalities

* VACMS-14704: Adds vocabulary

* VACMS-14704: Adds free-text fields.

* VACMS-14704: Update langage around service delivery

* VACMS-14704: Updates taxonomy label and description

* VACMS-16348: Removes unnecessary and undesired fields

* VACMS-16348: Shows Custom text when Customize text is selected

* VACMS-16348: Trying to get the default text

* VACMS-16348: Adds default text to Service Locations for VAMC facility health and Service region

* VACMS-16348: Removes VAMC Facility Health Service-level appointment code

* VACMS-16348: Adds VBA Facility service appt lead-in default text

* VACMS-16348: Adds VBA FAcility service appt default text UX

* VACMS-16348: DRYing off this code for the different content types and fields

* VACMS-16348: Adds nonclinical service default text field

* VACMS-16348: Restores the errant revision_log and adds right field for vba_facility_service

* VACMS-16348: Moves work out of backend and vamc and into facilities

* VACMS-16348: Trying to get paragraph validation to work

* VACMS-16348: Adds required state to custom text

* VACMS-16348: Removes text validation, as not working, for now

* VACMS-16348: Removing commented out code
  • Loading branch information
omahane authored and swirtSJW committed Feb 14, 2024
1 parent 0bd55a8 commit fa2f54b
Show file tree
Hide file tree
Showing 24 changed files with 316 additions and 138 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ dependencies:
- field.field.node.service_region.field_service_location
- field.field.node.service_region.field_service_name_and_descripti
- field.field.node.service_region.field_vba_region_facility_list
- field.field.node.service_region.field_vba_serv_reg_appt_default
- node.type.service_region
- workflows.workflow.restricted_archive
module:
Expand Down Expand Up @@ -39,7 +40,6 @@ third_party_settings:
description_display: after
group_primary_facility:
children:
- field_office
- field_facility_location
- field_service_location
label: 'Primary facility'
Expand Down Expand Up @@ -169,6 +169,7 @@ hidden:
body: true
created: true
field_last_saved_by_an_editor: true
field_vba_serv_reg_appt_default: true
langcode: true
path: true
promote: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ dependencies:
- field.field.node.vba_facility_service.field_office
- field.field.node.vba_facility_service.field_service_location
- field.field.node.vba_facility_service.field_service_name_and_descripti
- field.field.node.vba_facility_service.field_vba_fac_serv_appt_default
- node.type.vba_facility_service
- workflows.workflow.editorial
module:
Expand All @@ -27,7 +28,7 @@ third_party_settings:
label: 'Section settings'
region: content
parent_name: ''
weight: 6
weight: 5
format_type: details_sidebar
format_settings:
classes: ''
Expand All @@ -44,7 +45,7 @@ third_party_settings:
label: 'Editorial workflow'
region: content
parent_name: ''
weight: 7
weight: 6
format_type: fieldset
format_settings:
classes: ''
Expand Down Expand Up @@ -98,7 +99,7 @@ content:
third_party_settings: { }
field_last_saved_by_an_editor:
type: datetime_timestamp
weight: 10
weight: 9
region: content
settings: { }
third_party_settings: { }
Expand Down Expand Up @@ -150,7 +151,7 @@ content:
third_party_settings: { }
status:
type: boolean_checkbox
weight: 8
weight: 7
region: content
settings:
display_label: true
Expand All @@ -164,12 +165,13 @@ content:
placeholder: ''
third_party_settings: { }
url_redirects:
weight: 9
weight: 8
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
field_vba_fac_serv_appt_default: true
langcode: true
path: true
promote: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ dependencies:
- field.field.node.vba_facility_service.field_office
- field.field.node.vba_facility_service.field_service_location
- field.field.node.vba_facility_service.field_service_name_and_descripti
- field.field.node.vba_facility_service.field_vba_fac_serv_appt_default
- node.type.vba_facility_service
module:
- field_group
Expand Down Expand Up @@ -91,6 +92,7 @@ hidden:
field_enforce_unique_combo: true
field_last_saved_by_an_editor: true
field_service_location: true
field_vba_fac_serv_appt_default: true
langcode: true
moderation_state: true
path: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ dependencies:
- field.field.node.vha_facility_nonclinical_service.field_last_saved_by_an_editor
- field.field.node.vha_facility_nonclinical_service.field_service_location
- field.field.node.vha_facility_nonclinical_service.field_service_name_and_descripti
- field.field.node.vha_facility_nonclinical_service.field_vamc_nonclin_appt_default
- node.type.vha_facility_nonclinical_service
- workflows.workflow.editorial
module:
Expand Down Expand Up @@ -77,7 +78,7 @@ content:
third_party_settings: { }
field_last_saved_by_an_editor:
type: datetime_timestamp
weight: 26
weight: 8
region: content
settings: { }
third_party_settings: { }
Expand Down Expand Up @@ -130,6 +131,7 @@ content:
third_party_settings: { }
hidden:
created: true
field_vamc_nonclin_appt_default: true
langcode: true
promote: true
status: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ dependencies:
- field.field.node.service_region.field_service_location
- field.field.node.service_region.field_service_name_and_descripti
- field.field.node.service_region.field_vba_region_facility_list
- field.field.node.service_region.field_vba_serv_reg_appt_default
- node.type.service_region
module:
- entity_reference_revisions
- field_group
- markup
- user
third_party_settings:
field_group:
Expand Down Expand Up @@ -92,6 +94,13 @@ content:
third_party_settings: { }
weight: 2
region: content
field_vba_serv_reg_appt_default:
type: markup
label: above
settings: { }
third_party_settings: { }
weight: 6
region: content
hidden:
body: true
breadcrumbs: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dependencies:
- field.field.node.service_region.field_service_location
- field.field.node.service_region.field_service_name_and_descripti
- field.field.node.service_region.field_vba_region_facility_list
- field.field.node.service_region.field_vba_serv_reg_appt_default
- node.type.service_region
module:
- entity_reference_revisions
Expand Down Expand Up @@ -120,6 +121,7 @@ hidden:
body: true
breadcrumbs: true
content_moderation_control: true
field_vba_serv_reg_appt_default: true
langcode: true
links: true
search_api_excerpt: true
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dependencies:
- field.field.node.service_region.field_service_location
- field.field.node.service_region.field_service_name_and_descripti
- field.field.node.service_region.field_vba_region_facility_list
- field.field.node.service_region.field_vba_serv_reg_appt_default
- node.type.service_region
module:
- text
Expand Down Expand Up @@ -46,5 +47,6 @@ hidden:
field_service_location: true
field_service_name_and_descripti: true
field_vba_region_facility_list: true
field_vba_serv_reg_appt_default: true
langcode: true
search_api_excerpt: true
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ dependencies:
- field.field.node.vba_facility_service.field_office
- field.field.node.vba_facility_service.field_service_location
- field.field.node.vba_facility_service.field_service_name_and_descripti
- field.field.node.vba_facility_service.field_vba_fac_serv_appt_default
- node.type.vba_facility_service
module:
- allow_only_one
- entity_reference_revisions
- markup
- user
id: node.vba_facility_service.default
targetEntityType: node
Expand Down Expand Up @@ -51,6 +53,13 @@ content:
third_party_settings: { }
weight: 1
region: content
field_vba_fac_serv_appt_default:
type: markup
label: above
settings: { }
third_party_settings: { }
weight: 4
region: content
hidden:
breadcrumbs: true
content_moderation_control: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ dependencies:
- field.field.node.vba_facility_service.field_office
- field.field.node.vba_facility_service.field_service_location
- field.field.node.vba_facility_service.field_service_name_and_descripti
- field.field.node.vba_facility_service.field_vba_fac_serv_appt_default
- node.type.vba_facility_service
module:
- allow_only_one
Expand Down Expand Up @@ -53,6 +54,7 @@ hidden:
field_administration: true
field_last_saved_by_an_editor: true
field_service_location: true
field_vba_fac_serv_appt_default: true
langcode: true
links: true
search_api_excerpt: true
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ dependencies:
- field.field.node.vba_facility_service.field_office
- field.field.node.vba_facility_service.field_service_location
- field.field.node.vba_facility_service.field_service_name_and_descripti
- field.field.node.vba_facility_service.field_vba_fac_serv_appt_default
- node.type.vba_facility_service
module:
- user
Expand All @@ -32,5 +33,6 @@ hidden:
field_office: true
field_service_location: true
field_service_name_and_descripti: true
field_vba_fac_serv_appt_default: true
langcode: true
search_api_excerpt: true
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,23 @@ dependencies:
- field.field.node.vha_facility_nonclinical_service.field_last_saved_by_an_editor
- field.field.node.vha_facility_nonclinical_service.field_service_location
- field.field.node.vha_facility_nonclinical_service.field_service_name_and_descripti
- field.field.node.vha_facility_nonclinical_service.field_vamc_nonclin_appt_default
- node.type.vha_facility_nonclinical_service
module:
- markup
- user
id: node.vha_facility_nonclinical_service.default
targetEntityType: node
bundle: vha_facility_nonclinical_service
mode: default
content: { }
content:
field_vamc_nonclin_appt_default:
type: markup
label: above
settings: { }
third_party_settings: { }
weight: 1
region: content
hidden:
breadcrumbs: true
content_moderation_control: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ dependencies:
- field.field.node.vha_facility_nonclinical_service.field_last_saved_by_an_editor
- field.field.node.vha_facility_nonclinical_service.field_service_location
- field.field.node.vha_facility_nonclinical_service.field_service_name_and_descripti
- field.field.node.vha_facility_nonclinical_service.field_vamc_nonclin_appt_default
- node.type.vha_facility_nonclinical_service
module:
- allow_only_one
Expand Down Expand Up @@ -48,6 +49,7 @@ hidden:
field_facility_location: true
field_last_saved_by_an_editor: true
field_service_name_and_descripti: true
field_vamc_nonclin_appt_default: true
langcode: true
links: true
search_api_excerpt: true
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ dependencies:
- field.field.node.vha_facility_nonclinical_service.field_last_saved_by_an_editor
- field.field.node.vha_facility_nonclinical_service.field_service_location
- field.field.node.vha_facility_nonclinical_service.field_service_name_and_descripti
- field.field.node.vha_facility_nonclinical_service.field_vamc_nonclin_appt_default
- node.type.vha_facility_nonclinical_service
module:
- user
Expand All @@ -36,5 +37,6 @@ hidden:
field_last_saved_by_an_editor: true
field_service_location: true
field_service_name_and_descripti: true
field_vamc_nonclin_appt_default: true
langcode: true
search_api_excerpt: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
uuid: 58ae6795-1dcb-4ff9-9dee-389f59676ba4
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_vba_serv_reg_appt_default
- node.type.service_region
module:
- markup
- tmgmt_content
third_party_settings:
tmgmt_content:
excluded: false
id: node.service_region.field_vba_serv_reg_appt_default
field_name: field_vba_serv_reg_appt_default
entity_type: node
bundle: service_region
label: 'Appointment lead-in default'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
markup:
value: '<p>Contact us to schedule, reschedule, or cancel your appointment at our service region.</p>'
format: rich_text
field_type: markup
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
uuid: 6a047608-0392-4784-987f-ebe107cddf8a
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_vba_fac_serv_appt_default
- node.type.vba_facility_service
module:
- markup
- tmgmt_content
third_party_settings:
tmgmt_content:
excluded: false
id: node.vba_facility_service.field_vba_fac_serv_appt_default
field_name: field_vba_fac_serv_appt_default
entity_type: node
bundle: vba_facility_service
label: 'Appointment lead-in default'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
markup:
value: '<p>Contact us to schedule, reschedule, or cancel your appointment.</p>'
format: rich_text
field_type: markup
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
uuid: 84e6b6e5-56e6-4f90-8402-e549c0cd9030
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_vamc_nonclin_appt_default
- node.type.vha_facility_nonclinical_service
module:
- markup
- tmgmt_content
third_party_settings:
tmgmt_content:
excluded: false
id: node.vha_facility_nonclinical_service.field_vamc_nonclin_appt_default
field_name: field_vamc_nonclin_appt_default
entity_type: node
bundle: vha_facility_nonclinical_service
label: 'Appointment lead-in default'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
markup:
value: '<p>Contact us to schedule, reschedule, or cancel your appointment.</p>'
format: rich_text
field_type: markup
Loading

0 comments on commit fa2f54b

Please sign in to comment.