Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VACMS-10089: Checkbox to add event to National Outreach Calendar #15552

Merged
merged 26 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
422537e
VACMS-10086: Storing temp hacks for checkbox.
dsasser Sep 28, 2023
d9a2211
Merge remote-tracking branch 'origin/main' into VACMS-10089-nat-outre…
dsasser Sep 28, 2023
b4a5600
VACMS-10089: Get rid of temp hacks.
dsasser Sep 28, 2023
4d4dfd2
VACMS-10089: Add to outreach calendar checkbox now sets the correct v…
dsasser Sep 28, 2023
de70309
VACMS-10089: Adds new 'add to outrech calendar' field.
dsasser Sep 28, 2023
e4fa0d0
VACMS-10089: Moves properties to constants.
dsasser Sep 29, 2023
9548373
VACMS-10089: Restore revision log to the proper location.
dsasser Sep 29, 2023
6073acd
VACMS-10089: Updates style of checkbox and label.
dsasser Sep 29, 2023
0e33790
VACMS-10089: Sets default value and modifies the title of the 'add to…
dsasser Oct 2, 2023
3cac1df
VACMS-10089: Adds missing function return types.
dsasser Oct 2, 2023
ca53ff2
VACMS-10089: Adds defualt value for field_listing if user is Outreach…
dsasser Oct 2, 2023
d8c1f34
Merge remote-tracking branch 'origin/main' into VACMS-10089-nat-outre…
dsasser Oct 4, 2023
2f81169
Bump phpstan/phpstan from 1.10.36 to 1.10.37 (#15521)
dependabot[bot] Oct 5, 2023
0eb85d5
VACMS-10089: Cypress testing of outreach cal checkbox
chri5tia Oct 5, 2023
81f9c45
VACMS-10089: Add feature toggle for outreach calendar checkbox
chri5tia Oct 5, 2023
812b8c8
VACMS-10089: Remove unnessary cypress tests.
chri5tia Oct 5, 2023
33cf643
Revert "Bump phpstan/phpstan from 1.10.36 to 1.10.37 (#15521)"
chri5tia Oct 5, 2023
f9e3cae
VACMS-10089: Don't change to snekCase cuz it was wrong
chri5tia Oct 5, 2023
716ad41
VACMS-10089: Rename class property for outreach feature toggle
chri5tia Oct 5, 2023
24bcc1d
VACMS-10089: Adjust how the feature toggle is used.
dsasser Oct 6, 2023
653dbbf
VACMS-10089: Disable some tests that rely on a feature toggle being set.
dsasser Oct 6, 2023
8a4fbfd
Merge remote-tracking branch 'origin/main' into VACMS-10089-nat-outre…
dsasser Oct 6, 2023
a2c7fbb
VACMS-10089: Towards the feature cypress test
chri5tia Oct 6, 2023
17ffcde
VACMS-10089: More cypress.
dsasser Oct 6, 2023
9353402
VACMS-10089: Finish cypress tests woot
chri5tia Oct 6, 2023
bbeab52
VACMS-10089: Remove redundant media upload test
chri5tia Oct 6, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 25 additions & 10 deletions config/sync/core.entity_form_display.node.event.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ dependencies:
- field.field.node.event.field_media
- field.field.node.event.field_meta_tags
- field.field.node.event.field_order
- field.field.node.event.field_publish_to_outreach_cal
- field.field.node.event.field_url_of_an_online_event
- node.type.event
- workflows.workflow.editorial
Expand All @@ -46,7 +47,7 @@ third_party_settings:
label: 'Section settings'
region: content
parent_name: ''
weight: 8
weight: 9
format_type: details_sidebar
format_settings:
classes: ''
Expand All @@ -64,7 +65,7 @@ third_party_settings:
label: Location
region: content
parent_name: ''
weight: 7
weight: 8
format_type: details
format_settings:
classes: ''
Expand All @@ -81,7 +82,7 @@ third_party_settings:
label: Registration
region: content
parent_name: ''
weight: 6
weight: 7
format_type: fieldset
format_settings:
classes: ''
Expand Down Expand Up @@ -142,7 +143,7 @@ third_party_settings:
label: 'Meta Tags'
region: content
parent_name: ''
weight: 5
weight: 6
format_type: fieldset
format_settings:
classes: ''
Expand Down Expand Up @@ -173,7 +174,7 @@ third_party_settings:
label: Free
region: content
parent_name: group_all_events_are_free
weight: 15
weight: 32
format_type: html_element
format_settings:
classes: ''
Expand All @@ -200,7 +201,7 @@ content:
third_party_settings: { }
field_additional_information_abo:
type: text_textarea
weight: 31
weight: 32
region: content
settings:
rows: 5
Expand All @@ -220,7 +221,7 @@ content:
third_party_settings: { }
field_body:
type: text_textarea
weight: 4
weight: 5
region: content
settings:
rows: 5
Expand Down Expand Up @@ -258,7 +259,10 @@ content:
custom
show_extra: true
hide_date: false
separator: to
add_abbreviations: ''
allday: true
remove_seconds: false
third_party_settings:
smart_date_recur:
modal: true
Expand Down Expand Up @@ -318,7 +322,7 @@ content:
third_party_settings: { }
field_last_saved_by_an_editor:
type: datetime_timestamp
weight: 44
weight: 16
region: content
settings: { }
third_party_settings: { }
Expand All @@ -337,7 +341,11 @@ content:
weight: 2
region: content
settings: { }
third_party_settings: { }
third_party_settings:
limited_field_widgets:
limit_values: '1'
change_labels:
add_another: ''
field_location_humanreadable:
type: string_textfield
weight: 16
Expand All @@ -354,7 +362,7 @@ content:
third_party_settings: { }
field_media:
type: media_library_widget
weight: 3
weight: 4
region: content
settings:
media_types: { }
Expand All @@ -365,6 +373,13 @@ content:
region: content
settings: { }
third_party_settings: { }
field_publish_to_outreach_cal:
type: boolean_checkbox
weight: 3
region: content
settings:
display_label: true
third_party_settings: { }
field_url_of_an_online_event:
type: linkit
weight: 15
Expand Down
35 changes: 27 additions & 8 deletions config/sync/core.entity_view_display.node.event.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ dependencies:
- field.field.node.event.field_media
- field.field.node.event.field_meta_tags
- field.field.node.event.field_order
- field.field.node.event.field_publish_to_outreach_cal
- field.field.node.event.field_url_of_an_online_event
- node.type.event
module:
Expand Down Expand Up @@ -50,6 +51,7 @@ third_party_settings:
group_c:
children:
- field_datetime_range_timezone
- field_listing
- field_media
- field_body
- field_url_of_an_online_event
Expand All @@ -74,7 +76,7 @@ third_party_settings:
label: Location-related
parent_name: group_c
region: content
weight: 28
weight: 7
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -89,7 +91,7 @@ third_party_settings:
label: 'Registration related'
parent_name: group_c
region: content
weight: 29
weight: 8
format_type: fieldset
format_settings:
classes: ''
Expand Down Expand Up @@ -134,7 +136,7 @@ content:
label: above
settings: { }
third_party_settings: { }
weight: 25
weight: 4
region: content
field_datetime_range_timezone:
type: smartdate_default
Expand All @@ -146,8 +148,17 @@ content:
force_chronological: false
add_classes: false
time_wrapper: true
localize: false
parts:
- start
- end
duration:
separator: ' | '
unit: ''
decimals: 2
suffix: h
third_party_settings: { }
weight: 23
weight: 1
region: content
field_description:
type: string
Expand All @@ -170,7 +181,7 @@ content:
label: above
settings: { }
third_party_settings: { }
weight: 27
weight: 6
region: content
field_event_registrationrequired:
type: boolean
Expand Down Expand Up @@ -222,6 +233,14 @@ content:
third_party_settings: { }
weight: 17
region: content
field_listing:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 2
region: content
field_location_humanreadable:
type: string
label: above
Expand All @@ -244,7 +263,7 @@ content:
view_mode: default
link: false
third_party_settings: { }
weight: 24
weight: 3
region: content
field_order:
type: list_default
Expand All @@ -263,15 +282,15 @@ content:
rel: ''
target: ''
third_party_settings: { }
weight: 26
weight: 5
region: content
hidden:
breadcrumbs: true
content_moderation_control: true
field_administration: true
field_last_saved_by_an_editor: true
field_listing: true
field_meta_tags: true
field_publish_to_outreach_cal: true
langcode: true
links: true
search_api_excerpt: true
15 changes: 15 additions & 0 deletions config/sync/core.entity_view_display.node.event.teaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ dependencies:
- field.field.node.event.field_media
- field.field.node.event.field_meta_tags
- field.field.node.event.field_order
- field.field.node.event.field_publish_to_outreach_cal
- field.field.node.event.field_url_of_an_online_event
- node.type.event
module:
- link
- smart_date
- text
- user
Expand All @@ -35,6 +37,18 @@ targetEntityType: node
bundle: event
mode: teaser
content:
breadcrumbs:
type: link
label: hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
third_party_settings: { }
weight: -5
region: content
field_body:
type: text_default
label: hidden
Expand Down Expand Up @@ -73,6 +87,7 @@ hidden:
field_media: true
field_meta_tags: true
field_order: true
field_publish_to_outreach_cal: true
field_url_of_an_online_event: true
langcode: true
links: true
Expand Down
1 change: 1 addition & 0 deletions config/sync/feature_toggle.features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ features:
feature_single_value_field_link: FEATURE_SINGLE_VALUE_FIELD_LINK
feature_health_connect_number: FEATURE_HEALTH_CONNECT_NUMBER
feature_mobile_app_promo: FEATURE_MOBILE_APP_PROMO
feature_event_outreach_checkbox: FEATURE_EVENT_OUTREACH_CHECKBOX
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
uuid: ba2d9d43-c4b9-4bfd-831a-9ef7544d43f8
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_publish_to_outreach_cal
- node.type.event
module:
- tmgmt_content
third_party_settings:
tmgmt_content:
excluded: false
id: node.event.field_publish_to_outreach_cal
field_name: field_publish_to_outreach_cal
entity_type: node
bundle: event
label: 'Publish to the National Outreach Calendar'
description: ''
required: false
translatable: false
default_value:
-
value: 0
default_value_callback: ''
settings:
on_label: 'Yes'
off_label: 'No'
field_type: boolean
2 changes: 1 addition & 1 deletion config/sync/field.storage.node.field_listing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ settings:
target_type: node
module: core
locked: false
cardinality: 1
cardinality: -1
translatable: true
indexes: { }
persist_with_no_fields: false
Expand Down
18 changes: 18 additions & 0 deletions config/sync/field.storage.node.field_publish_to_outreach_cal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
uuid: ad80a854-7f29-45c1-871a-2d087663f64a
langcode: en
status: true
dependencies:
module:
- node
id: node.field_publish_to_outreach_cal
field_name: field_publish_to_outreach_cal
entity_type: node
type: boolean
settings: { }
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
Loading
Loading