Skip to content

Commit

Permalink
Merge branch 'main' into 19888-remove-email-toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
jilladams authored Jan 7, 2025
2 parents 7b5f022 + 0993b35 commit b8eb290
Show file tree
Hide file tree
Showing 46 changed files with 1,059 additions and 141 deletions.
38 changes: 38 additions & 0 deletions READMES/CMS Announcement Template for Editors
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
CMS Announcement Template for Editors
The purpose of this template is to use it when sharing a change to VA CMS that will impact editors to the CMS Announcements Page. When filling out this template, remember that your audience are editors and to follow VA.gov’s plain language guide. All instructions are in italics.
Overview
Brief summary of how this announcement directly affects content creation, editing, and publishing processes.
Date: Month ##, Year
Type of Change: For example: Workflow Update / Content Guidelines / System Enhancement / Editorial Process Change
Who is impacted: Editor and Content Type

What’s Changing?
Specific changes to existing editorial workflow, new steps or processes to be implemented, and Impact on current content creation procedures.

Why is it changing?
Explain the rationale for the change.
—-------------------------------------------------------------------------------------------------
Each section below is optional and to only be used if it is relevant to the change you are posting about.
Drupal CMS Updates
New Features:
Feature 1 relevant to editors
Feature 2 relevant to editors
Workflow Changes:
Modifications to editorial interface
New navigation or editing tools
(Optional) Content Guidelines Revision
Updated writing standards
New formatting requirements
Metadata and tagging guidelines
(Optional) Training and Support
Training Sessions:
Date and time of training
How to register/attend
Resources:
Link to updated editorial guidelines
Walkthrough of new CMS features
(Optional) Frequently Asked Questions (FAQ)
Q: How will this affect my current drafts?
A: Detailed explanation
Q: What if I encounter issues?
A: Troubleshooting guidance
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@
"symfony/phpunit-bridge": "^7.1",
"symfony/process": "^6.3",
"symfony/routing": "^6.3",
"va-gov/content-build": "^0.0.3655",
"va-gov/content-build": "^0.0.3657",
"vlucas/phpdotenv": "^5.6",
"webflo/drupal-finder": "1.3.1",
"webmozart/path-util": "^2.3",
Expand Down
14 changes: 7 additions & 7 deletions composer.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "1fa2ffdec82a120fc683f5623ce328b1",
"content-hash": "2e9a7625d24f80f308e27764fed4b72b",
"packages": [
{
"name": "asm89/stack-cors",
Expand Down Expand Up @@ -26902,16 +26902,16 @@
},
{
"name": "va-gov/content-build",
"version": "v0.0.3655",
"version": "v0.0.3657",
"source": {
"type": "git",
"url": "https://github.com/department-of-veterans-affairs/content-build.git",
"reference": "89b09b3660f4e0b7005675ec6f2b3a952c5616b4"
"reference": "9ee617439ad36ed873ce42d2076a39523b2bc6ae"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/department-of-veterans-affairs/content-build/zipball/89b09b3660f4e0b7005675ec6f2b3a952c5616b4",
"reference": "89b09b3660f4e0b7005675ec6f2b3a952c5616b4",
"url": "https://api.github.com/repos/department-of-veterans-affairs/content-build/zipball/9ee617439ad36ed873ce42d2076a39523b2bc6ae",
"reference": "9ee617439ad36ed873ce42d2076a39523b2bc6ae",
"shasum": ""
},
"type": "node-project",
Expand All @@ -26938,9 +26938,9 @@
"description": "Front-end for VA.gov. This repository contains the code that generates the www.va.gov website. It contains a Metalsmith static site builder that uses a Drupal CMS for content. This file is here to publish releases to https://packagist.org/packages/va-gov/content-build, so that the CMS CI system can install it and update it using standard composer processes, and so that we can run tests across both systems. See https://github.com/department-of-veterans-affairs/va.gov-cms for the CMS repo, and stand by for more documentation.",
"support": {
"issues": "https://github.com/department-of-veterans-affairs/content-build/issues",
"source": "https://github.com/department-of-veterans-affairs/content-build/tree/v0.0.3655"
"source": "https://github.com/department-of-veterans-affairs/content-build/tree/v0.0.3657"
},
"time": "2024-12-20T15:41:52+00:00"
"time": "2025-01-06T13:35:03+00:00"
},
{
"name": "vlucas/phpdotenv",
Expand Down
17 changes: 17 additions & 0 deletions config/sync/advancedqueue.advancedqueue_queue.content_worfkow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
uuid: 60db9e4b-4688-4ec6-ac1d-3038672ec705
langcode: en
status: true
dependencies: { }
id: content_worfkow
label: 'Content Worfkow'
backend: database
backend_configuration:
lease_time: 30
processor: cron
processing_time: 10
locked: false
stop_when_empty: true
threshold:
type: 2
limit: 30
state: all
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
uuid: df069181-a709-497a-89bf-c20e6c48cc41
langcode: en
status: true
dependencies:
config:
- field.field.message.vba_facility_draft_content.field_last_updated_by_editor
- field.field.message.vba_facility_draft_content.field_target_node_path
- field.field.message.vba_facility_draft_content.field_target_node_title
- message.template.vba_facility_draft_content
id: message.vba_facility_draft_content.default
targetEntityType: message
bundle: vba_facility_draft_content
mode: default
content:
created:
type: datetime_timestamp
weight: 4
region: content
settings: { }
third_party_settings: { }
field_last_updated_by_editor:
type: string_textfield
weight: 2
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_target_node_path:
type: string_textfield
weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_target_node_title:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 3
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
'#group': advanced
hidden: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
uuid: 792c292e-e566-4fb0-bf70-e4d15b1986ad
langcode: en
status: true
dependencies:
config:
- field.field.message.vba_facility_draft_content.field_last_updated_by_editor
- field.field.message.vba_facility_draft_content.field_target_node_path
- field.field.message.vba_facility_draft_content.field_target_node_title
- message.template.vba_facility_draft_content
module:
- user
id: message.vba_facility_draft_content.default
targetEntityType: message
bundle: vba_facility_draft_content
mode: default
content:
field_last_updated_by_editor:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 1
region: content
field_target_node_path:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 2
region: content
partial_0:
settings: { }
third_party_settings: { }
weight: 0
region: content
partial_1:
settings: { }
third_party_settings: { }
weight: 0
region: content
hidden:
breadcrumbs: true
field_target_node_title: true
search_api_excerpt: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
uuid: e03aaafc-ade6-49bc-8616-658b95a38e29
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.message.mail_body
- field.field.message.vba_facility_draft_content.field_last_updated_by_editor
- field.field.message.vba_facility_draft_content.field_target_node_path
- field.field.message.vba_facility_draft_content.field_target_node_title
- message.template.vba_facility_draft_content
module:
- layout_builder
- user
third_party_settings:
layout_builder:
enabled: false
allow_custom: false
id: message.vba_facility_draft_content.mail_body
targetEntityType: message
bundle: vba_facility_draft_content
mode: mail_body
content:
partial_1:
weight: 0
region: content
hidden:
breadcrumbs: true
field_last_updated_by_editor: true
field_target_node_path: true
field_target_node_title: true
partial_0: true
search_api_excerpt: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
uuid: 793ef29a-db3e-47f5-8a04-7352558efa93
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.message.mail_subject
- field.field.message.vba_facility_draft_content.field_last_updated_by_editor
- field.field.message.vba_facility_draft_content.field_target_node_path
- field.field.message.vba_facility_draft_content.field_target_node_title
- message.template.vba_facility_draft_content
module:
- layout_builder
- user
third_party_settings:
layout_builder:
enabled: false
allow_custom: false
id: message.vba_facility_draft_content.mail_subject
targetEntityType: message
bundle: vba_facility_draft_content
mode: mail_subject
content:
partial_0:
weight: 0
region: content
hidden:
breadcrumbs: true
field_last_updated_by_editor: true
field_target_node_path: true
field_target_node_title: true
partial_1: true
search_api_excerpt: true
1 change: 1 addition & 0 deletions config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ module:
eca_content: 0
eca_ui: 0
eca_views: 0
eca_workflow: 0
editor: 0
embed: 0
entity_block: 0
Expand Down
93 changes: 93 additions & 0 deletions config/sync/eca.eca.workflow_vba_facility_as_draft.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
uuid: 57d6c892-1d53-4ebe-ae60-b4dd61d53248
langcode: en
status: true
dependencies:
config:
- field.field.node.banner.field_last_saved_by_an_editor
- field.field.node.basic_landing_page.field_last_saved_by_an_editor
- field.field.node.campaign_landing_page.field_last_saved_by_an_editor
- field.field.node.centralized_content.field_last_saved_by_an_editor
- field.field.node.checklist.field_last_saved_by_an_editor
- field.field.node.digital_form.field_last_saved_by_an_editor
- field.field.node.documentation_page.field_last_saved_by_an_editor
- field.field.node.event.field_last_saved_by_an_editor
- field.field.node.event_listing.field_last_saved_by_an_editor
- field.field.node.faq_multiple_q_a.field_last_saved_by_an_editor
- field.field.node.full_width_banner_alert.field_last_saved_by_an_editor
- field.field.node.health_care_local_facility.field_last_saved_by_an_editor
- field.field.node.health_care_local_health_service.field_last_saved_by_an_editor
- field.field.node.health_care_region_detail_page.field_last_saved_by_an_editor
- field.field.node.health_care_region_page.field_last_saved_by_an_editor
- field.field.node.health_services_listing.field_last_saved_by_an_editor
- field.field.node.landing_page.field_last_saved_by_an_editor
- field.field.node.leadership_listing.field_last_saved_by_an_editor
- field.field.node.locations_listing.field_last_saved_by_an_editor
- field.field.node.media_list_images.field_last_saved_by_an_editor
- field.field.node.media_list_videos.field_last_saved_by_an_editor
- field.field.node.nca_facility.field_last_saved_by_an_editor
- field.field.node.news_story.field_last_saved_by_an_editor
- field.field.node.office.field_last_saved_by_an_editor
- field.field.node.outreach_asset.field_last_saved_by_an_editor
- field.field.node.page.field_last_saved_by_an_editor
- field.field.node.person_profile.field_last_saved_by_an_editor
- field.field.node.press_release.field_last_saved_by_an_editor
- field.field.node.press_releases_listing.field_last_saved_by_an_editor
- field.field.node.promo_banner.field_last_saved_by_an_editor
- field.field.node.publication_listing.field_last_saved_by_an_editor
- field.field.node.q_a.field_last_saved_by_an_editor
- field.field.node.regional_health_care_service_des.field_last_saved_by_an_editor
- field.field.node.service_region.field_last_saved_by_an_editor
- field.field.node.step_by_step.field_last_saved_by_an_editor
- field.field.node.story_listing.field_last_saved_by_an_editor
- field.field.node.support_resources_detail_page.field_last_saved_by_an_editor
- field.field.node.support_service.field_last_saved_by_an_editor
- field.field.node.va_form.field_last_saved_by_an_editor
- field.field.node.vamc_operating_status_and_alerts.field_last_saved_by_an_editor
- field.field.node.vamc_system_billing_insurance.field_last_saved_by_an_editor
- field.field.node.vamc_system_medical_records_offi.field_last_saved_by_an_editor
- field.field.node.vamc_system_policies_page.field_last_saved_by_an_editor
- field.field.node.vamc_system_register_for_care.field_last_saved_by_an_editor
- field.field.node.vamc_system_va_police.field_last_saved_by_an_editor
- field.field.node.vba_facility.field_last_saved_by_an_editor
- field.field.node.vba_facility_service.field_last_saved_by_an_editor
- field.field.node.vet_center.field_last_saved_by_an_editor
- field.field.node.vet_center_cap.field_last_saved_by_an_editor
- field.field.node.vet_center_facility_health_servi.field_last_saved_by_an_editor
- field.field.node.vet_center_locations_list.field_last_saved_by_an_editor
- field.field.node.vet_center_mobile_vet_center.field_last_saved_by_an_editor
- field.field.node.vet_center_outstation.field_last_saved_by_an_editor
- field.field.node.vha_facility_nonclinical_service.field_last_saved_by_an_editor
- field.storage.node.field_last_saved_by_an_editor
- node.type.vba_facility
module:
- eca_workflow
- va_gov_eca
id: workflow_vba_facility_as_draft
modeller: core
label: 'Workflow: VBA Facility as Draft'
version: null
weight: 0
events:
workflow_transition:
plugin: 'workflow:transition'
label: 'Workflow: state transition'
configuration:
type: 'node vba_facility'
from_state: ''
to_state: draft
successors:
-
id: create_advancedqueue_job
condition: null
conditions: { }
gateways: { }
actions:
create_advancedqueue_job:
plugin: create_advancedqueue_job
label: 'Create an AdvancedQueue Job and optionally enqueue it.'
configuration:
token_name: job
type: va_gov_workflow_content_notification
payload: "template_values:\r\n uid: \"[entity:revision_uid:target_id]\"\r\n template: vba_facility_draft_content\r\nmail:\r\n - [email protected]\r\nvalues:\r\n field_last_updated_by_editor: \"[entity:field_last_saved_by_an_editor:date:medium]\"\r\n field_target_node_path: \"[entity:url:path]\"\r\n field_target_node_title: \"[entity:title]\"\r\n"
queue: content_worfkow
successors: { }
Loading

0 comments on commit b8eb290

Please sign in to comment.