-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VACMS-15506 aging content fwb mvp with expirable content module (#17732)
* VACMS-15506: Adds expirable_content module. * VACMS-15506: Adds field to expiring content. This was not a successful test, as I was not able to get the field to auto-create a bundle field. * VACMS-15506: Gut the expirable content module for a re-work. * VACMS-15506: Moves to a config entity + field architecture for expirable_content. The field isn't auto-installed yet, nor does it auto-populate the expiration or warning values. * VACMS-15506: Moving toward hybrid approach with a config + content entity. * VACMS-15506: Adds entity operations to expirable content. * VACMS-15506: Expirable content module now uses both config and content entities as well as a hybrid computed field for expiration and warning dates. * VACMS-15506: Adds entity operations hook implementations to expirable content. * VACMS-15506: PHPCS updates. * VACMS-15506: Update expirable_content readme. * VACMS-15506: Removes mention of content_moderation. * VACMS-15506: Removes unneeded ExpirableContentListBuilder. * VACMS-15506: Updates readme and adds TODO.md. * VACMS-15506: Adds expirable content type for FWB. * VACMS-15506: Enables expirable_content in the CMS. * VACMS-15506: Fixes missing handler. * VACMS-15506: Resolves incorrect field names in Views data. * VACMS-15506: Move to contrib version of expirable_content. * VACMS-15506: Adds token support for computed field patch. * VACMS-15506: Update aging content view to use the new computed fields. * VACMS-15506: Adds FWB warning message template. * VACMS-15506: Add FWB warning ECA workflow. * VACMS-15506: Update the subject view mode to remove entity title. * VACMS-15506: Updates expired FWB eca with updated template fields. * VACMS-15506: Resolves bug when creating token in CreateAdvacnedQueueJob. * Revert "Merge remote-tracking branch 'origin/main' into VACMS-15506-aging-content-fwb-mvp-with-expirable-content-module" This reverts commit 8e3e30e, reversing changes made to ab59cb8. * VACMS-15506: Remove single quotes from config.yml which is preventing cli xdebug from working in phpstorm. * VACMS-15506: Updates aging content view to use correct filtering logic. * VACMS-15506: Adds missing fields to warning template. * VACMS-15506: Updates warning template content. * VACMS-15506: Adds missing mail system handling. * VACMS-15506: Update warning and expiration rules to prevent recursion and use correct token values. * VACMS-15506: Updates expirable_content to alpha2. * VACMS-15506: Updates aging content view sort. * VACMS-15506: Attempting to fix weitzman/drupal-test-traits. * VACMS-15506: Reverting accidental change to sitewide-crew-member-onboarding.md. * VACMS-15506: Reverting accidental change to docroot/design-system/package-lock.json. * VACMS-15506: Reverting accidental change to docroot/themes/custom/vagovclaro/package-lock.json. * VACMS-15506: Adds deploy hook for seeding fwb expirable information. * VACMS-15506: Move expirable_content to dev release for easier updates. We are making changes to the module to support aging content pretty frequently, and cutting a new release every time is causing friction. * VACMS-15506: Adds script to generate test nodes. * VACMS-15506: Ensure the warn and expire eca models are disabled for mvp launch. * VACMS-15506: Spelling correction. * VACMS-15506: Updates expirable_content to solve a bug preventing entity revision deletes.
- Loading branch information
Showing
25 changed files
with
760 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
config/sync/core.entity_form_display.message.aging_content_warn_fwb.default.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
uuid: 52b31e3b-c1bf-44ab-94bc-3a12f7bdce70 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.field.message.aging_content_warn_fwb.field_target_node_title | ||
- field.field.message.aging_content_warn_fwb.field_warning_date | ||
- message.template.aging_content_warn_fwb | ||
id: message.aging_content_warn_fwb.default | ||
targetEntityType: message | ||
bundle: aging_content_warn_fwb | ||
mode: default | ||
content: | ||
created: | ||
type: datetime_timestamp | ||
weight: 10 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
field_target_node_title: | ||
type: string_textfield | ||
weight: 0 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
field_warning_date: | ||
type: string_textfield | ||
weight: 11 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
uid: | ||
type: entity_reference_autocomplete | ||
weight: 5 | ||
region: content | ||
settings: | ||
match_operator: CONTAINS | ||
match_limit: 10 | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
'#group': advanced | ||
hidden: { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
config/sync/core.entity_view_display.message.aging_content_warn_fwb.default.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
uuid: 866f705f-2fc9-4850-8797-ce7d4db995d8 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.field.message.aging_content_warn_fwb.field_target_node_title | ||
- field.field.message.aging_content_warn_fwb.field_warning_date | ||
- message.template.aging_content_warn_fwb | ||
module: | ||
- user | ||
id: message.aging_content_warn_fwb.default | ||
targetEntityType: message | ||
bundle: aging_content_warn_fwb | ||
mode: default | ||
content: | ||
partial_0: | ||
settings: { } | ||
third_party_settings: { } | ||
weight: 0 | ||
region: content | ||
partial_1: | ||
settings: { } | ||
third_party_settings: { } | ||
weight: 1 | ||
region: content | ||
hidden: | ||
field_target_node_title: true | ||
field_warning_date: true | ||
search_api_excerpt: true |
29 changes: 29 additions & 0 deletions
29
config/sync/core.entity_view_display.message.aging_content_warn_fwb.mail_body.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
uuid: ca00e7f9-a0e9-433e-b446-3996342c773e | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- core.entity_view_mode.message.mail_body | ||
- field.field.message.aging_content_warn_fwb.field_target_node_title | ||
- field.field.message.aging_content_warn_fwb.field_warning_date | ||
- message.template.aging_content_warn_fwb | ||
module: | ||
- layout_builder | ||
- user | ||
third_party_settings: | ||
layout_builder: | ||
enabled: false | ||
allow_custom: false | ||
id: message.aging_content_warn_fwb.mail_body | ||
targetEntityType: message | ||
bundle: aging_content_warn_fwb | ||
mode: mail_body | ||
content: | ||
partial_1: | ||
weight: 0 | ||
region: content | ||
hidden: | ||
field_target_node_title: true | ||
field_warning_date: true | ||
partial_0: true | ||
search_api_excerpt: true |
29 changes: 29 additions & 0 deletions
29
config/sync/core.entity_view_display.message.aging_content_warn_fwb.mail_subject.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
uuid: d66cf1cb-f7cc-4827-88f6-ec2909a1ff3d | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- core.entity_view_mode.message.mail_subject | ||
- field.field.message.aging_content_warn_fwb.field_target_node_title | ||
- field.field.message.aging_content_warn_fwb.field_warning_date | ||
- message.template.aging_content_warn_fwb | ||
module: | ||
- layout_builder | ||
- user | ||
third_party_settings: | ||
layout_builder: | ||
enabled: false | ||
allow_custom: false | ||
id: message.aging_content_warn_fwb.mail_subject | ||
targetEntityType: message | ||
bundle: aging_content_warn_fwb | ||
mode: mail_subject | ||
content: | ||
partial_0: | ||
weight: 0 | ||
region: content | ||
hidden: | ||
field_target_node_title: true | ||
field_warning_date: true | ||
partial_1: true | ||
search_api_excerpt: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.