Skip to content

Commit

Permalink
VOTE- 3134 replace online and in-person date fields (#1131)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamiraMSadat authored Nov 27, 2024
1 parent 83f7093 commit 6cf4f86
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 297 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ dependencies:
- field.field.node.state_territory.field_g_mail_received_deadline
- field.field.node.state_territory.field_g_online_deadline
- field.field.node.state_territory.field_identification_inst
- field.field.node.state_territory.field_in_person_deadline
- field.field.node.state_territory.field_in_person_registration
- field.field.node.state_territory.field_in_state_name
- field.field.node.state_territory.field_is_state
Expand All @@ -34,7 +33,6 @@ dependencies:
- field.field.node.state_territory.field_nvrf_fields
- field.field.node.state_territory.field_nvrf_last_updated_date
- field.field.node.state_territory.field_of_state_name
- field.field.node.state_territory.field_online_deadline
- field.field.node.state_territory.field_online_registration
- field.field.node.state_territory.field_override_confirm_reg_link
- field.field.node.state_territory.field_override_election_hp_link
Expand All @@ -55,7 +53,6 @@ dependencies:
module:
- content_moderation
- datetime
- double_field
- field_group
- link
- media_library
Expand Down Expand Up @@ -365,29 +362,6 @@ content:
rows: 5
placeholder: ''
third_party_settings: { }
field_in_person_deadline:
type: double_field
weight: 6
region: content
settings:
first:
type: datetime
label_display: block
size: 30
placeholder: ''
label: Ok
cols: 10
rows: 5
second:
type: textfield
label_display: block
size: 8
placeholder: '11:59 PM'
label: Ok
cols: 10
rows: 5
inline: true
third_party_settings: { }
field_in_person_registration:
type: vote_fields_state_content
weight: 17
Expand Down Expand Up @@ -522,29 +496,6 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
field_online_deadline:
type: double_field
weight: 7
region: content
settings:
first:
type: datetime
label_display: block
size: 30
placeholder: ''
label: Ok
cols: 10
rows: 5
second:
type: textfield
label_display: block
size: 8
placeholder: '11:59 PM'
label: Ok
cols: 10
rows: 5
inline: true
third_party_settings: { }
field_online_registration:
type: vote_fields_state_content
weight: 14
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ dependencies:
- field.field.node.state_territory.field_g_mail_received_deadline
- field.field.node.state_territory.field_g_online_deadline
- field.field.node.state_territory.field_identification_inst
- field.field.node.state_territory.field_in_person_deadline
- field.field.node.state_territory.field_in_person_registration
- field.field.node.state_territory.field_in_state_name
- field.field.node.state_territory.field_is_state
Expand All @@ -34,7 +33,6 @@ dependencies:
- field.field.node.state_territory.field_nvrf_fields
- field.field.node.state_territory.field_nvrf_last_updated_date
- field.field.node.state_territory.field_of_state_name
- field.field.node.state_territory.field_online_deadline
- field.field.node.state_territory.field_online_registration
- field.field.node.state_territory.field_override_confirm_reg_link
- field.field.node.state_territory.field_override_election_hp_link
Expand All @@ -53,7 +51,6 @@ dependencies:
- node.type.state_territory
module:
- datetime
- double_field
- link
- metatag
- text
Expand Down Expand Up @@ -119,7 +116,7 @@ content:
label: above
settings:
timezone_override: ''
format_type: medium
format_type: long_date
third_party_settings: { }
weight: 49
region: content
Expand All @@ -128,7 +125,7 @@ content:
label: above
settings:
timezone_override: ''
format_type: medium
format_type: long_date
third_party_settings: { }
weight: 48
region: content
Expand Down Expand Up @@ -183,28 +180,6 @@ content:
third_party_settings: { }
weight: 25
region: content
field_in_person_deadline:
type: double_field_unformatted_list
label: hidden
settings:
first:
format_type: long_date
link: false
hidden: false
decimal_separator: .
thousand_separator: ''
scale: 2
second:
format_type: medium
link: false
hidden: false
decimal_separator: .
thousand_separator: ''
scale: 2
inline: true
third_party_settings: { }
weight: 14
region: content
field_in_person_registration:
type: vote_fields_state_content_default
label: above
Expand Down Expand Up @@ -330,28 +305,6 @@ content:
third_party_settings: { }
weight: 22
region: content
field_online_deadline:
type: double_field_unformatted_list
label: hidden
settings:
first:
format_type: long_date
link: false
hidden: false
decimal_separator: .
thousand_separator: ''
scale: 2
second:
format_type: medium
link: false
hidden: false
decimal_separator: .
thousand_separator: ''
scale: 2
inline: true
third_party_settings: { }
weight: 8
region: content
field_online_registration:
type: vote_fields_state_content_default
label: above
Expand Down
67 changes: 18 additions & 49 deletions config/sync/core.entity_view_display.node.state_territory.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ dependencies:
- field.field.node.state_territory.field_g_mail_received_deadline
- field.field.node.state_territory.field_g_online_deadline
- field.field.node.state_territory.field_identification_inst
- field.field.node.state_territory.field_in_person_deadline
- field.field.node.state_territory.field_in_person_registration
- field.field.node.state_territory.field_in_state_name
- field.field.node.state_territory.field_is_state
Expand All @@ -35,7 +34,6 @@ dependencies:
- field.field.node.state_territory.field_nvrf_fields
- field.field.node.state_territory.field_nvrf_last_updated_date
- field.field.node.state_territory.field_of_state_name
- field.field.node.state_territory.field_online_deadline
- field.field.node.state_territory.field_online_registration
- field.field.node.state_territory.field_override_confirm_reg_link
- field.field.node.state_territory.field_override_election_hp_link
Expand All @@ -54,7 +52,6 @@ dependencies:
- node.type.state_territory
module:
- datetime
- double_field
- link
- options
- user
Expand Down Expand Up @@ -98,6 +95,24 @@ content:
third_party_settings: { }
weight: 15
region: content
field_date_in_person_deadline:
type: datetime_default
label: hidden
settings:
timezone_override: ''
format_type: long_date
third_party_settings: { }
weight: 33
region: content
field_date_online_deadline:
type: datetime_default
label: hidden
settings:
timezone_override: ''
format_type: long_date
third_party_settings: { }
weight: 34
region: content
field_election_homepage_link:
type: link
label: hidden
Expand Down Expand Up @@ -142,28 +157,6 @@ content:
third_party_settings: { }
weight: 8
region: content
field_in_person_deadline:
type: double_field_unformatted_list
label: hidden
settings:
first:
format_type: long_date
link: false
hidden: false
decimal_separator: .
thousand_separator: ''
scale: 2
second:
format_type: medium
link: false
hidden: false
decimal_separator: .
thousand_separator: ''
scale: 2
inline: true
third_party_settings: { }
weight: 13
region: content
field_in_person_registration:
type: vote_fields_state_content_default
label: hidden
Expand Down Expand Up @@ -269,28 +262,6 @@ content:
third_party_settings: { }
weight: 23
region: content
field_online_deadline:
type: double_field_unformatted_list
label: hidden
settings:
first:
format_type: long_date
link: false
hidden: false
decimal_separator: .
thousand_separator: ''
scale: 2
second:
format_type: medium
link: false
hidden: false
decimal_separator: .
thousand_separator: ''
scale: 2
inline: true
third_party_settings: { }
weight: 7
region: content
field_online_registration:
type: vote_fields_state_content_default
label: hidden
Expand Down Expand Up @@ -393,8 +364,6 @@ hidden:
body: true
field_address_location_inst: true
field_content_version: true
field_date_in_person_deadline: true
field_date_online_deadline: true
field_identification_inst: true
field_mailing_address_inst: true
field_metatags: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ dependencies:
- field.field.node.state_territory.field_g_mail_received_deadline
- field.field.node.state_territory.field_g_online_deadline
- field.field.node.state_territory.field_identification_inst
- field.field.node.state_territory.field_in_person_deadline
- field.field.node.state_territory.field_in_person_registration
- field.field.node.state_territory.field_in_state_name
- field.field.node.state_territory.field_is_state
Expand All @@ -35,7 +34,6 @@ dependencies:
- field.field.node.state_territory.field_nvrf_fields
- field.field.node.state_territory.field_nvrf_last_updated_date
- field.field.node.state_territory.field_of_state_name
- field.field.node.state_territory.field_online_deadline
- field.field.node.state_territory.field_online_registration
- field.field.node.state_territory.field_override_confirm_reg_link
- field.field.node.state_territory.field_override_election_hp_link
Expand Down Expand Up @@ -84,7 +82,6 @@ hidden:
field_g_mail_received_deadline: true
field_g_online_deadline: true
field_identification_inst: true
field_in_person_deadline: true
field_in_person_registration: true
field_in_state_name: true
field_is_state: true
Expand All @@ -101,7 +98,6 @@ hidden:
field_nvrf_fields: true
field_nvrf_last_updated_date: true
field_of_state_name: true
field_online_deadline: true
field_online_registration: true
field_override_confirm_reg_link: true
field_override_election_hp_link: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ id: node.state_territory.field_date_in_person_deadline
field_name: field_date_in_person_deadline
entity_type: node
bundle: state_territory
label: 'Date in-person deadline'
label: 'In-person deadline'
description: ''
required: false
translatable: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ id: node.state_territory.field_date_online_deadline
field_name: field_date_online_deadline
entity_type: node
bundle: state_territory
label: 'Date Online Deadline'
label: 'Online Deadline'
description: ''
required: false
translatable: false
Expand Down

This file was deleted.

Loading

0 comments on commit 6cf4f86

Please sign in to comment.