Skip to content

Commit

Permalink
VACMS-16348: Add fields to service location (#17017)
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: Adds service options, office hours and virtual support

* VACMS-16348: Adds appointment fields

* VACMS-16348: Adds online scheduling field

* VACMS-16348: Adds a necessary question mark

* VACMS-16348: Updates description for office visits
  • Loading branch information
omahane committed Apr 26, 2024
1 parent e78dde9 commit 6bedf9b
Show file tree
Hide file tree
Showing 18 changed files with 692 additions and 84 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,28 @@ status: true
dependencies:
config:
- field.field.paragraph.service_location.field_additional_hours_info
- field.field.paragraph.service_location.field_appt_intro_text_custom
- field.field.paragraph.service_location.field_appt_intro_text_type
- field.field.paragraph.service_location.field_email_contacts
- field.field.paragraph.service_location.field_hours
- field.field.paragraph.service_location.field_office_hours
- field.field.paragraph.service_location.field_office_visits
- field.field.paragraph.service_location.field_online_scheduling_avail
- field.field.paragraph.service_location.field_other_phone_numbers
- field.field.paragraph.service_location.field_phone
- field.field.paragraph.service_location.field_service_delivery_options
- field.field.paragraph.service_location.field_service_location_address
- field.field.paragraph.service_location.field_use_facility_phone_number
- field.field.paragraph.service_location.field_use_main_facility_phone
- field.field.paragraph.service_location.field_virtual_support
- paragraphs.paragraphs_type.service_location
module:
- change_labels
- entity_browser_entity_form
- field_group
- ief_table_view_mode
- limited_field_widgets
- office_hours
- paragraphs
- textfield_counter
third_party_settings:
field_group:
group_service_hours:
Expand All @@ -30,7 +36,7 @@ third_party_settings:
label: Hours
region: content
parent_name: ''
weight: 4
weight: 3
format_type: details
format_settings:
classes: ''
Expand All @@ -44,7 +50,7 @@ third_party_settings:
label: Address
region: content
parent_name: ''
weight: 3
weight: 2
format_type: details
format_settings:
classes: ''
Expand All @@ -59,7 +65,7 @@ third_party_settings:
label: 'Contact info'
region: content
parent_name: ''
weight: 5
weight: 4
format_type: details
format_settings:
classes: ''
Expand Down Expand Up @@ -96,6 +102,56 @@ third_party_settings:
open: true
description: ''
required_fields: false
group_service_options:
children:
- field_office_visits
- field_virtual_support
label: 'Service options'
region: content
parent_name: ''
weight: 0
format_type: details
format_settings:
classes: ''
show_empty_fields: false
id: ''
open: false
description: ''
required_fields: true
group_appointments:
children:
- field_appt_intro_text_type
- field_appt_intro_text_custom
- group_phone_number_for_appt
- field_online_scheduling_avail
label: Appointments
region: content
parent_name: ''
weight: 1
format_type: details
format_settings:
classes: ''
show_empty_fields: false
id: ''
open: false
description: 'Provide information that helps site visitors make an appointment for this service.'
required_fields: true
group_phone_number_for_appt:
children:
- field_use_facility_phone_number
- field_other_phone_numbers
label: 'Phone number for appointments'
region: content
parent_name: group_appointments
weight: 7
format_type: details
format_settings:
classes: ''
show_empty_fields: false
id: ''
open: true
description: ''
required_fields: true
id: paragraph.service_location.default
targetEntityType: paragraph
bundle: service_location
Expand All @@ -109,6 +165,26 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
field_appt_intro_text_custom:
type: string_textarea_with_counter
weight: 6
region: content
settings:
rows: 5
placeholder: ''
maxlength: 200
counter_position: after
js_prevent_submit: true
count_only_mode: false
count_html_characters: true
textcount_status_message: '<span class="remaining_count">@remaining_count</span> characters remaining'
third_party_settings: { }
field_appt_intro_text_type:
type: options_buttons
weight: 5
region: content
settings: { }
third_party_settings: { }
field_email_contacts:
type: inline_entity_form_complex_table_view_mode
weight: 3
Expand Down Expand Up @@ -145,6 +221,41 @@ content:
third_party_settings:
limited_field_widgets:
limit_values: '0'
field_office_visits:
type: options_buttons
weight: 4
region: content
settings: { }
third_party_settings: { }
field_online_scheduling_avail:
type: options_select
weight: 8
region: content
settings: { }
third_party_settings: { }
field_other_phone_numbers:
type: inline_entity_form_complex_table_view_mode
weight: 30
region: content
settings:
form_mode: default
override_labels: true
label_singular: 'phone number'
label_plural: 'phone numbers'
allow_new: true
allow_existing: false
match_operator: CONTAINS
allow_duplicate: false
collapsible: false
collapsed: false
revision: false
removed_reference: optional
allow_system_delete: 0
third_party_settings:
entity_browser_entity_form:
entity_browser_id: _none
change_labels:
add_another: ''
field_phone:
type: inline_entity_form_complex_table_view_mode
weight: 5
Expand All @@ -166,19 +277,9 @@ content:
third_party_settings:
entity_browser_entity_form:
entity_browser_id: _none
field_service_delivery_options:
type: options_buttons
weight: 2
region: content
settings: { }
third_party_settings:
limited_field_widgets:
limit_values: '0'
change_labels:
add_another: ''
field_service_location_address:
type: paragraphs
weight: 25
weight: 21
region: content
settings:
title: Address
Expand All @@ -195,13 +296,26 @@ content:
collapse_edit_all: '0'
duplicate: '0'
third_party_settings: { }
field_use_facility_phone_number:
type: boolean_checkbox
weight: 29
region: content
settings:
display_label: true
third_party_settings: { }
field_use_main_facility_phone:
type: boolean_checkbox
weight: 4
region: content
settings:
display_label: true
third_party_settings: { }
field_virtual_support:
type: options_buttons
weight: 5
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
status: true
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,19 @@ status: true
dependencies:
config:
- field.field.paragraph.service_location.field_additional_hours_info
- field.field.paragraph.service_location.field_appt_intro_text_custom
- field.field.paragraph.service_location.field_appt_intro_text_type
- field.field.paragraph.service_location.field_email_contacts
- field.field.paragraph.service_location.field_hours
- field.field.paragraph.service_location.field_office_hours
- field.field.paragraph.service_location.field_office_visits
- field.field.paragraph.service_location.field_online_scheduling_avail
- field.field.paragraph.service_location.field_other_phone_numbers
- field.field.paragraph.service_location.field_phone
- field.field.paragraph.service_location.field_service_delivery_options
- field.field.paragraph.service_location.field_service_location_address
- field.field.paragraph.service_location.field_use_facility_phone_number
- field.field.paragraph.service_location.field_use_main_facility_phone
- field.field.paragraph.service_location.field_virtual_support
- paragraphs.paragraphs_type.service_location
module:
- entity_reference_revisions
Expand Down Expand Up @@ -92,6 +98,20 @@ content:
third_party_settings: { }
weight: 5
region: content
field_appt_intro_text_custom:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 15
region: content
field_appt_intro_text_type:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 12
region: content
field_email_contacts:
type: entity_reference_revisions_entity_view
label: visually_hidden
Expand Down Expand Up @@ -143,22 +163,37 @@ content:
third_party_settings: { }
weight: 3
region: content
field_phone:
field_office_visits:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 10
region: content
field_online_scheduling_avail:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 16
region: content
field_other_phone_numbers:
type: entity_reference_revisions_entity_view
label: visually_hidden
label: above
settings:
view_mode: default
link: ''
third_party_settings: { }
weight: 4
weight: 14
region: content
field_service_delivery_options:
type: entity_reference_label
label: above
field_phone:
type: entity_reference_revisions_entity_view
label: visually_hidden
settings:
link: false
view_mode: default
link: ''
third_party_settings: { }
weight: 6
weight: 4
region: content
field_service_location_address:
type: entity_reference_revisions_entity_view
Expand All @@ -169,6 +204,16 @@ content:
third_party_settings: { }
weight: 7
region: content
field_use_facility_phone_number:
type: boolean
label: above
settings:
format: default
format_custom_false: ''
format_custom_true: ''
third_party_settings: { }
weight: 13
region: content
field_use_main_facility_phone:
type: boolean
label: above
Expand All @@ -179,5 +224,12 @@ content:
third_party_settings: { }
weight: 3
region: content
field_virtual_support:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 11
region: content
hidden:
search_api_excerpt: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
uuid: 96e55910-7eba-493f-be2d-6908196adceb
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_appt_intro_text_custom
- paragraphs.paragraphs_type.service_location
module:
- tmgmt_content
third_party_settings:
tmgmt_content:
excluded: false
id: paragraph.service_location.field_appt_intro_text_custom
field_name: field_appt_intro_text_custom
entity_type: paragraph
bundle: service_location
label: 'Custom text'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string_long
Loading

0 comments on commit 6bedf9b

Please sign in to comment.