From 686651540433f9f03feef6371446162a0ba497ac Mon Sep 17 00:00:00 2001 From: cathybaptista <161740096+cathybaptista@users.noreply.github.com> Date: Mon, 30 Dec 2024 10:34:40 -0500 Subject: [PATCH 01/21] DIGITAL-192: Initial commit for job boards theme --- .../custom/digital_gov/digital_gov.theme | 22 ++++++++----------- .../node--landing-page--job-board.html.twig | 3 +-- 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/web/themes/custom/digital_gov/digital_gov.theme b/web/themes/custom/digital_gov/digital_gov.theme index e78ab46d..1c6f417f 100644 --- a/web/themes/custom/digital_gov/digital_gov.theme +++ b/web/themes/custom/digital_gov/digital_gov.theme @@ -348,18 +348,14 @@ function digital_gov_theme_suggestions_node_alter(array &$suggestions, array $va } /** - * Implements hook_theme_suggestions_user_alter(). + * Implements hook_preprocess_HOOK(). */ -function digital_gov_theme_suggestions_container_alter(array &$suggestions, array $variables) { - if (!isset($variables['element']['#name'])) { - return $suggestions; - } - // A list of view names in which to exclude the container markup. - $exclude_views = [ - 'resource_topics_list', - ]; - - if (in_array($variables['element']['#name'], $exclude_views)) { - $suggestions[] = 'container__no_wrapper'; - } +use Drupal\Component\Serialization\Yaml; + +function digital_gov_preprocess_node__landing_page__job_board(&$variables, $hook) { + $entity_type_manager = \Drupal::entityTypeManager(); + $config_pages = $entity_type_manager->getStorage('config_pages')->load('job_board_administration'); + $yml_string = $field_description = $config_pages->get('field_description')->getValue()[0]['value']; + $decoded_array = Yaml::decode($yml_string); + $variables['job_board_administration'] = $decoded_array; } diff --git a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig index efeb0fd1..41f0ae99 100644 --- a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig +++ b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig @@ -62,7 +62,6 @@ * @ingroup themeable */ #} -
@@ -82,7 +81,7 @@
- [placeholder list job cards] + {{ dpm(job_board_administration) }} {# NOT-MIGRATED {{ range .Site.Data.job_board }} {{ if ge .close_date $now }} From ad4a69e3789fc96eb92f1ff5f9eed47c18d1b1ce Mon Sep 17 00:00:00 2001 From: cathybaptista <161740096+cathybaptista@users.noreply.github.com> Date: Mon, 30 Dec 2024 15:06:28 -0500 Subject: [PATCH 02/21] DIGITAL-192: job board styling --- .../custom/digital_gov/digital_gov.theme | 6 ++++ .../node--landing-page--job-board.html.twig | 35 +++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/web/themes/custom/digital_gov/digital_gov.theme b/web/themes/custom/digital_gov/digital_gov.theme index 1c6f417f..40db4309 100644 --- a/web/themes/custom/digital_gov/digital_gov.theme +++ b/web/themes/custom/digital_gov/digital_gov.theme @@ -357,5 +357,11 @@ function digital_gov_preprocess_node__landing_page__job_board(&$variables, $hook $config_pages = $entity_type_manager->getStorage('config_pages')->load('job_board_administration'); $yml_string = $field_description = $config_pages->get('field_description')->getValue()[0]['value']; $decoded_array = Yaml::decode($yml_string); + // Loop through the array and format the dates + foreach ($decoded_array as &$item) { + $item['open_date'] = date('Y-m-d', $item['open_date']); + $item['close_date'] = date('Y-m-d', $item['close_date']); + } + $variables['job_board_administration'] = $decoded_array; } diff --git a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig index 41f0ae99..085921dd 100644 --- a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig +++ b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig @@ -82,6 +82,41 @@
{{ dpm(job_board_administration) }} + + {% for item in job_board_administration %} +
+ +
+
+ {{ item.department }} +
+
+ {{ item.location }} +
+

+ {{ item.description }} +

+
+ +
+ Open {{ item.open_date }} to + {{ item.close_date }} +
+
+ + {% endfor %} + {# NOT-MIGRATED {{ range .Site.Data.job_board }} {{ if ge .close_date $now }} From 316afe6300b6010f574d516efe40f8acfbc7406e Mon Sep 17 00:00:00 2001 From: cathybaptista <161740096+cathybaptista@users.noreply.github.com> Date: Mon, 30 Dec 2024 16:47:39 -0500 Subject: [PATCH 03/21] DIGITAL-192: add styles to job board entries. --- web/themes/custom/digital_gov/digital_gov.theme | 5 +++-- .../templates/node/node--landing-page--job-board.html.twig | 7 +++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/web/themes/custom/digital_gov/digital_gov.theme b/web/themes/custom/digital_gov/digital_gov.theme index 40db4309..a0171929 100644 --- a/web/themes/custom/digital_gov/digital_gov.theme +++ b/web/themes/custom/digital_gov/digital_gov.theme @@ -352,6 +352,7 @@ function digital_gov_theme_suggestions_node_alter(array &$suggestions, array $va */ use Drupal\Component\Serialization\Yaml; + function digital_gov_preprocess_node__landing_page__job_board(&$variables, $hook) { $entity_type_manager = \Drupal::entityTypeManager(); $config_pages = $entity_type_manager->getStorage('config_pages')->load('job_board_administration'); @@ -359,8 +360,8 @@ function digital_gov_preprocess_node__landing_page__job_board(&$variables, $hook $decoded_array = Yaml::decode($yml_string); // Loop through the array and format the dates foreach ($decoded_array as &$item) { - $item['open_date'] = date('Y-m-d', $item['open_date']); - $item['close_date'] = date('Y-m-d', $item['close_date']); + $item['open_date'] = date('F j, Y', $item['open_date']); + $item['close_date'] = date('F j, Y', $item['close_date']); } $variables['job_board_administration'] = $decoded_array; diff --git a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig index 085921dd..b70d011c 100644 --- a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig +++ b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig @@ -113,6 +113,13 @@ Open {{ item.open_date }} to {{ item.close_date }}
+
+ {% for topic in item['cop_topics'] %} + {# todo: these are color coded. #} +
{{ topic }}
+ {{ end }} + {% endfor %} +
{% endfor %} From 27f30480aa4b3e919f96a006ea796c0ea53b644a Mon Sep 17 00:00:00 2001 From: cathybaptista <161740096+cathybaptista@users.noreply.github.com> Date: Thu, 2 Jan 2025 16:16:23 -0500 Subject: [PATCH 04/21] DIGITAL-192: Job Board template. --- .../custom/digital_gov/digital_gov.theme | 2 +- .../node--landing-page--job-board.html.twig | 25 +++++++++++++------ 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/web/themes/custom/digital_gov/digital_gov.theme b/web/themes/custom/digital_gov/digital_gov.theme index a0171929..98c7cdf5 100644 --- a/web/themes/custom/digital_gov/digital_gov.theme +++ b/web/themes/custom/digital_gov/digital_gov.theme @@ -350,6 +350,7 @@ function digital_gov_theme_suggestions_node_alter(array &$suggestions, array $va /** * Implements hook_preprocess_HOOK(). */ + use Drupal\Component\Serialization\Yaml; @@ -358,7 +359,6 @@ function digital_gov_preprocess_node__landing_page__job_board(&$variables, $hook $config_pages = $entity_type_manager->getStorage('config_pages')->load('job_board_administration'); $yml_string = $field_description = $config_pages->get('field_description')->getValue()[0]['value']; $decoded_array = Yaml::decode($yml_string); - // Loop through the array and format the dates foreach ($decoded_array as &$item) { $item['open_date'] = date('F j, Y', $item['open_date']); $item['close_date'] = date('F j, Y', $item['close_date']); diff --git a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig index b70d011c..0aab0d58 100644 --- a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig +++ b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig @@ -81,7 +81,6 @@
- {{ dpm(job_board_administration) }} {% for item in job_board_administration %}
@@ -114,14 +113,26 @@ {{ item.close_date }}
- {% for topic in item['cop_topics'] %} - {# todo: these are color coded. #} -
{{ topic }}
- {{ end }} + {#todo: this may not be best here?#} + {% set topic_acronym = { + "FCN": "Communicators", + "ML": "Multilingual", + "PL": "Plain Language", + "SM": "Social Media", + "UX": "User Experience", + "WAO": "Web Analytics", + "WCM": "Web Managers", + "CC": "Contact Center" + } %} + {% for topic in item['cop_topics'] %} + {% for key, value in topic_acronym %} + {% if topic == value %} +
{{ topic }}
+ {% endif %} {% endfor %} -
+ {% endfor %} +
- {% endfor %} {# NOT-MIGRATED From 6bd6e6cd0a6c3a859eee39642272792e597e79ad Mon Sep 17 00:00:00 2001 From: cathybaptista <161740096+cathybaptista@users.noreply.github.com> Date: Thu, 2 Jan 2025 16:17:54 -0500 Subject: [PATCH 05/21] DIGITAL-192: Configuration files for job board admin. --- ...ig_pages.type.job_board_administration.yml | 17 +++++++++++ ...pages.job_board_administration.default.yml | 29 +++++++++++++++++++ ...pages.job_board_administration.default.yml | 20 +++++++++++++ ...board_administration.field_description.yml | 19 ++++++++++++ ...storage.config_pages.field_description.yml | 19 ++++++++++++ 5 files changed, 104 insertions(+) create mode 100644 config/sync/config_pages.type.job_board_administration.yml create mode 100644 config/sync/core.entity_form_display.config_pages.job_board_administration.default.yml create mode 100644 config/sync/core.entity_view_display.config_pages.job_board_administration.default.yml create mode 100644 config/sync/field.field.config_pages.job_board_administration.field_description.yml create mode 100644 config/sync/field.storage.config_pages.field_description.yml diff --git a/config/sync/config_pages.type.job_board_administration.yml b/config/sync/config_pages.type.job_board_administration.yml new file mode 100644 index 00000000..d4d859ec --- /dev/null +++ b/config/sync/config_pages.type.job_board_administration.yml @@ -0,0 +1,17 @@ +uuid: 745682ea-e8f2-4294-9a6c-8c6df413f0e5 +langcode: en +status: true +dependencies: { } +id: job_board_administration +label: 'Job Board Administration' +token: false +context: + show_warning: true + group: + language: false + fallback: + language: '' +menu: + path: /admin/content/job-board + weight: 0 + description: '' diff --git a/config/sync/core.entity_form_display.config_pages.job_board_administration.default.yml b/config/sync/core.entity_form_display.config_pages.job_board_administration.default.yml new file mode 100644 index 00000000..19246cd3 --- /dev/null +++ b/config/sync/core.entity_form_display.config_pages.job_board_administration.default.yml @@ -0,0 +1,29 @@ +uuid: d28992ea-aa89-4115-a737-2ab0926cc0b4 +langcode: en +status: true +dependencies: + config: + - config_pages.type.job_board_administration + - field.field.config_pages.job_board_administration.field_description +id: config_pages.job_board_administration.default +targetEntityType: config_pages +bundle: job_board_administration +mode: default +content: + field_description: + type: string_textarea + weight: 0 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } + label: + type: string_textfield + weight: 1 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } +hidden: { } diff --git a/config/sync/core.entity_view_display.config_pages.job_board_administration.default.yml b/config/sync/core.entity_view_display.config_pages.job_board_administration.default.yml new file mode 100644 index 00000000..1272c549 --- /dev/null +++ b/config/sync/core.entity_view_display.config_pages.job_board_administration.default.yml @@ -0,0 +1,20 @@ +uuid: b4e80cbc-ce78-4301-bdf6-353f5cf1a490 +langcode: en +status: true +dependencies: + config: + - config_pages.type.job_board_administration + - field.field.config_pages.job_board_administration.field_description +id: config_pages.job_board_administration.default +targetEntityType: config_pages +bundle: job_board_administration +mode: default +content: + field_description: + type: basic_string + label: above + settings: { } + third_party_settings: { } + weight: 0 + region: content +hidden: { } diff --git a/config/sync/field.field.config_pages.job_board_administration.field_description.yml b/config/sync/field.field.config_pages.job_board_administration.field_description.yml new file mode 100644 index 00000000..6e98f70d --- /dev/null +++ b/config/sync/field.field.config_pages.job_board_administration.field_description.yml @@ -0,0 +1,19 @@ +uuid: bebe3444-fb1a-4d80-8df8-ae8e858e5bd5 +langcode: en +status: true +dependencies: + config: + - config_pages.type.job_board_administration + - field.storage.config_pages.field_description +id: config_pages.job_board_administration.field_description +field_name: field_description +entity_type: config_pages +bundle: job_board_administration +label: Description +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string_long diff --git a/config/sync/field.storage.config_pages.field_description.yml b/config/sync/field.storage.config_pages.field_description.yml new file mode 100644 index 00000000..e660b272 --- /dev/null +++ b/config/sync/field.storage.config_pages.field_description.yml @@ -0,0 +1,19 @@ +uuid: 5aeb112e-cadd-47bf-9d3f-79cc2fbbe955 +langcode: en +status: true +dependencies: + module: + - config_pages +id: config_pages.field_description +field_name: field_description +entity_type: config_pages +type: string_long +settings: + case_sensitive: false +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false From 395183e1e671a24546f2835b01e7e017467a1c25 Mon Sep 17 00:00:00 2001 From: cathybaptista <161740096+cathybaptista@users.noreply.github.com> Date: Thu, 2 Jan 2025 16:29:36 -0500 Subject: [PATCH 06/21] DIGITAL-192: Update job board content. --- .../db660112-42ff-4348-a21f-b49ce6a0dafc.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 web/modules/custom/default_content_config/content/config_pages/db660112-42ff-4348-a21f-b49ce6a0dafc.yml diff --git a/web/modules/custom/default_content_config/content/config_pages/db660112-42ff-4348-a21f-b49ce6a0dafc.yml b/web/modules/custom/default_content_config/content/config_pages/db660112-42ff-4348-a21f-b49ce6a0dafc.yml new file mode 100644 index 00000000..5d008f4c --- /dev/null +++ b/web/modules/custom/default_content_config/content/config_pages/db660112-42ff-4348-a21f-b49ce6a0dafc.yml @@ -0,0 +1,18 @@ +_meta: + version: '1.0' + entity_type: config_pages + uuid: db660112-42ff-4348-a21f-b49ce6a0dafc + bundle: job_board_administration +default: + label: + - + value: 'https://docs.google.com/spreadsheets/d/1VW1IxK0KPmH11DlQbxL5Hj2qc7Y3223PDpp_t5DhcG8/edit?gid=1857335212#gid=1857335212' + type: + - + target_id: job_board_administration + context: + - + value: 'a:0:{}' + field_description: + - + value: "- title: Community Outreach Specialist\r\n department: Department of Homeland Security\r\n location: Anywhere in the U.S. (remote job)\r\n description: >\r\n 6-month non-reimbursable assignment with the possibility of extension. Office of the Citizenship and Immigration Services Ombudsman (CIS Ombudsman) Community Outreach Specialist Series Requested: 0301 Security Clearance: None Virtual/Remote: Yes Only current, full-time federal employees are eligible. Resumes are reviewed every 30 days until selection/closing date. This is a Detail, not a Developmental Rotation. Supervisory approval form must be signed.\r\n open_date: 2024-09-03\r\n close_date: 2024-11-29\r\n apply_link: https://www.usajobs.gov:443/GetJob/ViewDetails/807704100\r\n cop_topics:\r\n - Communicators\r\n - Plain Language\r\n\r\n- title: MANAGING DIRECTOR COMMUNICATIONS\r\n department: Other Agencies and Independent Organizations\r\n location: Washington, District of Columbia\r\n description: >\r\n This position is part of the U.S. International Development Finance Corporation (DFC), Office of External Affairs. As the Managing Director, Communications you will develop and implement communication strategies that promote the DFC's mission, values, and objectives to key stakeholders, including the public, policymakers, media outlets, and private sector partners.\r\n open_date: 2024-11-07\r\n close_date: 2024-11-29\r\n apply_link: https://www.usajobs.gov:443/GetJob/ViewDetails/804478300\r\n cop_topics:\r\n - Communicators\r\n\r\n- title: MANAGING DIRECTOR COMMUNICATIONS\r\n department: Other Agencies and Independent Organizations\r\n location: Washington, District of Columbia\r\n description: >\r\n This position is part of the U.S. International Development Finance Corporation (DFC), Office of External Affairs. As the Managing Director, Communications you will develop and implement communication strategies that promote the DFC's mission, values, and objectives to key stakeholders, including the public, policymakers, media outlets, and private sector partners.\r\n open_date: 2024-11-07\r\n close_date: 2024-11-29\r\n apply_link: https://www.usajobs.gov:443/GetJob/ViewDetails/804477900\r\n cop_topics:\r\n - Communicators\r\n\r\n- title: Management and Program Analyst\r\n department: Department of Homeland Security\r\n location: Anywhere in the U.S. (remote job)\r\n description: >\r\n This position is located in External Affairs Directorate, Office of Access and Information Services, Digital Services Division. As an Management and Program Analyst, you will provide analysis, program/product support, and advice to branch and division leadership on division products and features.\r\n open_date: 2024-11-13\r\n close_date: 2024-11-22\r\n apply_link: https://www.usajobs.gov:443/GetJob/ViewDetails/818686500\r\n cop_topics:\r\n - User Experience\r\n\r\n- title: Visual Information Specialist\r\n department: Department of the Treasury\r\n location: Location Negotiable After Selection\r\n description: >\r\n This position is located at Office of the Inspector General for Tax Admin,Office of Audit. As a Visual Information Specialist, you will manage and oversee visual information projects, providing design, production, and consultation services. These projects will support TIGTA's Office of Audit and activities through visual means, including print and online dashboarding.\r\n open_date: 2024-11-12\r\n close_date: 2024-11-26\r\n apply_link: https://www.usajobs.gov:443/GetJob/ViewDetails/818619700\r\n cop_topics:\r\n - Communicators\r\n\r\n- title: Managing Director, Stakeholder Engagement and Events\r\n department: Other Agencies and Independent Organizations\r\n location: Washington, District of Columbia\r\n description: >\r\n This position is part of the U.S. International Development Finance Corporation (DFC), Office of External Affairs. As the Managing Director, Stakeholder Engagement & Events you will be responsible for developing and implementing external stakeholder engagement and outreach strategies that support the DFC's mission and objectives, building and maintaining strong relationships with key stakeholders and managing a team of outreach and event professionals.\r\n open_date: 2024-11-14\r\n close_date: 2024-12-05\r\n apply_link: https://www.usajobs.gov:443/GetJob/ViewDetails/818998200\r\n cop_topics:\r\n - Communicators\r\n\r\n- title: Managing Director, Stakeholder Engagement and Events\r\n department: Other Agencies and Independent Organizations\r\n location: Washington, District of Columbia\r\n description: >\r\n This position is part of the U.S. International Development Finance Corporation (DFC), Office of External Affairs. As the Managing Director, Stakeholder Engagement & Events you will be responsible for developing and implementing external stakeholder engagement and outreach strategies that support the DFC's mission and objectives, building and maintaining strong relationships with key stakeholders and managing a team of outreach and event professionals.\r\n open_date: 2024-11-14\r\n close_date: 2024-12-05\r\n apply_link: https://www.usajobs.gov:443/GetJob/ViewDetails/819000000\r\n cop_topics:\r\n - Communicators\r\n\r\n- title: Writer-Editor\r\n department: Legislative Branch\r\n location: Washington, District of Columbia\r\n description: >\r\n This position is located in the Office of Public Information and Education Directorate, Copyright Office. The position description number for this position is 414903. The salary range indicated reflects the locality pay adjustments for the Washington, D.C., Metropolitan area. This is a non-supervisory, non-bargaining unit position. Relocation expenses will not be authorized for the person(s) selected under this vacancy announcement.\r\n open_date: 2024-11-07\r\n close_date: 2024-12-02\r\n apply_link: https://www.usajobs.gov:443/GetJob/ViewDetails/818194900\r\n cop_topics:\r\n - Communicators\r\n\r\n- title: Management and Program Analyst (Customer Experience)\r\n department: Department of Commerce\r\n location: Alexandria, Virginia\r\n description: >\r\n Are you looking to join an agency that celebrates, supports and thrives on building the bridge that ensures intellectual property rights (IPR) are accessible to everyone? The Management and Program Analyst (CX) is responsible for planning, designing, and conducting projects, research, and/or studies to analyze, evaluate, develop, and recommend methods to improve business operations and service delivery to customers.\r\n open_date: 2024-11-14\r\n close_date: 2024-11-28\r\n apply_link: https://www.usajobs.gov:443/GetJob/ViewDetails/819082700\r\n cop_topics:\r\n - User Experience\r\n - Web Analytics\r\n - Web Managers\r\n\r\n- title: Management and Program Analyst (Customer Experience)\r\n department: Department of Commerce\r\n location: Alexandria, Virginia\r\n description: >\r\n Are you looking to join an agency that celebrates, supports and thrives on building the bridge that ensures intellectual property rights (IPR) are accessible to everyone? The Management and Program Analyst (CX) is responsible for planning, designing, and conducting projects, research, and/or studies to analyze, evaluate, develop, and recommend methods to improve business operations and service delivery to customers.\r\n open_date: 2024-11-14\r\n close_date: 2024-11-28\r\n apply_link: https://www.usajobs.gov:443/GetJob/ViewDetails/819083000\r\n cop_topics:\r\n - User Experience\r\n - Web Analytics\r\n - Web Managers\r\n\r\n- title: IT Specialist (APPSW/PLCYPLN)\r\n department: Other Agencies and Independent Organizations\r\n location: Multiple Locations\r\n description: >\r\n This position is in the Office of Research and Development, Office of Science Information Management, Application and Information Management Division. About ORD This is an office-centered position*--you must physically report to one of the duty stations stated in this announcement on a regular basis (location TBD after candidate selected). *EPA offers work-from-home and work schedule flexibilities as described in the Benefits section.\r\n open_date: 2024-11-15\r\n close_date: 2024-11-28\r\n apply_link: https://www.usajobs.gov:443/GetJob/ViewDetails/819068100\r\n cop_topics:\r\n - Web Analytics\r\n - Web Managers\r\n\r\n- title: Public Affairs Specialist\r\n department: Department of the Army\r\n location: Walla Walla, Washington\r\n description: >\r\n About the Position: The Walla Walla District US Army Corps of Engineers is comprised of motivated and talented employees providing the very best engineering services for communities in the Pacific Northwest. The District helps manage local water resources for navigation, flood damage reduction, disaster assistance, hydroelectric power generation, and other natural and heritage areas.\r\n open_date: 2024-11-13\r\n close_date: 2024-11-26\r\n apply_link: https://www.usajobs.gov:443/GetJob/ViewDetails/818473300\r\n cop_topics:\r\n - Communicators\r\n\r\n- title: Communications Engagement Specialist\r\n department: Department of Justice\r\n location: Washington, District of Columbia\r\n description: >\r\n This position serves as Communications Engagement Specialist in the Bureau of Justice Assistance (BJA), Operations Office, Communications and Governmental Affairs. This position is responsible for engaging with a variety of key BJA stakeholders using outreach strategies and tactics that include regular liaison, distribution of BJA resources, materials and information, public events and targeted campaigns.\r\n open_date: 2024-11-19\r\n close_date: 2024-12-02\r\n apply_link: https://www.usajobs.gov:443/GetJob/ViewDetails/819779600\r\n cop_topics:\r\n - Communicators\r\n\r\n- title: Program Specialist (Direct Hire)\r\n department: National Aeronautics and Space Administration\r\n location: Multiple Locations\r\n description: >\r\n The Office of the Chief Information Officer (OCIO) at NASA Headquarters is currently seeking a highly qualified candidate to serve as an Internal Communications Specialist. This position is a critical part of the OCIO Customer Engagement Office, responsible for coordinating across OCIO to improve the effectiveness of communications and outreach products and activities aimed at internal stakeholders.\r\n open_date: 2024-11-20\r\n close_date: 2024-11-22\r\n apply_link: https://www.usajobs.gov:443/GetJob/ViewDetails/819497300\r\n cop_topics:\r\n - Communicators\r\n - Plain Language\r\n - User Experience\r\n\r\n- title: Program Analyst\r\n department: Department of Veterans Affairs\r\n location: Multiple Locations\r\n description: >\r\n The incumbent reports to the Media Manager and serves as the Web Operations Manager working closely with the Enterprise Support Service (ESS) Executive Leadership Team (ELT) and the Healthcare Environment and Facilities Program (HEFP) Content Management Team (CMT). The incumbent oversees all strategic and operational website initiatives, website content management and integration of functional website processes utilizing new and current information technology systems and applications.\r\n open_date: 2024-11-20\r\n close_date: 2024-11-26\r\n apply_link: https://www.usajobs.gov:443/GetJob/ViewDetails/819845200\r\n cop_topics:\r\n - Web Analytics\r\n - Web Managers\r\n\r\n- title: Division Chief of Product Management, GS-0301-15, FPL 15 (DE)\r\n department: Department of Education\r\n location: Washington, District of Columbia\r\n description: >\r\n The position is telework eligible consistent with the Agency’s telework and remote work program policy. This position is located in Federal Student Aid, Technology Directorate Front Office in Washington DC, and is responsible for providing leadership in the evaluation, assessment, improvement and optimization of programs and management systems.\r\n open_date: 2024-11-20\r\n close_date: 2024-12-09\r\n apply_link: https://www.usajobs.gov:443/GetJob/ViewDetails/819979700\r\n cop_topics:\r\n - User Experience\r\n - Web Managers\r\n\r\n- title: Division Chief of Product Management, GS-0301-15, FPL 15 (MP)\r\n department: Department of Education\r\n location: Washington, District of Columbia\r\n description: >\r\n The position is telework eligible consistent with the Agency’s telework and remote work program policy. This position is located in Federal Student Aid, Technology Directorate Front Office in Washington DC, and is responsible for providing leadership in the evaluation, assessment, improvement and optimization of programs and management systems.\r\n open_date: 2024-11-20\r\n close_date: 2024-12-09\r\n apply_link: https://www.usajobs.gov:443/GetJob/ViewDetails/819981600\r\n cop_topics:\r\n - User Experience\r\n - Web Managers" From dda6bab4a71a0662cdf257ee2ce44d7625890f23 Mon Sep 17 00:00:00 2001 From: cathybaptista <161740096+cathybaptista@users.noreply.github.com> Date: Thu, 2 Jan 2025 17:23:41 -0500 Subject: [PATCH 07/21] DIGITAL-192: Add new role for admin and merge with origin/develop. --- ...override.node.guide_navigation.promote.yml | 22 -- ..._override.node.guide_navigation.status.yml | 22 -- ..._display.node.guide_navigation.default.yml | 139 ----------- ...ntity_form_display.node.guides.default.yml | 65 ++--- ..._display.paragraph.guide_pages.default.yml | 36 --- ..._display.node.guide_navigation.default.yml | 54 ---- ...w_display.node.guide_navigation.teaser.yml | 32 --- ...ntity_view_display.node.guides.default.yml | 36 +-- ...entity_view_display.node.guides.teaser.yml | 4 - ..._display.paragraph.guide_pages.default.yml | 30 --- config/sync/core.extension.yml | 1 - config/sync/dg_autologout.role.admin.yml | 3 - .../sync/dg_autologout.role.authenticated.yml | 3 - config/sync/dg_autologout.role.author.yml | 3 - .../sync/dg_autologout.role.content_admin.yml | 3 - .../sync/dg_autologout.role.data_analyst.yml | 3 - config/sync/dg_autologout.role.editor.yml | 3 - .../dg_autologout.role.identifier_admin.yml | 3 - config/sync/dg_autologout.role.publisher.yml | 3 - config/sync/dg_autologout.role.user_admin.yml | 3 - config/sync/dg_autologout.settings.yml | 27 -- ...uide_navigation.field_guide_navigation.yml | 43 ---- ...uide_navigation.field_guide_start_page.yml | 25 -- ...de.guide_navigation.field_parent_guide.yml | 25 -- ...uide_navigation.field_show_in_page_nav.yml | 21 -- ...de_navigation.field_show_next_previous.yml | 21 -- ....guide_navigation.field_show_read_time.yml | 21 -- ....field.node.guides.field_guide_nav_ref.yml | 29 --- ...ield.node.guides.field_guide_nav_title.yml | 19 -- .../field.field.node.guides.field_kicker.yml | 2 +- ...paragraph.guide_pages.field_guide_link.yml | 29 --- ...ragraph.guide_pages.field_guide_subnav.yml | 29 --- ...field.storage.node.field_guide_nav_ref.yml | 19 -- ...eld.storage.node.field_guide_nav_title.yml | 21 -- ...ld.storage.node.field_guide_navigation.yml | 21 -- ...ld.storage.node.field_guide_start_page.yml | 19 -- .../field.storage.node.field_parent_guide.yml | 19 -- ...ld.storage.node.field_show_in_page_nav.yml | 18 -- ....storage.node.field_show_next_previous.yml | 18 -- ...ield.storage.node.field_show_read_time.yml | 18 -- ...eld.storage.paragraph.field_guide_link.yml | 20 -- ...d.storage.paragraph.field_guide_subnav.yml | 20 -- config/sync/node.type.guide_navigation.yml | 31 --- .../sync/override_node_options.settings.yml | 2 +- ...paragraphs.paragraphs_type.guide_pages.yml | 10 - ...add_role_action.guide_navigation_admin.yml | 14 -- ...user_add_role_action.job_board_manager.yml | 14 ++ ...ove_role_action.guide_navigation_admin.yml | 14 -- ...r_remove_role_action.job_board_manager.yml | 14 ++ config/sync/user.role.content_admin.yml | 5 - .../sync/user.role.guide_navigation_admin.yml | 21 -- config/sync/user.role.job_board_manager.yml | 15 ++ config/sync/user.role.user_admin.yml | 1 - .../views.view.parent_guide_nav_pages_ref.yml | 232 ------------------ 54 files changed, 80 insertions(+), 1245 deletions(-) delete mode 100644 config/sync/core.base_field_override.node.guide_navigation.promote.yml delete mode 100644 config/sync/core.base_field_override.node.guide_navigation.status.yml delete mode 100644 config/sync/core.entity_form_display.node.guide_navigation.default.yml delete mode 100644 config/sync/core.entity_form_display.paragraph.guide_pages.default.yml delete mode 100644 config/sync/core.entity_view_display.node.guide_navigation.default.yml delete mode 100644 config/sync/core.entity_view_display.node.guide_navigation.teaser.yml delete mode 100644 config/sync/core.entity_view_display.paragraph.guide_pages.default.yml delete mode 100644 config/sync/dg_autologout.role.admin.yml delete mode 100644 config/sync/dg_autologout.role.authenticated.yml delete mode 100644 config/sync/dg_autologout.role.author.yml delete mode 100644 config/sync/dg_autologout.role.content_admin.yml delete mode 100644 config/sync/dg_autologout.role.data_analyst.yml delete mode 100644 config/sync/dg_autologout.role.editor.yml delete mode 100644 config/sync/dg_autologout.role.identifier_admin.yml delete mode 100644 config/sync/dg_autologout.role.publisher.yml delete mode 100644 config/sync/dg_autologout.role.user_admin.yml delete mode 100644 config/sync/dg_autologout.settings.yml delete mode 100644 config/sync/field.field.node.guide_navigation.field_guide_navigation.yml delete mode 100644 config/sync/field.field.node.guide_navigation.field_guide_start_page.yml delete mode 100644 config/sync/field.field.node.guide_navigation.field_parent_guide.yml delete mode 100644 config/sync/field.field.node.guide_navigation.field_show_in_page_nav.yml delete mode 100644 config/sync/field.field.node.guide_navigation.field_show_next_previous.yml delete mode 100644 config/sync/field.field.node.guide_navigation.field_show_read_time.yml delete mode 100644 config/sync/field.field.node.guides.field_guide_nav_ref.yml delete mode 100644 config/sync/field.field.node.guides.field_guide_nav_title.yml delete mode 100644 config/sync/field.field.paragraph.guide_pages.field_guide_link.yml delete mode 100644 config/sync/field.field.paragraph.guide_pages.field_guide_subnav.yml delete mode 100644 config/sync/field.storage.node.field_guide_nav_ref.yml delete mode 100644 config/sync/field.storage.node.field_guide_nav_title.yml delete mode 100644 config/sync/field.storage.node.field_guide_navigation.yml delete mode 100644 config/sync/field.storage.node.field_guide_start_page.yml delete mode 100644 config/sync/field.storage.node.field_parent_guide.yml delete mode 100644 config/sync/field.storage.node.field_show_in_page_nav.yml delete mode 100644 config/sync/field.storage.node.field_show_next_previous.yml delete mode 100644 config/sync/field.storage.node.field_show_read_time.yml delete mode 100644 config/sync/field.storage.paragraph.field_guide_link.yml delete mode 100644 config/sync/field.storage.paragraph.field_guide_subnav.yml delete mode 100644 config/sync/node.type.guide_navigation.yml delete mode 100644 config/sync/paragraphs.paragraphs_type.guide_pages.yml delete mode 100644 config/sync/system.action.user_add_role_action.guide_navigation_admin.yml create mode 100644 config/sync/system.action.user_add_role_action.job_board_manager.yml delete mode 100644 config/sync/system.action.user_remove_role_action.guide_navigation_admin.yml create mode 100644 config/sync/system.action.user_remove_role_action.job_board_manager.yml delete mode 100644 config/sync/user.role.guide_navigation_admin.yml create mode 100644 config/sync/user.role.job_board_manager.yml delete mode 100644 config/sync/views.view.parent_guide_nav_pages_ref.yml diff --git a/config/sync/core.base_field_override.node.guide_navigation.promote.yml b/config/sync/core.base_field_override.node.guide_navigation.promote.yml deleted file mode 100644 index 0b83b82a..00000000 --- a/config/sync/core.base_field_override.node.guide_navigation.promote.yml +++ /dev/null @@ -1,22 +0,0 @@ -uuid: a1068024-c5f1-416f-8bc9-28048fbcd2e2 -langcode: en -status: true -dependencies: - config: - - node.type.guide_navigation -id: node.guide_navigation.promote -field_name: promote -entity_type: node -bundle: guide_navigation -label: 'Promoted to front page' -description: '' -required: false -translatable: true -default_value: - - - value: 0 -default_value_callback: '' -settings: - on_label: 'On' - off_label: 'Off' -field_type: boolean diff --git a/config/sync/core.base_field_override.node.guide_navigation.status.yml b/config/sync/core.base_field_override.node.guide_navigation.status.yml deleted file mode 100644 index dd99fe40..00000000 --- a/config/sync/core.base_field_override.node.guide_navigation.status.yml +++ /dev/null @@ -1,22 +0,0 @@ -uuid: d930a71d-81af-45a1-99f4-18db2af2d1d4 -langcode: en -status: true -dependencies: - config: - - node.type.guide_navigation -id: node.guide_navigation.status -field_name: status -entity_type: node -bundle: guide_navigation -label: Published -description: '' -required: false -translatable: true -default_value: - - - value: 0 -default_value_callback: '' -settings: - on_label: 'On' - off_label: 'Off' -field_type: boolean diff --git a/config/sync/core.entity_form_display.node.guide_navigation.default.yml b/config/sync/core.entity_form_display.node.guide_navigation.default.yml deleted file mode 100644 index c43647c1..00000000 --- a/config/sync/core.entity_form_display.node.guide_navigation.default.yml +++ /dev/null @@ -1,139 +0,0 @@ -uuid: 31864a7f-f8df-4e04-bd14-f8b75be8f6fe -langcode: en -status: true -dependencies: - config: - - field.field.node.guide_navigation.field_guide_navigation - - field.field.node.guide_navigation.field_guide_start_page - - field.field.node.guide_navigation.field_parent_guide - - field.field.node.guide_navigation.field_show_in_page_nav - - field.field.node.guide_navigation.field_show_next_previous - - field.field.node.guide_navigation.field_show_read_time - - node.type.guide_navigation - module: - - content_moderation - - field_group - - paragraphs -third_party_settings: - field_group: - group_settings: - children: - - field_guide_start_page - - field_show_next_previous - - field_show_read_time - - field_show_in_page_nav - - field_parent_guide - label: Settings - region: content - parent_name: '' - weight: 2 - format_type: fieldset - format_settings: - classes: '' - show_empty_fields: false - id: '' - label_as_html: false - description: '' - required_fields: true -id: node.guide_navigation.default -targetEntityType: node -bundle: guide_navigation -mode: default -content: - created: - type: datetime_timestamp - weight: 5 - region: content - settings: { } - third_party_settings: { } - field_guide_navigation: - type: paragraphs - weight: 3 - region: content - settings: - title: Paragraph - title_plural: Paragraphs - edit_mode: open - closed_mode: summary - autocollapse: none - closed_mode_threshold: 0 - add_mode: dropdown - form_display_mode: default - default_paragraph_type: '' - features: - collapse_edit_all: collapse_edit_all - duplicate: duplicate - third_party_settings: { } - field_guide_start_page: - type: options_select - weight: 1 - region: content - settings: { } - third_party_settings: { } - field_parent_guide: - type: options_select - weight: 5 - region: content - settings: { } - third_party_settings: { } - field_show_in_page_nav: - type: boolean_checkbox - weight: 4 - region: content - settings: - display_label: true - third_party_settings: { } - field_show_next_previous: - type: boolean_checkbox - weight: 2 - region: content - settings: - display_label: true - third_party_settings: { } - field_show_read_time: - type: boolean_checkbox - weight: 3 - region: content - settings: - display_label: true - third_party_settings: { } - moderation_state: - type: moderation_state_default - weight: 6 - region: content - settings: { } - third_party_settings: { } - status: - type: boolean_checkbox - weight: 7 - region: content - settings: - display_label: true - third_party_settings: { } - title: - type: string_textfield - weight: 0 - region: content - settings: - size: 60 - placeholder: '' - third_party_settings: { } - uid: - type: entity_reference_autocomplete - weight: 4 - region: content - settings: - match_operator: CONTAINS - match_limit: 10 - size: 60 - placeholder: '' - third_party_settings: { } -hidden: - path: true - promote: true - publish_on: true - publish_state: true - sticky: true - unpublish_on: true - unpublish_state: true - url_redirects: true diff --git a/config/sync/core.entity_form_display.node.guides.default.yml b/config/sync/core.entity_form_display.node.guides.default.yml index 8aa57ea5..4c02d905 100644 --- a/config/sync/core.entity_form_display.node.guides.default.yml +++ b/config/sync/core.entity_form_display.node.guides.default.yml @@ -7,8 +7,6 @@ dependencies: - field.field.node.guides.field_deck - field.field.node.guides.field_featured_image - field.field.node.guides.field_glossary - - field.field.node.guides.field_guide_nav_ref - - field.field.node.guides.field_guide_nav_title - field.field.node.guides.field_guide_weight - field.field.node.guides.field_kicker - field.field.node.guides.field_page_weight @@ -21,30 +19,11 @@ dependencies: module: - autocomplete_deluxe - content_moderation - - field_group - inline_entity_form - maxlength - media_library - path - text -third_party_settings: - field_group: - group_guide_navigation: - children: - - field_guide_nav_title - - field_guide_nav_ref - label: 'Guide Navigation' - region: content - parent_name: '' - weight: 14 - format_type: fieldset - format_settings: - classes: '' - show_empty_fields: false - id: '' - label_as_html: false - description: '' - required_fields: true id: node.guides.default targetEntityType: node bundle: guides @@ -52,7 +31,7 @@ mode: default content: body: type: text_textarea_with_summary - weight: 4 + weight: 3 region: content settings: rows: 9 @@ -62,7 +41,7 @@ content: third_party_settings: { } created: type: datetime_timestamp - weight: 7 + weight: 6 region: content settings: { } third_party_settings: { } @@ -80,7 +59,7 @@ content: maxlength_js_enforce: true field_featured_image: type: media_library_widget - weight: 13 + weight: 12 region: content settings: media_types: { } @@ -91,30 +70,16 @@ content: region: content settings: { } third_party_settings: { } - field_guide_nav_ref: - type: options_select - weight: 26 - region: content - settings: { } - third_party_settings: { } - field_guide_nav_title: - type: string_textfield - weight: 18 - region: content - settings: - size: 60 - placeholder: '' - third_party_settings: { } field_guide_weight: type: number - weight: 11 + weight: 10 region: content settings: placeholder: '' third_party_settings: { } field_kicker: type: string_textfield - weight: 2 + weight: 1 region: content settings: size: 60 @@ -122,21 +87,21 @@ content: third_party_settings: { } field_page_weight: type: number - weight: 10 + weight: 9 region: content settings: placeholder: '' third_party_settings: { } field_primary_image: type: media_library_widget - weight: 12 + weight: 11 region: content settings: media_types: { } third_party_settings: { } field_summary: type: text_textarea - weight: 3 + weight: 2 region: content settings: rows: 1 @@ -148,13 +113,13 @@ content: maxlength_js_enforce: true field_summary_box: type: boolean_checkbox - weight: 5 + weight: 4 region: content settings: display_label: true third_party_settings: { } field_topics: - type: autocomplete_deluxe + type: inline_entity_form_complex weight: 13 region: content settings: @@ -172,19 +137,19 @@ content: third_party_settings: { } moderation_state: type: moderation_state_default - weight: 8 + weight: 7 region: content settings: { } third_party_settings: { } path: type: path - weight: 16 + weight: 30 region: content settings: { } third_party_settings: { } status: type: boolean_checkbox - weight: 9 + weight: 8 region: content settings: display_label: true @@ -199,7 +164,7 @@ content: third_party_settings: { } uid: type: inline_entity_form_complex - weight: 6 + weight: 5 region: content settings: form_mode: default @@ -216,7 +181,7 @@ content: removed_reference: optional third_party_settings: { } url_redirects: - weight: 17 + weight: 50 region: content settings: { } third_party_settings: { } diff --git a/config/sync/core.entity_form_display.paragraph.guide_pages.default.yml b/config/sync/core.entity_form_display.paragraph.guide_pages.default.yml deleted file mode 100644 index b8236ac2..00000000 --- a/config/sync/core.entity_form_display.paragraph.guide_pages.default.yml +++ /dev/null @@ -1,36 +0,0 @@ -uuid: 873ef0b3-fe5e-40e5-85a4-40aaec2cb332 -langcode: en -status: true -dependencies: - config: - - field.field.paragraph.guide_pages.field_guide_link - - field.field.paragraph.guide_pages.field_guide_subnav - - paragraphs.paragraphs_type.guide_pages -id: paragraph.guide_pages.default -targetEntityType: paragraph -bundle: guide_pages -mode: default -content: - field_guide_link: - type: entity_reference_autocomplete - weight: 0 - region: content - settings: - match_operator: CONTAINS - match_limit: 10 - size: 60 - placeholder: '' - third_party_settings: { } - field_guide_subnav: - type: entity_reference_autocomplete - weight: 1 - region: content - settings: - match_operator: CONTAINS - match_limit: 10 - size: 60 - placeholder: '' - third_party_settings: { } -hidden: - created: true - status: true diff --git a/config/sync/core.entity_view_display.node.guide_navigation.default.yml b/config/sync/core.entity_view_display.node.guide_navigation.default.yml deleted file mode 100644 index 472fc86a..00000000 --- a/config/sync/core.entity_view_display.node.guide_navigation.default.yml +++ /dev/null @@ -1,54 +0,0 @@ -uuid: b0fbf982-3c1c-4cd7-a506-b56032a701e6 -langcode: en -status: true -dependencies: - config: - - field.field.node.guide_navigation.field_guide_navigation - - field.field.node.guide_navigation.field_guide_start_page - - field.field.node.guide_navigation.field_parent_guide - - field.field.node.guide_navigation.field_show_in_page_nav - - field.field.node.guide_navigation.field_show_next_previous - - field.field.node.guide_navigation.field_show_read_time - - node.type.guide_navigation - module: - - entity_reference_revisions - - user -id: node.guide_navigation.default -targetEntityType: node -bundle: guide_navigation -mode: default -content: - field_guide_navigation: - type: entity_reference_revisions_entity_view - label: hidden - settings: - view_mode: default - link: '' - third_party_settings: { } - weight: 2 - region: content - field_guide_start_page: - type: entity_reference_label - label: hidden - settings: - link: true - third_party_settings: { } - weight: 1 - region: content - field_parent_guide: - type: entity_reference_label - label: above - settings: - link: true - third_party_settings: { } - weight: 3 - region: content - links: - settings: { } - third_party_settings: { } - weight: 0 - region: content -hidden: - field_show_in_page_nav: true - field_show_next_previous: true - field_show_read_time: true diff --git a/config/sync/core.entity_view_display.node.guide_navigation.teaser.yml b/config/sync/core.entity_view_display.node.guide_navigation.teaser.yml deleted file mode 100644 index aa57ed66..00000000 --- a/config/sync/core.entity_view_display.node.guide_navigation.teaser.yml +++ /dev/null @@ -1,32 +0,0 @@ -uuid: 59bc9e44-b5bd-4d4e-9ba4-28f435b0e764 -langcode: en -status: true -dependencies: - config: - - core.entity_view_mode.node.teaser - - field.field.node.guide_navigation.field_guide_navigation - - field.field.node.guide_navigation.field_guide_start_page - - field.field.node.guide_navigation.field_parent_guide - - field.field.node.guide_navigation.field_show_in_page_nav - - field.field.node.guide_navigation.field_show_next_previous - - field.field.node.guide_navigation.field_show_read_time - - node.type.guide_navigation - module: - - user -id: node.guide_navigation.teaser -targetEntityType: node -bundle: guide_navigation -mode: teaser -content: - links: - settings: { } - third_party_settings: { } - weight: 100 - region: content -hidden: - field_guide_navigation: true - field_guide_start_page: true - field_parent_guide: true - field_show_in_page_nav: true - field_show_next_previous: true - field_show_read_time: true diff --git a/config/sync/core.entity_view_display.node.guides.default.yml b/config/sync/core.entity_view_display.node.guides.default.yml index 810e3643..715bfda7 100644 --- a/config/sync/core.entity_view_display.node.guides.default.yml +++ b/config/sync/core.entity_view_display.node.guides.default.yml @@ -7,8 +7,6 @@ dependencies: - field.field.node.guides.field_deck - field.field.node.guides.field_featured_image - field.field.node.guides.field_glossary - - field.field.node.guides.field_guide_nav_ref - - field.field.node.guides.field_guide_nav_title - field.field.node.guides.field_guide_weight - field.field.node.guides.field_kicker - field.field.node.guides.field_page_weight @@ -30,19 +28,19 @@ content: label: hidden settings: { } third_party_settings: { } - weight: 2 + weight: 101 region: content content_moderation_control: settings: { } third_party_settings: { } - weight: 0 + weight: -20 region: content field_deck: type: text_default label: above settings: { } third_party_settings: { } - weight: 5 + weight: 108 region: content field_featured_image: type: entity_reference_entity_view @@ -75,7 +73,7 @@ content: settings: link_to_entity: false third_party_settings: { } - weight: 7 + weight: 116 region: content field_page_weight: type: number_integer @@ -84,7 +82,7 @@ content: thousand_separator: '' prefix_suffix: true third_party_settings: { } - weight: 3 + weight: 102 region: content field_primary_image: type: entity_reference_entity_view @@ -93,14 +91,24 @@ content: view_mode: default link: false third_party_settings: { } - weight: 6 + weight: 114 region: content field_summary: type: text_default label: above settings: { } third_party_settings: { } - weight: 4 + weight: 104 + region: content + field_summary_box: + type: boolean + label: above + settings: + format: default + format_custom_false: '' + format_custom_true: '' + third_party_settings: { } + weight: 126 region: content field_topics: type: entity_reference_label @@ -108,15 +116,11 @@ content: settings: link: true third_party_settings: { } - weight: 9 + weight: 125 region: content links: settings: { } third_party_settings: { } - weight: 1 + weight: 100 region: content -hidden: - field_guide_nav_ref: true - field_guide_nav_title: true - field_guide_weight: true - field_summary_box: true +hidden: { } diff --git a/config/sync/core.entity_view_display.node.guides.teaser.yml b/config/sync/core.entity_view_display.node.guides.teaser.yml index 7808c7ca..e052bdee 100644 --- a/config/sync/core.entity_view_display.node.guides.teaser.yml +++ b/config/sync/core.entity_view_display.node.guides.teaser.yml @@ -8,8 +8,6 @@ dependencies: - field.field.node.guides.field_deck - field.field.node.guides.field_featured_image - field.field.node.guides.field_glossary - - field.field.node.guides.field_guide_nav_ref - - field.field.node.guides.field_guide_nav_title - field.field.node.guides.field_guide_weight - field.field.node.guides.field_kicker - field.field.node.guides.field_page_weight @@ -48,8 +46,6 @@ hidden: field_deck: true field_featured_image: true field_glossary: true - field_guide_nav_ref: true - field_guide_nav_title: true field_guide_weight: true field_kicker: true field_page_weight: true diff --git a/config/sync/core.entity_view_display.paragraph.guide_pages.default.yml b/config/sync/core.entity_view_display.paragraph.guide_pages.default.yml deleted file mode 100644 index 184e3f52..00000000 --- a/config/sync/core.entity_view_display.paragraph.guide_pages.default.yml +++ /dev/null @@ -1,30 +0,0 @@ -uuid: 37db2c21-cb3e-4961-b3b7-ef7c0c848f88 -langcode: en -status: true -dependencies: - config: - - field.field.paragraph.guide_pages.field_guide_link - - field.field.paragraph.guide_pages.field_guide_subnav - - paragraphs.paragraphs_type.guide_pages -id: paragraph.guide_pages.default -targetEntityType: paragraph -bundle: guide_pages -mode: default -content: - field_guide_link: - type: entity_reference_label - label: hidden - settings: - link: true - third_party_settings: { } - weight: 0 - region: content - field_guide_subnav: - type: entity_reference_label - label: hidden - settings: - link: true - third_party_settings: { } - weight: 1 - region: content -hidden: { } diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index bb98efa1..da639647 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -19,7 +19,6 @@ module: dblog: 0 default_content: 0 default_content_config: 0 - dg_autologout: 0 dg_breadcrumb: 0 dg_fields: 0 dg_token: 0 diff --git a/config/sync/dg_autologout.role.admin.yml b/config/sync/dg_autologout.role.admin.yml deleted file mode 100644 index bd22cf4d..00000000 --- a/config/sync/dg_autologout.role.admin.yml +++ /dev/null @@ -1,3 +0,0 @@ -enabled: false -timeout: null -url: '' diff --git a/config/sync/dg_autologout.role.authenticated.yml b/config/sync/dg_autologout.role.authenticated.yml deleted file mode 100644 index bd22cf4d..00000000 --- a/config/sync/dg_autologout.role.authenticated.yml +++ /dev/null @@ -1,3 +0,0 @@ -enabled: false -timeout: null -url: '' diff --git a/config/sync/dg_autologout.role.author.yml b/config/sync/dg_autologout.role.author.yml deleted file mode 100644 index bd22cf4d..00000000 --- a/config/sync/dg_autologout.role.author.yml +++ /dev/null @@ -1,3 +0,0 @@ -enabled: false -timeout: null -url: '' diff --git a/config/sync/dg_autologout.role.content_admin.yml b/config/sync/dg_autologout.role.content_admin.yml deleted file mode 100644 index bd22cf4d..00000000 --- a/config/sync/dg_autologout.role.content_admin.yml +++ /dev/null @@ -1,3 +0,0 @@ -enabled: false -timeout: null -url: '' diff --git a/config/sync/dg_autologout.role.data_analyst.yml b/config/sync/dg_autologout.role.data_analyst.yml deleted file mode 100644 index bd22cf4d..00000000 --- a/config/sync/dg_autologout.role.data_analyst.yml +++ /dev/null @@ -1,3 +0,0 @@ -enabled: false -timeout: null -url: '' diff --git a/config/sync/dg_autologout.role.editor.yml b/config/sync/dg_autologout.role.editor.yml deleted file mode 100644 index bd22cf4d..00000000 --- a/config/sync/dg_autologout.role.editor.yml +++ /dev/null @@ -1,3 +0,0 @@ -enabled: false -timeout: null -url: '' diff --git a/config/sync/dg_autologout.role.identifier_admin.yml b/config/sync/dg_autologout.role.identifier_admin.yml deleted file mode 100644 index bd22cf4d..00000000 --- a/config/sync/dg_autologout.role.identifier_admin.yml +++ /dev/null @@ -1,3 +0,0 @@ -enabled: false -timeout: null -url: '' diff --git a/config/sync/dg_autologout.role.publisher.yml b/config/sync/dg_autologout.role.publisher.yml deleted file mode 100644 index bd22cf4d..00000000 --- a/config/sync/dg_autologout.role.publisher.yml +++ /dev/null @@ -1,3 +0,0 @@ -enabled: false -timeout: null -url: '' diff --git a/config/sync/dg_autologout.role.user_admin.yml b/config/sync/dg_autologout.role.user_admin.yml deleted file mode 100644 index bd22cf4d..00000000 --- a/config/sync/dg_autologout.role.user_admin.yml +++ /dev/null @@ -1,3 +0,0 @@ -enabled: false -timeout: null -url: '' diff --git a/config/sync/dg_autologout.settings.yml b/config/sync/dg_autologout.settings.yml deleted file mode 100644 index 8b91616e..00000000 --- a/config/sync/dg_autologout.settings.yml +++ /dev/null @@ -1,27 +0,0 @@ -_core: - default_config_hash: ou29sK1fi0MGjbVgsIAp1n-2_yofUuGcszRhDDPwpYo -enabled: true -timeout: 43200 -max_timeout: 43200 -padding: null -logout_regardless_of_activity: true -no_individual_logout_threshold: true -role_logout: false -role_logout_max: false -redirect_url: /user/login -include_destination: true -no_dialog: true -message: 'We are about to log you out for inactivity. If we do, you will lose any unsaved work. Do you need more time?' -inactivity_message: 'You have been logged out due to inactivity.' -inactivity_message_type: status -modal_width: 450 -enforce_admin: true -jstimer_format: '%hours%:%mins%:%secs%' -jstimer_js_load_option: false -use_alt_logout_method: false -use_watchdog: true -dialog_title: 'Digital.gov Alert' -disable_buttons: false -yes_button: '' -no_button: '' -whitelisted_ip_addresses: '' diff --git a/config/sync/field.field.node.guide_navigation.field_guide_navigation.yml b/config/sync/field.field.node.guide_navigation.field_guide_navigation.yml deleted file mode 100644 index 4c9b4372..00000000 --- a/config/sync/field.field.node.guide_navigation.field_guide_navigation.yml +++ /dev/null @@ -1,43 +0,0 @@ -uuid: 7fd2919b-bfcc-4056-9891-ae4163e33c7f -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_guide_navigation - - node.type.guide_navigation - - paragraphs.paragraphs_type.guide_pages - module: - - entity_reference_revisions -id: node.guide_navigation.field_guide_navigation -field_name: field_guide_navigation -entity_type: node -bundle: guide_navigation -label: Navigation -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: - handler: 'default:paragraph' - handler_settings: - target_bundles: - guide_pages: guide_pages - negate: 0 - target_bundles_drag_drop: - external_content: - weight: 6 - enabled: false - featured_links: - weight: 7 - enabled: false - guide_pages: - weight: 8 - enabled: true - internal_content: - weight: 9 - enabled: false - venue: - weight: 10 - enabled: false -field_type: entity_reference_revisions diff --git a/config/sync/field.field.node.guide_navigation.field_guide_start_page.yml b/config/sync/field.field.node.guide_navigation.field_guide_start_page.yml deleted file mode 100644 index ba6b73f7..00000000 --- a/config/sync/field.field.node.guide_navigation.field_guide_start_page.yml +++ /dev/null @@ -1,25 +0,0 @@ -uuid: e52fac26-5aa5-45b6-a870-c98f5e32b81b -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_guide_start_page - - node.type.guide_navigation -id: node.guide_navigation.field_guide_start_page -field_name: field_guide_start_page -entity_type: node -bundle: guide_navigation -label: 'Start Page' -description: "The guide that will be as the 'Header' for all guides that use this guide navigation." -required: true -translatable: false -default_value: { } -default_value_callback: '' -settings: - handler: views - handler_settings: - view: - view_name: parent_guide_nav_pages_ref - display_name: entity_reference_1 - arguments: { } -field_type: entity_reference diff --git a/config/sync/field.field.node.guide_navigation.field_parent_guide.yml b/config/sync/field.field.node.guide_navigation.field_parent_guide.yml deleted file mode 100644 index 0a4bc956..00000000 --- a/config/sync/field.field.node.guide_navigation.field_parent_guide.yml +++ /dev/null @@ -1,25 +0,0 @@ -uuid: 2e9e93c2-3d30-4a49-be9c-3124e243fda8 -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_parent_guide - - node.type.guide_navigation -id: node.guide_navigation.field_parent_guide -field_name: field_parent_guide -entity_type: node -bundle: guide_navigation -label: 'Parent Guide' -description: 'A guide that will be linked to in the header of all guides that use this guide navigation.' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: - handler: views - handler_settings: - view: - view_name: parent_guide_nav_pages_ref - display_name: entity_reference_1 - arguments: { } -field_type: entity_reference diff --git a/config/sync/field.field.node.guide_navigation.field_show_in_page_nav.yml b/config/sync/field.field.node.guide_navigation.field_show_in_page_nav.yml deleted file mode 100644 index 13dd3c92..00000000 --- a/config/sync/field.field.node.guide_navigation.field_show_in_page_nav.yml +++ /dev/null @@ -1,21 +0,0 @@ -uuid: e9ed03e7-d570-4b50-8af8-64fdb8815f6e -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_show_in_page_nav - - node.type.guide_navigation -id: node.guide_navigation.field_show_in_page_nav -field_name: field_show_in_page_nav -entity_type: node -bundle: guide_navigation -label: 'Show In-page Nav' -description: 'If selected, this will show the left hand navigation that has links to all headers of the current page as well as links to the subnav links for the current guide.' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: - on_label: 'Yes' - off_label: 'No' -field_type: boolean diff --git a/config/sync/field.field.node.guide_navigation.field_show_next_previous.yml b/config/sync/field.field.node.guide_navigation.field_show_next_previous.yml deleted file mode 100644 index 39980e13..00000000 --- a/config/sync/field.field.node.guide_navigation.field_show_next_previous.yml +++ /dev/null @@ -1,21 +0,0 @@ -uuid: fb40b5b7-673e-4a23-9db2-5b211be2c3b6 -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_show_next_previous - - node.type.guide_navigation -id: node.guide_navigation.field_show_next_previous -field_name: field_show_next_previous -entity_type: node -bundle: guide_navigation -label: 'Show Next/Previous' -description: 'If selected, show links at the bottom of the guides allow navigation between the previous and next page.' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: - on_label: 'Yes' - off_label: 'No' -field_type: boolean diff --git a/config/sync/field.field.node.guide_navigation.field_show_read_time.yml b/config/sync/field.field.node.guide_navigation.field_show_read_time.yml deleted file mode 100644 index 69e5b68f..00000000 --- a/config/sync/field.field.node.guide_navigation.field_show_read_time.yml +++ /dev/null @@ -1,21 +0,0 @@ -uuid: d214ed7e-b3f9-43e7-be71-da1197e36d91 -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_show_read_time - - node.type.guide_navigation -id: node.guide_navigation.field_show_read_time -field_name: field_show_read_time -entity_type: node -bundle: guide_navigation -label: 'Show Read Time' -description: 'If selected, the average time to read the current guide will be created and shown.' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: - on_label: 'Yes' - off_label: 'No' -field_type: boolean diff --git a/config/sync/field.field.node.guides.field_guide_nav_ref.yml b/config/sync/field.field.node.guides.field_guide_nav_ref.yml deleted file mode 100644 index dcf66969..00000000 --- a/config/sync/field.field.node.guides.field_guide_nav_ref.yml +++ /dev/null @@ -1,29 +0,0 @@ -uuid: c401a03f-21ab-4bdc-942a-ae789b8f255f -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_guide_nav_ref - - node.type.guide_navigation - - node.type.guides -id: node.guides.field_guide_nav_ref -field_name: field_guide_nav_ref -entity_type: node -bundle: guides -label: 'Guide Navigation' -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: - handler: 'default:node' - handler_settings: - target_bundles: - guide_navigation: guide_navigation - sort: - field: title - direction: ASC - auto_create: false - auto_create_bundle: '' -field_type: entity_reference diff --git a/config/sync/field.field.node.guides.field_guide_nav_title.yml b/config/sync/field.field.node.guides.field_guide_nav_title.yml deleted file mode 100644 index 8ce4ed13..00000000 --- a/config/sync/field.field.node.guides.field_guide_nav_title.yml +++ /dev/null @@ -1,19 +0,0 @@ -uuid: 11762898-05a4-4286-9c85-293fa9cdb4da -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_guide_nav_title - - node.type.guides -id: node.guides.field_guide_nav_title -field_name: field_guide_nav_title -entity_type: node -bundle: guides -label: 'Navigation Title' -description: 'Override the title in the guide navigation' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: { } -field_type: string diff --git a/config/sync/field.field.node.guides.field_kicker.yml b/config/sync/field.field.node.guides.field_kicker.yml index 3bf711ce..87149ffe 100644 --- a/config/sync/field.field.node.guides.field_kicker.yml +++ b/config/sync/field.field.node.guides.field_kicker.yml @@ -10,7 +10,7 @@ field_name: field_kicker entity_type: node bundle: guides label: Kicker -description: 'Highlight the relevant topic. This displays above the title on the /guides/ page. Should always be included. Use only one or two words.' +description: 'Highlight the relevant topic. This displays above the title on the /gudes/ page. Should always be included. Use only one or two words.' required: false translatable: false default_value: { } diff --git a/config/sync/field.field.paragraph.guide_pages.field_guide_link.yml b/config/sync/field.field.paragraph.guide_pages.field_guide_link.yml deleted file mode 100644 index db5988ee..00000000 --- a/config/sync/field.field.paragraph.guide_pages.field_guide_link.yml +++ /dev/null @@ -1,29 +0,0 @@ -uuid: db848e3c-3b5b-453a-88c5-b8f00c9836fd -langcode: en -status: true -dependencies: - config: - - field.storage.paragraph.field_guide_link - - node.type.guides - - paragraphs.paragraphs_type.guide_pages -id: paragraph.guide_pages.field_guide_link -field_name: field_guide_link -entity_type: paragraph -bundle: guide_pages -label: 'Guide Link' -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: - handler: 'default:node' - handler_settings: - target_bundles: - guides: guides - sort: - field: title - direction: ASC - auto_create: false - auto_create_bundle: '' -field_type: entity_reference diff --git a/config/sync/field.field.paragraph.guide_pages.field_guide_subnav.yml b/config/sync/field.field.paragraph.guide_pages.field_guide_subnav.yml deleted file mode 100644 index 02d70b7e..00000000 --- a/config/sync/field.field.paragraph.guide_pages.field_guide_subnav.yml +++ /dev/null @@ -1,29 +0,0 @@ -uuid: 85ea25cf-07d7-4a6c-a0e4-8f0e78ba87bd -langcode: en -status: true -dependencies: - config: - - field.storage.paragraph.field_guide_subnav - - node.type.guides - - paragraphs.paragraphs_type.guide_pages -id: paragraph.guide_pages.field_guide_subnav -field_name: field_guide_subnav -entity_type: paragraph -bundle: guide_pages -label: 'Subnav Links' -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: - handler: 'default:node' - handler_settings: - target_bundles: - guides: guides - sort: - field: title - direction: ASC - auto_create: false - auto_create_bundle: guides -field_type: entity_reference diff --git a/config/sync/field.storage.node.field_guide_nav_ref.yml b/config/sync/field.storage.node.field_guide_nav_ref.yml deleted file mode 100644 index 57d4059a..00000000 --- a/config/sync/field.storage.node.field_guide_nav_ref.yml +++ /dev/null @@ -1,19 +0,0 @@ -uuid: e9ed8dfb-c0e4-4831-b20c-05f3c719773a -langcode: en -status: true -dependencies: - module: - - node -id: node.field_guide_nav_ref -field_name: field_guide_nav_ref -entity_type: node -type: entity_reference -settings: - target_type: node -module: core -locked: false -cardinality: 1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/config/sync/field.storage.node.field_guide_nav_title.yml b/config/sync/field.storage.node.field_guide_nav_title.yml deleted file mode 100644 index 815b6363..00000000 --- a/config/sync/field.storage.node.field_guide_nav_title.yml +++ /dev/null @@ -1,21 +0,0 @@ -uuid: 5bcbb22a-edbf-4ee0-a931-f07b06629911 -langcode: en -status: true -dependencies: - module: - - node -id: node.field_guide_nav_title -field_name: field_guide_nav_title -entity_type: node -type: string -settings: - max_length: 255 - case_sensitive: false - is_ascii: false -module: core -locked: false -cardinality: 1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/config/sync/field.storage.node.field_guide_navigation.yml b/config/sync/field.storage.node.field_guide_navigation.yml deleted file mode 100644 index 92016d60..00000000 --- a/config/sync/field.storage.node.field_guide_navigation.yml +++ /dev/null @@ -1,21 +0,0 @@ -uuid: e9b23774-f2bd-4fb6-bbe8-84e721999b67 -langcode: en -status: true -dependencies: - module: - - entity_reference_revisions - - node - - paragraphs -id: node.field_guide_navigation -field_name: field_guide_navigation -entity_type: node -type: entity_reference_revisions -settings: - target_type: paragraph -module: entity_reference_revisions -locked: false -cardinality: -1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/config/sync/field.storage.node.field_guide_start_page.yml b/config/sync/field.storage.node.field_guide_start_page.yml deleted file mode 100644 index a152fb0e..00000000 --- a/config/sync/field.storage.node.field_guide_start_page.yml +++ /dev/null @@ -1,19 +0,0 @@ -uuid: 018b471d-d699-4ad6-adac-e5e404c49ba9 -langcode: en -status: true -dependencies: - module: - - node -id: node.field_guide_start_page -field_name: field_guide_start_page -entity_type: node -type: entity_reference -settings: - target_type: node -module: core -locked: false -cardinality: 1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/config/sync/field.storage.node.field_parent_guide.yml b/config/sync/field.storage.node.field_parent_guide.yml deleted file mode 100644 index 6f784124..00000000 --- a/config/sync/field.storage.node.field_parent_guide.yml +++ /dev/null @@ -1,19 +0,0 @@ -uuid: 71eab602-c462-4dec-95e7-2c7a234d9915 -langcode: en -status: true -dependencies: - module: - - node -id: node.field_parent_guide -field_name: field_parent_guide -entity_type: node -type: entity_reference -settings: - target_type: node -module: core -locked: false -cardinality: 1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/config/sync/field.storage.node.field_show_in_page_nav.yml b/config/sync/field.storage.node.field_show_in_page_nav.yml deleted file mode 100644 index 6f5285ef..00000000 --- a/config/sync/field.storage.node.field_show_in_page_nav.yml +++ /dev/null @@ -1,18 +0,0 @@ -uuid: cb81e9df-7bc7-4b0c-a2fa-a0dd68278a32 -langcode: en -status: true -dependencies: - module: - - node -id: node.field_show_in_page_nav -field_name: field_show_in_page_nav -entity_type: node -type: boolean -settings: { } -module: core -locked: false -cardinality: 1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/config/sync/field.storage.node.field_show_next_previous.yml b/config/sync/field.storage.node.field_show_next_previous.yml deleted file mode 100644 index 39f69979..00000000 --- a/config/sync/field.storage.node.field_show_next_previous.yml +++ /dev/null @@ -1,18 +0,0 @@ -uuid: 47112105-f2e2-4a78-99d8-3bfc19ae723a -langcode: en -status: true -dependencies: - module: - - node -id: node.field_show_next_previous -field_name: field_show_next_previous -entity_type: node -type: boolean -settings: { } -module: core -locked: false -cardinality: 1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/config/sync/field.storage.node.field_show_read_time.yml b/config/sync/field.storage.node.field_show_read_time.yml deleted file mode 100644 index d41e0372..00000000 --- a/config/sync/field.storage.node.field_show_read_time.yml +++ /dev/null @@ -1,18 +0,0 @@ -uuid: 9b0a6caa-e257-489e-9484-4b3ca7a71479 -langcode: en -status: true -dependencies: - module: - - node -id: node.field_show_read_time -field_name: field_show_read_time -entity_type: node -type: boolean -settings: { } -module: core -locked: false -cardinality: 1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/config/sync/field.storage.paragraph.field_guide_link.yml b/config/sync/field.storage.paragraph.field_guide_link.yml deleted file mode 100644 index 82ac1b27..00000000 --- a/config/sync/field.storage.paragraph.field_guide_link.yml +++ /dev/null @@ -1,20 +0,0 @@ -uuid: 30e8adf0-be45-4eaf-bd9f-43d254771eb8 -langcode: en -status: true -dependencies: - module: - - node - - paragraphs -id: paragraph.field_guide_link -field_name: field_guide_link -entity_type: paragraph -type: entity_reference -settings: - target_type: node -module: core -locked: false -cardinality: 1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/config/sync/field.storage.paragraph.field_guide_subnav.yml b/config/sync/field.storage.paragraph.field_guide_subnav.yml deleted file mode 100644 index f2e872a6..00000000 --- a/config/sync/field.storage.paragraph.field_guide_subnav.yml +++ /dev/null @@ -1,20 +0,0 @@ -uuid: 88c0fe3c-2a87-40a3-b854-85f9ab307f1a -langcode: en -status: true -dependencies: - module: - - node - - paragraphs -id: paragraph.field_guide_subnav -field_name: field_guide_subnav -entity_type: paragraph -type: entity_reference -settings: - target_type: node -module: core -locked: false -cardinality: -1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/config/sync/node.type.guide_navigation.yml b/config/sync/node.type.guide_navigation.yml deleted file mode 100644 index 5a081a56..00000000 --- a/config/sync/node.type.guide_navigation.yml +++ /dev/null @@ -1,31 +0,0 @@ -uuid: 97071e38-c55d-41f6-ad89-8ece83da5316 -langcode: en -status: true -dependencies: - module: - - menu_ui - - scheduler -third_party_settings: - menu_ui: - available_menus: { } - parent: '' - scheduler: - expand_fieldset: when_required - fields_display_mode: vertical_tab - publish_enable: false - publish_past_date: error - publish_past_date_created: false - publish_required: false - publish_revision: false - publish_touch: false - show_message_after_update: true - unpublish_enable: false - unpublish_required: false - unpublish_revision: false -name: 'Guide Navigation' -type: guide_navigation -description: null -help: null -new_revision: false -preview_mode: 1 -display_submitted: false diff --git a/config/sync/override_node_options.settings.yml b/config/sync/override_node_options.settings.yml index 633bdf39..7f5e2f73 100644 --- a/config/sync/override_node_options.settings.yml +++ b/config/sync/override_node_options.settings.yml @@ -1,4 +1,4 @@ _core: default_config_hash: Y0Jxf-pLD0BpNVMs5eY2YL6Ctcxc-sKfAi5IJa_bwQk general_permissions: 1 -specific_permissions: 1 +specific_permissions: 0 diff --git a/config/sync/paragraphs.paragraphs_type.guide_pages.yml b/config/sync/paragraphs.paragraphs_type.guide_pages.yml deleted file mode 100644 index 6aa5b7e4..00000000 --- a/config/sync/paragraphs.paragraphs_type.guide_pages.yml +++ /dev/null @@ -1,10 +0,0 @@ -uuid: 4d91e8be-ac51-4431-a7cf-bd94b7ab37be -langcode: en -status: true -dependencies: { } -id: guide_pages -label: 'Guide Pages' -icon_uuid: null -icon_default: null -description: 'Collection of pages to use in navigation for a guide.' -behavior_plugins: { } diff --git a/config/sync/system.action.user_add_role_action.guide_navigation_admin.yml b/config/sync/system.action.user_add_role_action.guide_navigation_admin.yml deleted file mode 100644 index 52e50643..00000000 --- a/config/sync/system.action.user_add_role_action.guide_navigation_admin.yml +++ /dev/null @@ -1,14 +0,0 @@ -uuid: 7632ffa8-086c-44c1-bf9f-c350e2059f78 -langcode: en -status: true -dependencies: - config: - - user.role.guide_navigation_admin - module: - - user -id: user_add_role_action.guide_navigation_admin -label: 'Add the Guide Navigation Admin role to the selected user(s)' -type: user -plugin: user_add_role_action -configuration: - rid: guide_navigation_admin diff --git a/config/sync/system.action.user_add_role_action.job_board_manager.yml b/config/sync/system.action.user_add_role_action.job_board_manager.yml new file mode 100644 index 00000000..c3d14396 --- /dev/null +++ b/config/sync/system.action.user_add_role_action.job_board_manager.yml @@ -0,0 +1,14 @@ +uuid: 4c5e5893-6ae9-4a3f-b12f-72783e7a03c9 +langcode: en +status: true +dependencies: + config: + - user.role.job_board_manager + module: + - user +id: user_add_role_action.job_board_manager +label: 'Add the Job Board Manager role to the selected user(s)' +type: user +plugin: user_add_role_action +configuration: + rid: job_board_manager diff --git a/config/sync/system.action.user_remove_role_action.guide_navigation_admin.yml b/config/sync/system.action.user_remove_role_action.guide_navigation_admin.yml deleted file mode 100644 index 547c5ff1..00000000 --- a/config/sync/system.action.user_remove_role_action.guide_navigation_admin.yml +++ /dev/null @@ -1,14 +0,0 @@ -uuid: a8446a2f-080b-4615-8d45-3efc07bf7b45 -langcode: en -status: true -dependencies: - config: - - user.role.guide_navigation_admin - module: - - user -id: user_remove_role_action.guide_navigation_admin -label: 'Remove the Guide Navigation Admin role from the selected user(s)' -type: user -plugin: user_remove_role_action -configuration: - rid: guide_navigation_admin diff --git a/config/sync/system.action.user_remove_role_action.job_board_manager.yml b/config/sync/system.action.user_remove_role_action.job_board_manager.yml new file mode 100644 index 00000000..8208c3ce --- /dev/null +++ b/config/sync/system.action.user_remove_role_action.job_board_manager.yml @@ -0,0 +1,14 @@ +uuid: 9096afe6-a8b3-4484-a03d-51c4bc459b0f +langcode: en +status: true +dependencies: + config: + - user.role.job_board_manager + module: + - user +id: user_remove_role_action.job_board_manager +label: 'Remove the Job Board Manager role from the selected user(s)' +type: user +plugin: user_remove_role_action +configuration: + rid: job_board_manager diff --git a/config/sync/user.role.content_admin.yml b/config/sync/user.role.content_admin.yml index bf3b6e26..22e3fcdc 100644 --- a/config/sync/user.role.content_admin.yml +++ b/config/sync/user.role.content_admin.yml @@ -7,7 +7,6 @@ dependencies: - node.type.basic_page - node.type.community - node.type.event - - node.type.guide_navigation - node.type.guides - node.type.landing_page - node.type.news @@ -44,7 +43,6 @@ permissions: - 'create basic_page content' - 'create community content' - 'create event content' - - 'create guide_navigation content' - 'create guides content' - 'create landing_page content' - 'create media' @@ -53,13 +51,11 @@ permissions: - 'create short_post content' - 'create source content' - 'create topics content' - - 'delete any guide_navigation content' - 'delete any media' - 'edit any authors content' - 'edit any basic_page content' - 'edit any community content' - 'edit any event content' - - 'edit any guide_navigation content' - 'edit any guides content' - 'edit any landing_page content' - 'edit any news content' @@ -70,7 +66,6 @@ permissions: - 'edit identifier config page entity' - 'override all authored by option' - 'override all authored on option' - - 'override guide_navigation published option' - 'schedule publishing of nodes' - 'update any media' - 'use default embedded content button' diff --git a/config/sync/user.role.guide_navigation_admin.yml b/config/sync/user.role.guide_navigation_admin.yml deleted file mode 100644 index 4377802a..00000000 --- a/config/sync/user.role.guide_navigation_admin.yml +++ /dev/null @@ -1,21 +0,0 @@ -uuid: 89d3d12f-f60d-439a-8a5a-e57d6df00fce -langcode: en -status: true -dependencies: - config: - - node.type.guide_navigation - module: - - node - - override_node_options - - paragraphs_type_permissions -id: guide_navigation_admin -label: 'Guide Navigation Admin' -weight: 10 -is_admin: null -permissions: - - 'access content overview' - - 'bypass paragraphs type content access' - - 'create guide_navigation content' - - 'delete any guide_navigation content' - - 'edit any guide_navigation content' - - 'override guide_navigation published option' diff --git a/config/sync/user.role.job_board_manager.yml b/config/sync/user.role.job_board_manager.yml new file mode 100644 index 00000000..384ce5df --- /dev/null +++ b/config/sync/user.role.job_board_manager.yml @@ -0,0 +1,15 @@ +uuid: da56047c-0a73-497e-8794-1e1b3f971c06 +langcode: en +status: true +dependencies: + module: + - config_pages + - node +id: job_board_manager +label: 'Job Board Manager' +weight: 10 +is_admin: null +permissions: + - 'access content overview' + - 'edit job_board_administration config page entity' + - 'view job_board_administration config page entity' diff --git a/config/sync/user.role.user_admin.yml b/config/sync/user.role.user_admin.yml index 1e8bb8b9..10cb22e9 100644 --- a/config/sync/user.role.user_admin.yml +++ b/config/sync/user.role.user_admin.yml @@ -13,7 +13,6 @@ permissions: - 'assign content_admin role' - 'assign data_analyst role' - 'assign editor role' - - 'assign guide_navigation_admin role' - 'assign identifier_admin role' - 'assign publisher role' - 'assign user_admin role' diff --git a/config/sync/views.view.parent_guide_nav_pages_ref.yml b/config/sync/views.view.parent_guide_nav_pages_ref.yml deleted file mode 100644 index 2704f71c..00000000 --- a/config/sync/views.view.parent_guide_nav_pages_ref.yml +++ /dev/null @@ -1,232 +0,0 @@ -uuid: 1d09eb09-edbb-451d-87ae-d2542c6a6fe7 -langcode: en -status: true -dependencies: - module: - - node - - user -id: parent_guide_nav_pages_ref -label: 'Parent Guide Nav Pages Ref' -module: views -description: '' -tag: '' -base_table: node_field_data -base_field: nid -display: - default: - id: default - display_title: Default - display_plugin: default - position: 0 - display_options: - fields: - title: - id: title - table: node_field_data - field: title - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: title - plugin_id: field - label: '' - exclude: false - alter: - alter_text: false - make_link: false - absolute: false - word_boundary: false - ellipsis: false - strip_tags: false - trim: false - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: string - settings: - link_to_entity: true - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - pager: - type: mini - options: - offset: 0 - pagination_heading_level: h4 - items_per_page: 10 - total_pages: null - id: 0 - tags: - next: ›› - previous: ‹‹ - expose: - items_per_page: false - items_per_page_label: 'Items per page' - items_per_page_options: '5, 10, 25, 50' - items_per_page_options_all: false - items_per_page_options_all_label: '- All -' - offset: false - offset_label: Offset - exposed_form: - type: basic - options: - submit_button: Apply - reset_button: false - reset_button_label: Reset - exposed_sorts_label: 'Sort by' - expose_sort_order: true - sort_asc_label: Asc - sort_desc_label: Desc - access: - type: perm - options: - perm: 'access content' - cache: - type: tag - options: { } - empty: { } - sorts: - field_guide_weight_value: - id: field_guide_weight_value - table: node__field_guide_weight - field: field_guide_weight_value - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: '' - exposed: false - arguments: { } - filters: - status: - id: status - table: node_field_data - field: status - entity_type: node - entity_field: status - plugin_id: boolean - value: '1' - group: 1 - expose: - operator: '' - field_guide_weight_value: - id: field_guide_weight_value - table: node__field_guide_weight - field: field_guide_weight_value - relationship: none - group_type: group - admin_label: '' - plugin_id: numeric - operator: 'not empty' - value: - min: '' - max: '' - value: '' - group: 1 - exposed: false - expose: - operator_id: '' - label: '' - description: '' - use_operator: false - operator: '' - operator_limit_selection: false - operator_list: { } - identifier: '' - required: false - remember: false - multiple: false - remember_roles: - authenticated: authenticated - min_placeholder: '' - max_placeholder: '' - placeholder: '' - is_grouped: false - group_info: - label: '' - description: '' - identifier: '' - optional: true - widget: select - multiple: false - remember: false - default_group: All - default_group_multiple: { } - group_items: { } - style: - type: default - options: - grouping: { } - row_class: '' - default_row_class: true - uses_fields: false - row: - type: fields - options: - default_field_elements: true - inline: { } - separator: '' - hide_empty: false - query: - type: views_query - options: - query_comment: '' - disable_sql_rewrite: false - distinct: false - replica: false - query_tags: { } - relationships: { } - header: { } - footer: { } - display_extenders: { } - cache_metadata: - max-age: -1 - contexts: - - 'languages:language_content' - - 'languages:language_interface' - - url.query_args - - 'user.node_grants:view' - - user.permissions - tags: { } - entity_reference_1: - id: entity_reference_1 - display_title: 'Entity Reference' - display_plugin: entity_reference - position: 1 - display_options: - style: - type: entity_reference - options: - search_fields: - title: title - display_extenders: { } - cache_metadata: - max-age: -1 - contexts: - - 'languages:language_content' - - 'languages:language_interface' - - 'user.node_grants:view' - - user.permissions - tags: { } From 4de2880996cf50295180a15cf883f706e280eeb2 Mon Sep 17 00:00:00 2001 From: cathybaptista <161740096+cathybaptista@users.noreply.github.com> Date: Fri, 3 Jan 2025 11:06:57 -0500 Subject: [PATCH 08/21] DIGITAL-192: We should only show jobs that are still available. --- .../custom/digital_gov/digital_gov.theme | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/web/themes/custom/digital_gov/digital_gov.theme b/web/themes/custom/digital_gov/digital_gov.theme index 98c7cdf5..a8caf865 100644 --- a/web/themes/custom/digital_gov/digital_gov.theme +++ b/web/themes/custom/digital_gov/digital_gov.theme @@ -7,6 +7,7 @@ declare(strict_types=1); +use Drupal\Component\Serialization\Yaml; use Drupal\Core\Datetime\DrupalDateTime; use Drupal\Core\Link; use Drupal\Core\Template\Attribute; @@ -350,19 +351,20 @@ function digital_gov_theme_suggestions_node_alter(array &$suggestions, array $va /** * Implements hook_preprocess_HOOK(). */ - -use Drupal\Component\Serialization\Yaml; - - function digital_gov_preprocess_node__landing_page__job_board(&$variables, $hook) { $entity_type_manager = \Drupal::entityTypeManager(); $config_pages = $entity_type_manager->getStorage('config_pages')->load('job_board_administration'); $yml_string = $field_description = $config_pages->get('field_description')->getValue()[0]['value']; - $decoded_array = Yaml::decode($yml_string); - foreach ($decoded_array as &$item) { - $item['open_date'] = date('F j, Y', $item['open_date']); - $item['close_date'] = date('F j, Y', $item['close_date']); + $yml_array = Yaml::decode($yml_string); + $filtered_array = []; + foreach ($yml_array as $item) { + $close_date = date('Y-m-d', $item['close_date']); + $today = date('Y-m-d'); + if ($close_date >= $today) { + $item['open_date'] = date('F j, Y', $item['open_date']); + $item['close_date'] = date('F j, Y', $item['close_date']); + $filtered_array[] = $item; + } } - - $variables['job_board_administration'] = $decoded_array; + $variables['job_board_administration'] = $filtered_array; } From 6a6814cb8ee5e729eb5d05aac3faa5cdd778529e Mon Sep 17 00:00:00 2001 From: cathybaptista <161740096+cathybaptista@users.noreply.github.com> Date: Fri, 3 Jan 2025 11:26:52 -0500 Subject: [PATCH 09/21] DIGITAL-192: dictionary coding standards. --- .../node--landing-page--job-board.html.twig | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig index 0aab0d58..55ff852a 100644 --- a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig +++ b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig @@ -113,16 +113,16 @@ {{ item.close_date }}
- {#todo: this may not be best here?#} + {# todo: this may not be best here? #} {% set topic_acronym = { - "FCN": "Communicators", - "ML": "Multilingual", - "PL": "Plain Language", - "SM": "Social Media", - "UX": "User Experience", - "WAO": "Web Analytics", - "WCM": "Web Managers", - "CC": "Contact Center" + FCN: 'Communicators', + ML: 'Multilingual', + PL: 'Plain Language', + SM: 'Social Media', + UX: 'User Experience', + WAO: 'Web Analytics', + WCM: 'Web Managers', + CC: 'Contact Center' } %} {% for topic in item['cop_topics'] %} {% for key, value in topic_acronym %} From 5b11b908286e972073d16c52d15c89451c7e7c11 Mon Sep 17 00:00:00 2001 From: cathybaptista <161740096+cathybaptista@users.noreply.github.com> Date: Fri, 3 Jan 2025 11:32:14 -0500 Subject: [PATCH 10/21] DIGITAL-192: dictionary coding standards. --- .../templates/node/node--landing-page--job-board.html.twig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig index 55ff852a..873afbb0 100644 --- a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig +++ b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig @@ -122,7 +122,7 @@ UX: 'User Experience', WAO: 'Web Analytics', WCM: 'Web Managers', - CC: 'Contact Center' + CC: 'Contact Center', } %} {% for topic in item['cop_topics'] %} {% for key, value in topic_acronym %} @@ -134,7 +134,6 @@
{% endfor %} - {# NOT-MIGRATED {{ range .Site.Data.job_board }} {{ if ge .close_date $now }} From a83c3ab9819d34046d1642983c56fa5654295ce1 Mon Sep 17 00:00:00 2001 From: cathybaptista <161740096+cathybaptista@users.noreply.github.com> Date: Mon, 30 Dec 2024 10:34:40 -0500 Subject: [PATCH 11/21] DIGITAL-192: Initial commit for job boards theme --- .../custom/digital_gov/digital_gov.theme | 16 ++---- .../node--landing-page--job-board.html.twig | 54 +------------------ 2 files changed, 5 insertions(+), 65 deletions(-) diff --git a/web/themes/custom/digital_gov/digital_gov.theme b/web/themes/custom/digital_gov/digital_gov.theme index a8caf865..404c87a7 100644 --- a/web/themes/custom/digital_gov/digital_gov.theme +++ b/web/themes/custom/digital_gov/digital_gov.theme @@ -351,20 +351,12 @@ function digital_gov_theme_suggestions_node_alter(array &$suggestions, array $va /** * Implements hook_preprocess_HOOK(). */ +use Drupal\Component\Serialization\Yaml; + function digital_gov_preprocess_node__landing_page__job_board(&$variables, $hook) { $entity_type_manager = \Drupal::entityTypeManager(); $config_pages = $entity_type_manager->getStorage('config_pages')->load('job_board_administration'); $yml_string = $field_description = $config_pages->get('field_description')->getValue()[0]['value']; - $yml_array = Yaml::decode($yml_string); - $filtered_array = []; - foreach ($yml_array as $item) { - $close_date = date('Y-m-d', $item['close_date']); - $today = date('Y-m-d'); - if ($close_date >= $today) { - $item['open_date'] = date('F j, Y', $item['open_date']); - $item['close_date'] = date('F j, Y', $item['close_date']); - $filtered_array[] = $item; - } - } - $variables['job_board_administration'] = $filtered_array; + $decoded_array = Yaml::decode($yml_string); + $variables['job_board_administration'] = $decoded_array; } diff --git a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig index 873afbb0..41f0ae99 100644 --- a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig +++ b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig @@ -81,59 +81,7 @@
- - {% for item in job_board_administration %} -
- -
-
- {{ item.department }} -
-
- {{ item.location }} -
-

- {{ item.description }} -

-
- -
- Open {{ item.open_date }} to - {{ item.close_date }} -
-
- {# todo: this may not be best here? #} - {% set topic_acronym = { - FCN: 'Communicators', - ML: 'Multilingual', - PL: 'Plain Language', - SM: 'Social Media', - UX: 'User Experience', - WAO: 'Web Analytics', - WCM: 'Web Managers', - CC: 'Contact Center', - } %} - {% for topic in item['cop_topics'] %} - {% for key, value in topic_acronym %} - {% if topic == value %} -
{{ topic }}
- {% endif %} - {% endfor %} - {% endfor %} -
-
- {% endfor %} + {{ dpm(job_board_administration) }} {# NOT-MIGRATED {{ range .Site.Data.job_board }} {{ if ge .close_date $now }} From 7ad423a96e507a08d8c8bfd37c8511cadcb9a1be Mon Sep 17 00:00:00 2001 From: cathybaptista <161740096+cathybaptista@users.noreply.github.com> Date: Mon, 30 Dec 2024 15:06:28 -0500 Subject: [PATCH 12/21] DIGITAL-192: job board styling --- .../custom/digital_gov/digital_gov.theme | 6 ++++ .../node--landing-page--job-board.html.twig | 35 +++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/web/themes/custom/digital_gov/digital_gov.theme b/web/themes/custom/digital_gov/digital_gov.theme index 404c87a7..23a7b167 100644 --- a/web/themes/custom/digital_gov/digital_gov.theme +++ b/web/themes/custom/digital_gov/digital_gov.theme @@ -358,5 +358,11 @@ function digital_gov_preprocess_node__landing_page__job_board(&$variables, $hook $config_pages = $entity_type_manager->getStorage('config_pages')->load('job_board_administration'); $yml_string = $field_description = $config_pages->get('field_description')->getValue()[0]['value']; $decoded_array = Yaml::decode($yml_string); + // Loop through the array and format the dates + foreach ($decoded_array as &$item) { + $item['open_date'] = date('Y-m-d', $item['open_date']); + $item['close_date'] = date('Y-m-d', $item['close_date']); + } + $variables['job_board_administration'] = $decoded_array; } diff --git a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig index 41f0ae99..085921dd 100644 --- a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig +++ b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig @@ -82,6 +82,41 @@
{{ dpm(job_board_administration) }} + + {% for item in job_board_administration %} +
+ +
+
+ {{ item.department }} +
+
+ {{ item.location }} +
+

+ {{ item.description }} +

+
+ +
+ Open {{ item.open_date }} to + {{ item.close_date }} +
+
+ + {% endfor %} + {# NOT-MIGRATED {{ range .Site.Data.job_board }} {{ if ge .close_date $now }} From b4adb4eb139b4523b94fc99d063bef61ec819962 Mon Sep 17 00:00:00 2001 From: cathybaptista <161740096+cathybaptista@users.noreply.github.com> Date: Mon, 30 Dec 2024 16:47:39 -0500 Subject: [PATCH 13/21] DIGITAL-192: add styles to job board entries. --- web/themes/custom/digital_gov/digital_gov.theme | 5 +++-- .../templates/node/node--landing-page--job-board.html.twig | 7 +++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/web/themes/custom/digital_gov/digital_gov.theme b/web/themes/custom/digital_gov/digital_gov.theme index 23a7b167..e9e69ad6 100644 --- a/web/themes/custom/digital_gov/digital_gov.theme +++ b/web/themes/custom/digital_gov/digital_gov.theme @@ -353,6 +353,7 @@ function digital_gov_theme_suggestions_node_alter(array &$suggestions, array $va */ use Drupal\Component\Serialization\Yaml; + function digital_gov_preprocess_node__landing_page__job_board(&$variables, $hook) { $entity_type_manager = \Drupal::entityTypeManager(); $config_pages = $entity_type_manager->getStorage('config_pages')->load('job_board_administration'); @@ -360,8 +361,8 @@ function digital_gov_preprocess_node__landing_page__job_board(&$variables, $hook $decoded_array = Yaml::decode($yml_string); // Loop through the array and format the dates foreach ($decoded_array as &$item) { - $item['open_date'] = date('Y-m-d', $item['open_date']); - $item['close_date'] = date('Y-m-d', $item['close_date']); + $item['open_date'] = date('F j, Y', $item['open_date']); + $item['close_date'] = date('F j, Y', $item['close_date']); } $variables['job_board_administration'] = $decoded_array; diff --git a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig index 085921dd..b70d011c 100644 --- a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig +++ b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig @@ -113,6 +113,13 @@ Open {{ item.open_date }} to {{ item.close_date }}
+
+ {% for topic in item['cop_topics'] %} + {# todo: these are color coded. #} +
{{ topic }}
+ {{ end }} + {% endfor %} +
{% endfor %} From 4294d85bc5372b7b5661441cc7cff409524ad40c Mon Sep 17 00:00:00 2001 From: cathybaptista <161740096+cathybaptista@users.noreply.github.com> Date: Thu, 2 Jan 2025 16:16:23 -0500 Subject: [PATCH 14/21] DIGITAL-192: Job Board template. --- .../custom/digital_gov/digital_gov.theme | 2 +- .../node--landing-page--job-board.html.twig | 25 +++++++++++++------ 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/web/themes/custom/digital_gov/digital_gov.theme b/web/themes/custom/digital_gov/digital_gov.theme index e9e69ad6..97ad6eea 100644 --- a/web/themes/custom/digital_gov/digital_gov.theme +++ b/web/themes/custom/digital_gov/digital_gov.theme @@ -351,6 +351,7 @@ function digital_gov_theme_suggestions_node_alter(array &$suggestions, array $va /** * Implements hook_preprocess_HOOK(). */ + use Drupal\Component\Serialization\Yaml; @@ -359,7 +360,6 @@ function digital_gov_preprocess_node__landing_page__job_board(&$variables, $hook $config_pages = $entity_type_manager->getStorage('config_pages')->load('job_board_administration'); $yml_string = $field_description = $config_pages->get('field_description')->getValue()[0]['value']; $decoded_array = Yaml::decode($yml_string); - // Loop through the array and format the dates foreach ($decoded_array as &$item) { $item['open_date'] = date('F j, Y', $item['open_date']); $item['close_date'] = date('F j, Y', $item['close_date']); diff --git a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig index b70d011c..0aab0d58 100644 --- a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig +++ b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig @@ -81,7 +81,6 @@
- {{ dpm(job_board_administration) }} {% for item in job_board_administration %}
@@ -114,14 +113,26 @@ {{ item.close_date }}
- {% for topic in item['cop_topics'] %} - {# todo: these are color coded. #} -
{{ topic }}
- {{ end }} + {#todo: this may not be best here?#} + {% set topic_acronym = { + "FCN": "Communicators", + "ML": "Multilingual", + "PL": "Plain Language", + "SM": "Social Media", + "UX": "User Experience", + "WAO": "Web Analytics", + "WCM": "Web Managers", + "CC": "Contact Center" + } %} + {% for topic in item['cop_topics'] %} + {% for key, value in topic_acronym %} + {% if topic == value %} +
{{ topic }}
+ {% endif %} {% endfor %} -
+ {% endfor %} +
- {% endfor %} {# NOT-MIGRATED From e36e3f7e22cd0531a668c163a1ba9a10b9b850bd Mon Sep 17 00:00:00 2001 From: cathybaptista <161740096+cathybaptista@users.noreply.github.com> Date: Fri, 3 Jan 2025 11:06:57 -0500 Subject: [PATCH 15/21] DIGITAL-192: We should only show jobs that are still available. --- .../custom/digital_gov/digital_gov.theme | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/web/themes/custom/digital_gov/digital_gov.theme b/web/themes/custom/digital_gov/digital_gov.theme index 97ad6eea..a8caf865 100644 --- a/web/themes/custom/digital_gov/digital_gov.theme +++ b/web/themes/custom/digital_gov/digital_gov.theme @@ -351,19 +351,20 @@ function digital_gov_theme_suggestions_node_alter(array &$suggestions, array $va /** * Implements hook_preprocess_HOOK(). */ - -use Drupal\Component\Serialization\Yaml; - - function digital_gov_preprocess_node__landing_page__job_board(&$variables, $hook) { $entity_type_manager = \Drupal::entityTypeManager(); $config_pages = $entity_type_manager->getStorage('config_pages')->load('job_board_administration'); $yml_string = $field_description = $config_pages->get('field_description')->getValue()[0]['value']; - $decoded_array = Yaml::decode($yml_string); - foreach ($decoded_array as &$item) { - $item['open_date'] = date('F j, Y', $item['open_date']); - $item['close_date'] = date('F j, Y', $item['close_date']); + $yml_array = Yaml::decode($yml_string); + $filtered_array = []; + foreach ($yml_array as $item) { + $close_date = date('Y-m-d', $item['close_date']); + $today = date('Y-m-d'); + if ($close_date >= $today) { + $item['open_date'] = date('F j, Y', $item['open_date']); + $item['close_date'] = date('F j, Y', $item['close_date']); + $filtered_array[] = $item; + } } - - $variables['job_board_administration'] = $decoded_array; + $variables['job_board_administration'] = $filtered_array; } From 6c922cff0c9940d6acc4fe5d568ea3485e6855bc Mon Sep 17 00:00:00 2001 From: cathybaptista <161740096+cathybaptista@users.noreply.github.com> Date: Fri, 3 Jan 2025 11:26:52 -0500 Subject: [PATCH 16/21] DIGITAL-192: dictionary coding standards. --- .../node--landing-page--job-board.html.twig | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig index 0aab0d58..55ff852a 100644 --- a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig +++ b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig @@ -113,16 +113,16 @@ {{ item.close_date }}
- {#todo: this may not be best here?#} + {# todo: this may not be best here? #} {% set topic_acronym = { - "FCN": "Communicators", - "ML": "Multilingual", - "PL": "Plain Language", - "SM": "Social Media", - "UX": "User Experience", - "WAO": "Web Analytics", - "WCM": "Web Managers", - "CC": "Contact Center" + FCN: 'Communicators', + ML: 'Multilingual', + PL: 'Plain Language', + SM: 'Social Media', + UX: 'User Experience', + WAO: 'Web Analytics', + WCM: 'Web Managers', + CC: 'Contact Center' } %} {% for topic in item['cop_topics'] %} {% for key, value in topic_acronym %} From b3b6a1a145499f63d05c3bfeaa3be05ca29e35e2 Mon Sep 17 00:00:00 2001 From: cathybaptista <161740096+cathybaptista@users.noreply.github.com> Date: Fri, 3 Jan 2025 11:32:14 -0500 Subject: [PATCH 17/21] DIGITAL-192: dictionary coding standards. --- .../templates/node/node--landing-page--job-board.html.twig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig index 55ff852a..873afbb0 100644 --- a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig +++ b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig @@ -122,7 +122,7 @@ UX: 'User Experience', WAO: 'Web Analytics', WCM: 'Web Managers', - CC: 'Contact Center' + CC: 'Contact Center', } %} {% for topic in item['cop_topics'] %} {% for key, value in topic_acronym %} @@ -134,7 +134,6 @@
{% endfor %} - {# NOT-MIGRATED {{ range .Site.Data.job_board }} {{ if ge .close_date $now }} From 0907f129ac85344582b8feab57f91d615fc7d6f3 Mon Sep 17 00:00:00 2001 From: cathybaptista <161740096+cathybaptista@users.noreply.github.com> Date: Mon, 30 Dec 2024 10:34:40 -0500 Subject: [PATCH 18/21] DIGITAL-192: Initial commit for job boards theme --- web/themes/custom/digital_gov/digital_gov.theme | 17 +++++++++++++++++ .../node--landing-page--job-board.html.twig | 1 + 2 files changed, 18 insertions(+) diff --git a/web/themes/custom/digital_gov/digital_gov.theme b/web/themes/custom/digital_gov/digital_gov.theme index a8caf865..7293bc34 100644 --- a/web/themes/custom/digital_gov/digital_gov.theme +++ b/web/themes/custom/digital_gov/digital_gov.theme @@ -348,6 +348,23 @@ function digital_gov_theme_suggestions_node_alter(array &$suggestions, array $va } } +/** + * Implements hook_theme_suggestions_user_alter(). + */ +function digital_gov_theme_suggestions_container_alter(array &$suggestions, array $variables) { + if (!isset($variables['element']['#name'])) { + return $suggestions; + } + // A list of view names in which to exclude the container markup. + $exclude_views = [ + 'resource_topics_list', + ]; + + if (in_array($variables['element']['#name'], $exclude_views)) { + $suggestions[] = 'container__no_wrapper'; + } +} + /** * Implements hook_preprocess_HOOK(). */ diff --git a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig index 873afbb0..7c1d080a 100644 --- a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig +++ b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig @@ -62,6 +62,7 @@ * @ingroup themeable */ #} +
From e9575c304d63f930fa6f14b77fb222c0e049eedf Mon Sep 17 00:00:00 2001 From: cathybaptista <161740096+cathybaptista@users.noreply.github.com> Date: Mon, 30 Dec 2024 15:06:28 -0500 Subject: [PATCH 19/21] DIGITAL-192: job board styling --- .../templates/node/node--landing-page--job-board.html.twig | 1 - 1 file changed, 1 deletion(-) diff --git a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig index 7c1d080a..873afbb0 100644 --- a/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig +++ b/web/themes/custom/digital_gov/templates/node/node--landing-page--job-board.html.twig @@ -62,7 +62,6 @@ * @ingroup themeable */ #} -
From e62040763b6faafc8f3b095f9aec8425f5b36c24 Mon Sep 17 00:00:00 2001 From: Matt Poole Date: Tue, 7 Jan 2025 10:14:03 -0500 Subject: [PATCH 20/21] DIGITAL-192: Revert "Add new role for admin and merge with origin/develop." This reverts commit dda6bab4a71a0662cdf257ee2ce44d7625890f23. --- ...override.node.guide_navigation.promote.yml | 22 ++ ..._override.node.guide_navigation.status.yml | 22 ++ ..._display.node.guide_navigation.default.yml | 139 +++++++++++ ...ntity_form_display.node.guides.default.yml | 65 +++-- ..._display.paragraph.guide_pages.default.yml | 36 +++ ..._display.node.guide_navigation.default.yml | 54 ++++ ...w_display.node.guide_navigation.teaser.yml | 32 +++ ...ntity_view_display.node.guides.default.yml | 36 ++- ...entity_view_display.node.guides.teaser.yml | 4 + ..._display.paragraph.guide_pages.default.yml | 30 +++ config/sync/core.extension.yml | 1 + config/sync/dg_autologout.role.admin.yml | 3 + .../sync/dg_autologout.role.authenticated.yml | 3 + config/sync/dg_autologout.role.author.yml | 3 + .../sync/dg_autologout.role.content_admin.yml | 3 + .../sync/dg_autologout.role.data_analyst.yml | 3 + config/sync/dg_autologout.role.editor.yml | 3 + .../dg_autologout.role.identifier_admin.yml | 3 + config/sync/dg_autologout.role.publisher.yml | 3 + config/sync/dg_autologout.role.user_admin.yml | 3 + config/sync/dg_autologout.settings.yml | 27 ++ ...uide_navigation.field_guide_navigation.yml | 43 ++++ ...uide_navigation.field_guide_start_page.yml | 25 ++ ...de.guide_navigation.field_parent_guide.yml | 25 ++ ...uide_navigation.field_show_in_page_nav.yml | 21 ++ ...de_navigation.field_show_next_previous.yml | 21 ++ ....guide_navigation.field_show_read_time.yml | 21 ++ ....field.node.guides.field_guide_nav_ref.yml | 29 +++ ...ield.node.guides.field_guide_nav_title.yml | 19 ++ .../field.field.node.guides.field_kicker.yml | 2 +- ...paragraph.guide_pages.field_guide_link.yml | 29 +++ ...ragraph.guide_pages.field_guide_subnav.yml | 29 +++ ...field.storage.node.field_guide_nav_ref.yml | 19 ++ ...eld.storage.node.field_guide_nav_title.yml | 21 ++ ...ld.storage.node.field_guide_navigation.yml | 21 ++ ...ld.storage.node.field_guide_start_page.yml | 19 ++ .../field.storage.node.field_parent_guide.yml | 19 ++ ...ld.storage.node.field_show_in_page_nav.yml | 18 ++ ....storage.node.field_show_next_previous.yml | 18 ++ ...ield.storage.node.field_show_read_time.yml | 18 ++ ...eld.storage.paragraph.field_guide_link.yml | 20 ++ ...d.storage.paragraph.field_guide_subnav.yml | 20 ++ config/sync/node.type.guide_navigation.yml | 31 +++ .../sync/override_node_options.settings.yml | 2 +- ...paragraphs.paragraphs_type.guide_pages.yml | 10 + ...add_role_action.guide_navigation_admin.yml | 14 ++ ...user_add_role_action.job_board_manager.yml | 14 -- ...ove_role_action.guide_navigation_admin.yml | 14 ++ ...r_remove_role_action.job_board_manager.yml | 14 -- config/sync/user.role.content_admin.yml | 5 + .../sync/user.role.guide_navigation_admin.yml | 21 ++ config/sync/user.role.job_board_manager.yml | 15 -- config/sync/user.role.user_admin.yml | 1 + .../views.view.parent_guide_nav_pages_ref.yml | 232 ++++++++++++++++++ 54 files changed, 1245 insertions(+), 80 deletions(-) create mode 100644 config/sync/core.base_field_override.node.guide_navigation.promote.yml create mode 100644 config/sync/core.base_field_override.node.guide_navigation.status.yml create mode 100644 config/sync/core.entity_form_display.node.guide_navigation.default.yml create mode 100644 config/sync/core.entity_form_display.paragraph.guide_pages.default.yml create mode 100644 config/sync/core.entity_view_display.node.guide_navigation.default.yml create mode 100644 config/sync/core.entity_view_display.node.guide_navigation.teaser.yml create mode 100644 config/sync/core.entity_view_display.paragraph.guide_pages.default.yml create mode 100644 config/sync/dg_autologout.role.admin.yml create mode 100644 config/sync/dg_autologout.role.authenticated.yml create mode 100644 config/sync/dg_autologout.role.author.yml create mode 100644 config/sync/dg_autologout.role.content_admin.yml create mode 100644 config/sync/dg_autologout.role.data_analyst.yml create mode 100644 config/sync/dg_autologout.role.editor.yml create mode 100644 config/sync/dg_autologout.role.identifier_admin.yml create mode 100644 config/sync/dg_autologout.role.publisher.yml create mode 100644 config/sync/dg_autologout.role.user_admin.yml create mode 100644 config/sync/dg_autologout.settings.yml create mode 100644 config/sync/field.field.node.guide_navigation.field_guide_navigation.yml create mode 100644 config/sync/field.field.node.guide_navigation.field_guide_start_page.yml create mode 100644 config/sync/field.field.node.guide_navigation.field_parent_guide.yml create mode 100644 config/sync/field.field.node.guide_navigation.field_show_in_page_nav.yml create mode 100644 config/sync/field.field.node.guide_navigation.field_show_next_previous.yml create mode 100644 config/sync/field.field.node.guide_navigation.field_show_read_time.yml create mode 100644 config/sync/field.field.node.guides.field_guide_nav_ref.yml create mode 100644 config/sync/field.field.node.guides.field_guide_nav_title.yml create mode 100644 config/sync/field.field.paragraph.guide_pages.field_guide_link.yml create mode 100644 config/sync/field.field.paragraph.guide_pages.field_guide_subnav.yml create mode 100644 config/sync/field.storage.node.field_guide_nav_ref.yml create mode 100644 config/sync/field.storage.node.field_guide_nav_title.yml create mode 100644 config/sync/field.storage.node.field_guide_navigation.yml create mode 100644 config/sync/field.storage.node.field_guide_start_page.yml create mode 100644 config/sync/field.storage.node.field_parent_guide.yml create mode 100644 config/sync/field.storage.node.field_show_in_page_nav.yml create mode 100644 config/sync/field.storage.node.field_show_next_previous.yml create mode 100644 config/sync/field.storage.node.field_show_read_time.yml create mode 100644 config/sync/field.storage.paragraph.field_guide_link.yml create mode 100644 config/sync/field.storage.paragraph.field_guide_subnav.yml create mode 100644 config/sync/node.type.guide_navigation.yml create mode 100644 config/sync/paragraphs.paragraphs_type.guide_pages.yml create mode 100644 config/sync/system.action.user_add_role_action.guide_navigation_admin.yml delete mode 100644 config/sync/system.action.user_add_role_action.job_board_manager.yml create mode 100644 config/sync/system.action.user_remove_role_action.guide_navigation_admin.yml delete mode 100644 config/sync/system.action.user_remove_role_action.job_board_manager.yml create mode 100644 config/sync/user.role.guide_navigation_admin.yml delete mode 100644 config/sync/user.role.job_board_manager.yml create mode 100644 config/sync/views.view.parent_guide_nav_pages_ref.yml diff --git a/config/sync/core.base_field_override.node.guide_navigation.promote.yml b/config/sync/core.base_field_override.node.guide_navigation.promote.yml new file mode 100644 index 00000000..0b83b82a --- /dev/null +++ b/config/sync/core.base_field_override.node.guide_navigation.promote.yml @@ -0,0 +1,22 @@ +uuid: a1068024-c5f1-416f-8bc9-28048fbcd2e2 +langcode: en +status: true +dependencies: + config: + - node.type.guide_navigation +id: node.guide_navigation.promote +field_name: promote +entity_type: node +bundle: guide_navigation +label: 'Promoted to front page' +description: '' +required: false +translatable: true +default_value: + - + value: 0 +default_value_callback: '' +settings: + on_label: 'On' + off_label: 'Off' +field_type: boolean diff --git a/config/sync/core.base_field_override.node.guide_navigation.status.yml b/config/sync/core.base_field_override.node.guide_navigation.status.yml new file mode 100644 index 00000000..dd99fe40 --- /dev/null +++ b/config/sync/core.base_field_override.node.guide_navigation.status.yml @@ -0,0 +1,22 @@ +uuid: d930a71d-81af-45a1-99f4-18db2af2d1d4 +langcode: en +status: true +dependencies: + config: + - node.type.guide_navigation +id: node.guide_navigation.status +field_name: status +entity_type: node +bundle: guide_navigation +label: Published +description: '' +required: false +translatable: true +default_value: + - + value: 0 +default_value_callback: '' +settings: + on_label: 'On' + off_label: 'Off' +field_type: boolean diff --git a/config/sync/core.entity_form_display.node.guide_navigation.default.yml b/config/sync/core.entity_form_display.node.guide_navigation.default.yml new file mode 100644 index 00000000..c43647c1 --- /dev/null +++ b/config/sync/core.entity_form_display.node.guide_navigation.default.yml @@ -0,0 +1,139 @@ +uuid: 31864a7f-f8df-4e04-bd14-f8b75be8f6fe +langcode: en +status: true +dependencies: + config: + - field.field.node.guide_navigation.field_guide_navigation + - field.field.node.guide_navigation.field_guide_start_page + - field.field.node.guide_navigation.field_parent_guide + - field.field.node.guide_navigation.field_show_in_page_nav + - field.field.node.guide_navigation.field_show_next_previous + - field.field.node.guide_navigation.field_show_read_time + - node.type.guide_navigation + module: + - content_moderation + - field_group + - paragraphs +third_party_settings: + field_group: + group_settings: + children: + - field_guide_start_page + - field_show_next_previous + - field_show_read_time + - field_show_in_page_nav + - field_parent_guide + label: Settings + region: content + parent_name: '' + weight: 2 + format_type: fieldset + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + description: '' + required_fields: true +id: node.guide_navigation.default +targetEntityType: node +bundle: guide_navigation +mode: default +content: + created: + type: datetime_timestamp + weight: 5 + region: content + settings: { } + third_party_settings: { } + field_guide_navigation: + type: paragraphs + weight: 3 + region: content + settings: + title: Paragraph + title_plural: Paragraphs + edit_mode: open + closed_mode: summary + autocollapse: none + closed_mode_threshold: 0 + add_mode: dropdown + form_display_mode: default + default_paragraph_type: '' + features: + collapse_edit_all: collapse_edit_all + duplicate: duplicate + third_party_settings: { } + field_guide_start_page: + type: options_select + weight: 1 + region: content + settings: { } + third_party_settings: { } + field_parent_guide: + type: options_select + weight: 5 + region: content + settings: { } + third_party_settings: { } + field_show_in_page_nav: + type: boolean_checkbox + weight: 4 + region: content + settings: + display_label: true + third_party_settings: { } + field_show_next_previous: + type: boolean_checkbox + weight: 2 + region: content + settings: + display_label: true + third_party_settings: { } + field_show_read_time: + type: boolean_checkbox + weight: 3 + region: content + settings: + display_label: true + third_party_settings: { } + moderation_state: + type: moderation_state_default + weight: 6 + region: content + settings: { } + third_party_settings: { } + status: + type: boolean_checkbox + weight: 7 + region: content + settings: + display_label: true + third_party_settings: { } + title: + type: string_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + uid: + type: entity_reference_autocomplete + weight: 4 + region: content + settings: + match_operator: CONTAINS + match_limit: 10 + size: 60 + placeholder: '' + third_party_settings: { } +hidden: + path: true + promote: true + publish_on: true + publish_state: true + sticky: true + unpublish_on: true + unpublish_state: true + url_redirects: true diff --git a/config/sync/core.entity_form_display.node.guides.default.yml b/config/sync/core.entity_form_display.node.guides.default.yml index 4c02d905..8aa57ea5 100644 --- a/config/sync/core.entity_form_display.node.guides.default.yml +++ b/config/sync/core.entity_form_display.node.guides.default.yml @@ -7,6 +7,8 @@ dependencies: - field.field.node.guides.field_deck - field.field.node.guides.field_featured_image - field.field.node.guides.field_glossary + - field.field.node.guides.field_guide_nav_ref + - field.field.node.guides.field_guide_nav_title - field.field.node.guides.field_guide_weight - field.field.node.guides.field_kicker - field.field.node.guides.field_page_weight @@ -19,11 +21,30 @@ dependencies: module: - autocomplete_deluxe - content_moderation + - field_group - inline_entity_form - maxlength - media_library - path - text +third_party_settings: + field_group: + group_guide_navigation: + children: + - field_guide_nav_title + - field_guide_nav_ref + label: 'Guide Navigation' + region: content + parent_name: '' + weight: 14 + format_type: fieldset + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + description: '' + required_fields: true id: node.guides.default targetEntityType: node bundle: guides @@ -31,7 +52,7 @@ mode: default content: body: type: text_textarea_with_summary - weight: 3 + weight: 4 region: content settings: rows: 9 @@ -41,7 +62,7 @@ content: third_party_settings: { } created: type: datetime_timestamp - weight: 6 + weight: 7 region: content settings: { } third_party_settings: { } @@ -59,7 +80,7 @@ content: maxlength_js_enforce: true field_featured_image: type: media_library_widget - weight: 12 + weight: 13 region: content settings: media_types: { } @@ -70,16 +91,30 @@ content: region: content settings: { } third_party_settings: { } + field_guide_nav_ref: + type: options_select + weight: 26 + region: content + settings: { } + third_party_settings: { } + field_guide_nav_title: + type: string_textfield + weight: 18 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } field_guide_weight: type: number - weight: 10 + weight: 11 region: content settings: placeholder: '' third_party_settings: { } field_kicker: type: string_textfield - weight: 1 + weight: 2 region: content settings: size: 60 @@ -87,21 +122,21 @@ content: third_party_settings: { } field_page_weight: type: number - weight: 9 + weight: 10 region: content settings: placeholder: '' third_party_settings: { } field_primary_image: type: media_library_widget - weight: 11 + weight: 12 region: content settings: media_types: { } third_party_settings: { } field_summary: type: text_textarea - weight: 2 + weight: 3 region: content settings: rows: 1 @@ -113,13 +148,13 @@ content: maxlength_js_enforce: true field_summary_box: type: boolean_checkbox - weight: 4 + weight: 5 region: content settings: display_label: true third_party_settings: { } field_topics: - type: inline_entity_form_complex + type: autocomplete_deluxe weight: 13 region: content settings: @@ -137,19 +172,19 @@ content: third_party_settings: { } moderation_state: type: moderation_state_default - weight: 7 + weight: 8 region: content settings: { } third_party_settings: { } path: type: path - weight: 30 + weight: 16 region: content settings: { } third_party_settings: { } status: type: boolean_checkbox - weight: 8 + weight: 9 region: content settings: display_label: true @@ -164,7 +199,7 @@ content: third_party_settings: { } uid: type: inline_entity_form_complex - weight: 5 + weight: 6 region: content settings: form_mode: default @@ -181,7 +216,7 @@ content: removed_reference: optional third_party_settings: { } url_redirects: - weight: 50 + weight: 17 region: content settings: { } third_party_settings: { } diff --git a/config/sync/core.entity_form_display.paragraph.guide_pages.default.yml b/config/sync/core.entity_form_display.paragraph.guide_pages.default.yml new file mode 100644 index 00000000..b8236ac2 --- /dev/null +++ b/config/sync/core.entity_form_display.paragraph.guide_pages.default.yml @@ -0,0 +1,36 @@ +uuid: 873ef0b3-fe5e-40e5-85a4-40aaec2cb332 +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.guide_pages.field_guide_link + - field.field.paragraph.guide_pages.field_guide_subnav + - paragraphs.paragraphs_type.guide_pages +id: paragraph.guide_pages.default +targetEntityType: paragraph +bundle: guide_pages +mode: default +content: + field_guide_link: + type: entity_reference_autocomplete + weight: 0 + region: content + settings: + match_operator: CONTAINS + match_limit: 10 + size: 60 + placeholder: '' + third_party_settings: { } + field_guide_subnav: + type: entity_reference_autocomplete + weight: 1 + region: content + settings: + match_operator: CONTAINS + match_limit: 10 + size: 60 + placeholder: '' + third_party_settings: { } +hidden: + created: true + status: true diff --git a/config/sync/core.entity_view_display.node.guide_navigation.default.yml b/config/sync/core.entity_view_display.node.guide_navigation.default.yml new file mode 100644 index 00000000..472fc86a --- /dev/null +++ b/config/sync/core.entity_view_display.node.guide_navigation.default.yml @@ -0,0 +1,54 @@ +uuid: b0fbf982-3c1c-4cd7-a506-b56032a701e6 +langcode: en +status: true +dependencies: + config: + - field.field.node.guide_navigation.field_guide_navigation + - field.field.node.guide_navigation.field_guide_start_page + - field.field.node.guide_navigation.field_parent_guide + - field.field.node.guide_navigation.field_show_in_page_nav + - field.field.node.guide_navigation.field_show_next_previous + - field.field.node.guide_navigation.field_show_read_time + - node.type.guide_navigation + module: + - entity_reference_revisions + - user +id: node.guide_navigation.default +targetEntityType: node +bundle: guide_navigation +mode: default +content: + field_guide_navigation: + type: entity_reference_revisions_entity_view + label: hidden + settings: + view_mode: default + link: '' + third_party_settings: { } + weight: 2 + region: content + field_guide_start_page: + type: entity_reference_label + label: hidden + settings: + link: true + third_party_settings: { } + weight: 1 + region: content + field_parent_guide: + type: entity_reference_label + label: above + settings: + link: true + third_party_settings: { } + weight: 3 + region: content + links: + settings: { } + third_party_settings: { } + weight: 0 + region: content +hidden: + field_show_in_page_nav: true + field_show_next_previous: true + field_show_read_time: true diff --git a/config/sync/core.entity_view_display.node.guide_navigation.teaser.yml b/config/sync/core.entity_view_display.node.guide_navigation.teaser.yml new file mode 100644 index 00000000..aa57ed66 --- /dev/null +++ b/config/sync/core.entity_view_display.node.guide_navigation.teaser.yml @@ -0,0 +1,32 @@ +uuid: 59bc9e44-b5bd-4d4e-9ba4-28f435b0e764 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.teaser + - field.field.node.guide_navigation.field_guide_navigation + - field.field.node.guide_navigation.field_guide_start_page + - field.field.node.guide_navigation.field_parent_guide + - field.field.node.guide_navigation.field_show_in_page_nav + - field.field.node.guide_navigation.field_show_next_previous + - field.field.node.guide_navigation.field_show_read_time + - node.type.guide_navigation + module: + - user +id: node.guide_navigation.teaser +targetEntityType: node +bundle: guide_navigation +mode: teaser +content: + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + field_guide_navigation: true + field_guide_start_page: true + field_parent_guide: true + field_show_in_page_nav: true + field_show_next_previous: true + field_show_read_time: true diff --git a/config/sync/core.entity_view_display.node.guides.default.yml b/config/sync/core.entity_view_display.node.guides.default.yml index 715bfda7..810e3643 100644 --- a/config/sync/core.entity_view_display.node.guides.default.yml +++ b/config/sync/core.entity_view_display.node.guides.default.yml @@ -7,6 +7,8 @@ dependencies: - field.field.node.guides.field_deck - field.field.node.guides.field_featured_image - field.field.node.guides.field_glossary + - field.field.node.guides.field_guide_nav_ref + - field.field.node.guides.field_guide_nav_title - field.field.node.guides.field_guide_weight - field.field.node.guides.field_kicker - field.field.node.guides.field_page_weight @@ -28,19 +30,19 @@ content: label: hidden settings: { } third_party_settings: { } - weight: 101 + weight: 2 region: content content_moderation_control: settings: { } third_party_settings: { } - weight: -20 + weight: 0 region: content field_deck: type: text_default label: above settings: { } third_party_settings: { } - weight: 108 + weight: 5 region: content field_featured_image: type: entity_reference_entity_view @@ -73,7 +75,7 @@ content: settings: link_to_entity: false third_party_settings: { } - weight: 116 + weight: 7 region: content field_page_weight: type: number_integer @@ -82,7 +84,7 @@ content: thousand_separator: '' prefix_suffix: true third_party_settings: { } - weight: 102 + weight: 3 region: content field_primary_image: type: entity_reference_entity_view @@ -91,24 +93,14 @@ content: view_mode: default link: false third_party_settings: { } - weight: 114 + weight: 6 region: content field_summary: type: text_default label: above settings: { } third_party_settings: { } - weight: 104 - region: content - field_summary_box: - type: boolean - label: above - settings: - format: default - format_custom_false: '' - format_custom_true: '' - third_party_settings: { } - weight: 126 + weight: 4 region: content field_topics: type: entity_reference_label @@ -116,11 +108,15 @@ content: settings: link: true third_party_settings: { } - weight: 125 + weight: 9 region: content links: settings: { } third_party_settings: { } - weight: 100 + weight: 1 region: content -hidden: { } +hidden: + field_guide_nav_ref: true + field_guide_nav_title: true + field_guide_weight: true + field_summary_box: true diff --git a/config/sync/core.entity_view_display.node.guides.teaser.yml b/config/sync/core.entity_view_display.node.guides.teaser.yml index e052bdee..7808c7ca 100644 --- a/config/sync/core.entity_view_display.node.guides.teaser.yml +++ b/config/sync/core.entity_view_display.node.guides.teaser.yml @@ -8,6 +8,8 @@ dependencies: - field.field.node.guides.field_deck - field.field.node.guides.field_featured_image - field.field.node.guides.field_glossary + - field.field.node.guides.field_guide_nav_ref + - field.field.node.guides.field_guide_nav_title - field.field.node.guides.field_guide_weight - field.field.node.guides.field_kicker - field.field.node.guides.field_page_weight @@ -46,6 +48,8 @@ hidden: field_deck: true field_featured_image: true field_glossary: true + field_guide_nav_ref: true + field_guide_nav_title: true field_guide_weight: true field_kicker: true field_page_weight: true diff --git a/config/sync/core.entity_view_display.paragraph.guide_pages.default.yml b/config/sync/core.entity_view_display.paragraph.guide_pages.default.yml new file mode 100644 index 00000000..184e3f52 --- /dev/null +++ b/config/sync/core.entity_view_display.paragraph.guide_pages.default.yml @@ -0,0 +1,30 @@ +uuid: 37db2c21-cb3e-4961-b3b7-ef7c0c848f88 +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.guide_pages.field_guide_link + - field.field.paragraph.guide_pages.field_guide_subnav + - paragraphs.paragraphs_type.guide_pages +id: paragraph.guide_pages.default +targetEntityType: paragraph +bundle: guide_pages +mode: default +content: + field_guide_link: + type: entity_reference_label + label: hidden + settings: + link: true + third_party_settings: { } + weight: 0 + region: content + field_guide_subnav: + type: entity_reference_label + label: hidden + settings: + link: true + third_party_settings: { } + weight: 1 + region: content +hidden: { } diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index da639647..bb98efa1 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -19,6 +19,7 @@ module: dblog: 0 default_content: 0 default_content_config: 0 + dg_autologout: 0 dg_breadcrumb: 0 dg_fields: 0 dg_token: 0 diff --git a/config/sync/dg_autologout.role.admin.yml b/config/sync/dg_autologout.role.admin.yml new file mode 100644 index 00000000..bd22cf4d --- /dev/null +++ b/config/sync/dg_autologout.role.admin.yml @@ -0,0 +1,3 @@ +enabled: false +timeout: null +url: '' diff --git a/config/sync/dg_autologout.role.authenticated.yml b/config/sync/dg_autologout.role.authenticated.yml new file mode 100644 index 00000000..bd22cf4d --- /dev/null +++ b/config/sync/dg_autologout.role.authenticated.yml @@ -0,0 +1,3 @@ +enabled: false +timeout: null +url: '' diff --git a/config/sync/dg_autologout.role.author.yml b/config/sync/dg_autologout.role.author.yml new file mode 100644 index 00000000..bd22cf4d --- /dev/null +++ b/config/sync/dg_autologout.role.author.yml @@ -0,0 +1,3 @@ +enabled: false +timeout: null +url: '' diff --git a/config/sync/dg_autologout.role.content_admin.yml b/config/sync/dg_autologout.role.content_admin.yml new file mode 100644 index 00000000..bd22cf4d --- /dev/null +++ b/config/sync/dg_autologout.role.content_admin.yml @@ -0,0 +1,3 @@ +enabled: false +timeout: null +url: '' diff --git a/config/sync/dg_autologout.role.data_analyst.yml b/config/sync/dg_autologout.role.data_analyst.yml new file mode 100644 index 00000000..bd22cf4d --- /dev/null +++ b/config/sync/dg_autologout.role.data_analyst.yml @@ -0,0 +1,3 @@ +enabled: false +timeout: null +url: '' diff --git a/config/sync/dg_autologout.role.editor.yml b/config/sync/dg_autologout.role.editor.yml new file mode 100644 index 00000000..bd22cf4d --- /dev/null +++ b/config/sync/dg_autologout.role.editor.yml @@ -0,0 +1,3 @@ +enabled: false +timeout: null +url: '' diff --git a/config/sync/dg_autologout.role.identifier_admin.yml b/config/sync/dg_autologout.role.identifier_admin.yml new file mode 100644 index 00000000..bd22cf4d --- /dev/null +++ b/config/sync/dg_autologout.role.identifier_admin.yml @@ -0,0 +1,3 @@ +enabled: false +timeout: null +url: '' diff --git a/config/sync/dg_autologout.role.publisher.yml b/config/sync/dg_autologout.role.publisher.yml new file mode 100644 index 00000000..bd22cf4d --- /dev/null +++ b/config/sync/dg_autologout.role.publisher.yml @@ -0,0 +1,3 @@ +enabled: false +timeout: null +url: '' diff --git a/config/sync/dg_autologout.role.user_admin.yml b/config/sync/dg_autologout.role.user_admin.yml new file mode 100644 index 00000000..bd22cf4d --- /dev/null +++ b/config/sync/dg_autologout.role.user_admin.yml @@ -0,0 +1,3 @@ +enabled: false +timeout: null +url: '' diff --git a/config/sync/dg_autologout.settings.yml b/config/sync/dg_autologout.settings.yml new file mode 100644 index 00000000..8b91616e --- /dev/null +++ b/config/sync/dg_autologout.settings.yml @@ -0,0 +1,27 @@ +_core: + default_config_hash: ou29sK1fi0MGjbVgsIAp1n-2_yofUuGcszRhDDPwpYo +enabled: true +timeout: 43200 +max_timeout: 43200 +padding: null +logout_regardless_of_activity: true +no_individual_logout_threshold: true +role_logout: false +role_logout_max: false +redirect_url: /user/login +include_destination: true +no_dialog: true +message: 'We are about to log you out for inactivity. If we do, you will lose any unsaved work. Do you need more time?' +inactivity_message: 'You have been logged out due to inactivity.' +inactivity_message_type: status +modal_width: 450 +enforce_admin: true +jstimer_format: '%hours%:%mins%:%secs%' +jstimer_js_load_option: false +use_alt_logout_method: false +use_watchdog: true +dialog_title: 'Digital.gov Alert' +disable_buttons: false +yes_button: '' +no_button: '' +whitelisted_ip_addresses: '' diff --git a/config/sync/field.field.node.guide_navigation.field_guide_navigation.yml b/config/sync/field.field.node.guide_navigation.field_guide_navigation.yml new file mode 100644 index 00000000..4c9b4372 --- /dev/null +++ b/config/sync/field.field.node.guide_navigation.field_guide_navigation.yml @@ -0,0 +1,43 @@ +uuid: 7fd2919b-bfcc-4056-9891-ae4163e33c7f +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_guide_navigation + - node.type.guide_navigation + - paragraphs.paragraphs_type.guide_pages + module: + - entity_reference_revisions +id: node.guide_navigation.field_guide_navigation +field_name: field_guide_navigation +entity_type: node +bundle: guide_navigation +label: Navigation +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:paragraph' + handler_settings: + target_bundles: + guide_pages: guide_pages + negate: 0 + target_bundles_drag_drop: + external_content: + weight: 6 + enabled: false + featured_links: + weight: 7 + enabled: false + guide_pages: + weight: 8 + enabled: true + internal_content: + weight: 9 + enabled: false + venue: + weight: 10 + enabled: false +field_type: entity_reference_revisions diff --git a/config/sync/field.field.node.guide_navigation.field_guide_start_page.yml b/config/sync/field.field.node.guide_navigation.field_guide_start_page.yml new file mode 100644 index 00000000..ba6b73f7 --- /dev/null +++ b/config/sync/field.field.node.guide_navigation.field_guide_start_page.yml @@ -0,0 +1,25 @@ +uuid: e52fac26-5aa5-45b6-a870-c98f5e32b81b +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_guide_start_page + - node.type.guide_navigation +id: node.guide_navigation.field_guide_start_page +field_name: field_guide_start_page +entity_type: node +bundle: guide_navigation +label: 'Start Page' +description: "The guide that will be as the 'Header' for all guides that use this guide navigation." +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: views + handler_settings: + view: + view_name: parent_guide_nav_pages_ref + display_name: entity_reference_1 + arguments: { } +field_type: entity_reference diff --git a/config/sync/field.field.node.guide_navigation.field_parent_guide.yml b/config/sync/field.field.node.guide_navigation.field_parent_guide.yml new file mode 100644 index 00000000..0a4bc956 --- /dev/null +++ b/config/sync/field.field.node.guide_navigation.field_parent_guide.yml @@ -0,0 +1,25 @@ +uuid: 2e9e93c2-3d30-4a49-be9c-3124e243fda8 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_parent_guide + - node.type.guide_navigation +id: node.guide_navigation.field_parent_guide +field_name: field_parent_guide +entity_type: node +bundle: guide_navigation +label: 'Parent Guide' +description: 'A guide that will be linked to in the header of all guides that use this guide navigation.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: views + handler_settings: + view: + view_name: parent_guide_nav_pages_ref + display_name: entity_reference_1 + arguments: { } +field_type: entity_reference diff --git a/config/sync/field.field.node.guide_navigation.field_show_in_page_nav.yml b/config/sync/field.field.node.guide_navigation.field_show_in_page_nav.yml new file mode 100644 index 00000000..13dd3c92 --- /dev/null +++ b/config/sync/field.field.node.guide_navigation.field_show_in_page_nav.yml @@ -0,0 +1,21 @@ +uuid: e9ed03e7-d570-4b50-8af8-64fdb8815f6e +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_show_in_page_nav + - node.type.guide_navigation +id: node.guide_navigation.field_show_in_page_nav +field_name: field_show_in_page_nav +entity_type: node +bundle: guide_navigation +label: 'Show In-page Nav' +description: 'If selected, this will show the left hand navigation that has links to all headers of the current page as well as links to the subnav links for the current guide.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + on_label: 'Yes' + off_label: 'No' +field_type: boolean diff --git a/config/sync/field.field.node.guide_navigation.field_show_next_previous.yml b/config/sync/field.field.node.guide_navigation.field_show_next_previous.yml new file mode 100644 index 00000000..39980e13 --- /dev/null +++ b/config/sync/field.field.node.guide_navigation.field_show_next_previous.yml @@ -0,0 +1,21 @@ +uuid: fb40b5b7-673e-4a23-9db2-5b211be2c3b6 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_show_next_previous + - node.type.guide_navigation +id: node.guide_navigation.field_show_next_previous +field_name: field_show_next_previous +entity_type: node +bundle: guide_navigation +label: 'Show Next/Previous' +description: 'If selected, show links at the bottom of the guides allow navigation between the previous and next page.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + on_label: 'Yes' + off_label: 'No' +field_type: boolean diff --git a/config/sync/field.field.node.guide_navigation.field_show_read_time.yml b/config/sync/field.field.node.guide_navigation.field_show_read_time.yml new file mode 100644 index 00000000..69e5b68f --- /dev/null +++ b/config/sync/field.field.node.guide_navigation.field_show_read_time.yml @@ -0,0 +1,21 @@ +uuid: d214ed7e-b3f9-43e7-be71-da1197e36d91 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_show_read_time + - node.type.guide_navigation +id: node.guide_navigation.field_show_read_time +field_name: field_show_read_time +entity_type: node +bundle: guide_navigation +label: 'Show Read Time' +description: 'If selected, the average time to read the current guide will be created and shown.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + on_label: 'Yes' + off_label: 'No' +field_type: boolean diff --git a/config/sync/field.field.node.guides.field_guide_nav_ref.yml b/config/sync/field.field.node.guides.field_guide_nav_ref.yml new file mode 100644 index 00000000..dcf66969 --- /dev/null +++ b/config/sync/field.field.node.guides.field_guide_nav_ref.yml @@ -0,0 +1,29 @@ +uuid: c401a03f-21ab-4bdc-942a-ae789b8f255f +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_guide_nav_ref + - node.type.guide_navigation + - node.type.guides +id: node.guides.field_guide_nav_ref +field_name: field_guide_nav_ref +entity_type: node +bundle: guides +label: 'Guide Navigation' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:node' + handler_settings: + target_bundles: + guide_navigation: guide_navigation + sort: + field: title + direction: ASC + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/sync/field.field.node.guides.field_guide_nav_title.yml b/config/sync/field.field.node.guides.field_guide_nav_title.yml new file mode 100644 index 00000000..8ce4ed13 --- /dev/null +++ b/config/sync/field.field.node.guides.field_guide_nav_title.yml @@ -0,0 +1,19 @@ +uuid: 11762898-05a4-4286-9c85-293fa9cdb4da +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_guide_nav_title + - node.type.guides +id: node.guides.field_guide_nav_title +field_name: field_guide_nav_title +entity_type: node +bundle: guides +label: 'Navigation Title' +description: 'Override the title in the guide navigation' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.field.node.guides.field_kicker.yml b/config/sync/field.field.node.guides.field_kicker.yml index 87149ffe..3bf711ce 100644 --- a/config/sync/field.field.node.guides.field_kicker.yml +++ b/config/sync/field.field.node.guides.field_kicker.yml @@ -10,7 +10,7 @@ field_name: field_kicker entity_type: node bundle: guides label: Kicker -description: 'Highlight the relevant topic. This displays above the title on the /gudes/ page. Should always be included. Use only one or two words.' +description: 'Highlight the relevant topic. This displays above the title on the /guides/ page. Should always be included. Use only one or two words.' required: false translatable: false default_value: { } diff --git a/config/sync/field.field.paragraph.guide_pages.field_guide_link.yml b/config/sync/field.field.paragraph.guide_pages.field_guide_link.yml new file mode 100644 index 00000000..db5988ee --- /dev/null +++ b/config/sync/field.field.paragraph.guide_pages.field_guide_link.yml @@ -0,0 +1,29 @@ +uuid: db848e3c-3b5b-453a-88c5-b8f00c9836fd +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_guide_link + - node.type.guides + - paragraphs.paragraphs_type.guide_pages +id: paragraph.guide_pages.field_guide_link +field_name: field_guide_link +entity_type: paragraph +bundle: guide_pages +label: 'Guide Link' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:node' + handler_settings: + target_bundles: + guides: guides + sort: + field: title + direction: ASC + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/sync/field.field.paragraph.guide_pages.field_guide_subnav.yml b/config/sync/field.field.paragraph.guide_pages.field_guide_subnav.yml new file mode 100644 index 00000000..02d70b7e --- /dev/null +++ b/config/sync/field.field.paragraph.guide_pages.field_guide_subnav.yml @@ -0,0 +1,29 @@ +uuid: 85ea25cf-07d7-4a6c-a0e4-8f0e78ba87bd +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_guide_subnav + - node.type.guides + - paragraphs.paragraphs_type.guide_pages +id: paragraph.guide_pages.field_guide_subnav +field_name: field_guide_subnav +entity_type: paragraph +bundle: guide_pages +label: 'Subnav Links' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:node' + handler_settings: + target_bundles: + guides: guides + sort: + field: title + direction: ASC + auto_create: false + auto_create_bundle: guides +field_type: entity_reference diff --git a/config/sync/field.storage.node.field_guide_nav_ref.yml b/config/sync/field.storage.node.field_guide_nav_ref.yml new file mode 100644 index 00000000..57d4059a --- /dev/null +++ b/config/sync/field.storage.node.field_guide_nav_ref.yml @@ -0,0 +1,19 @@ +uuid: e9ed8dfb-c0e4-4831-b20c-05f3c719773a +langcode: en +status: true +dependencies: + module: + - node +id: node.field_guide_nav_ref +field_name: field_guide_nav_ref +entity_type: node +type: entity_reference +settings: + target_type: node +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.field_guide_nav_title.yml b/config/sync/field.storage.node.field_guide_nav_title.yml new file mode 100644 index 00000000..815b6363 --- /dev/null +++ b/config/sync/field.storage.node.field_guide_nav_title.yml @@ -0,0 +1,21 @@ +uuid: 5bcbb22a-edbf-4ee0-a931-f07b06629911 +langcode: en +status: true +dependencies: + module: + - node +id: node.field_guide_nav_title +field_name: field_guide_nav_title +entity_type: node +type: string +settings: + max_length: 255 + case_sensitive: false + is_ascii: false +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.field_guide_navigation.yml b/config/sync/field.storage.node.field_guide_navigation.yml new file mode 100644 index 00000000..92016d60 --- /dev/null +++ b/config/sync/field.storage.node.field_guide_navigation.yml @@ -0,0 +1,21 @@ +uuid: e9b23774-f2bd-4fb6-bbe8-84e721999b67 +langcode: en +status: true +dependencies: + module: + - entity_reference_revisions + - node + - paragraphs +id: node.field_guide_navigation +field_name: field_guide_navigation +entity_type: node +type: entity_reference_revisions +settings: + target_type: paragraph +module: entity_reference_revisions +locked: false +cardinality: -1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.field_guide_start_page.yml b/config/sync/field.storage.node.field_guide_start_page.yml new file mode 100644 index 00000000..a152fb0e --- /dev/null +++ b/config/sync/field.storage.node.field_guide_start_page.yml @@ -0,0 +1,19 @@ +uuid: 018b471d-d699-4ad6-adac-e5e404c49ba9 +langcode: en +status: true +dependencies: + module: + - node +id: node.field_guide_start_page +field_name: field_guide_start_page +entity_type: node +type: entity_reference +settings: + target_type: node +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.field_parent_guide.yml b/config/sync/field.storage.node.field_parent_guide.yml new file mode 100644 index 00000000..6f784124 --- /dev/null +++ b/config/sync/field.storage.node.field_parent_guide.yml @@ -0,0 +1,19 @@ +uuid: 71eab602-c462-4dec-95e7-2c7a234d9915 +langcode: en +status: true +dependencies: + module: + - node +id: node.field_parent_guide +field_name: field_parent_guide +entity_type: node +type: entity_reference +settings: + target_type: node +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.field_show_in_page_nav.yml b/config/sync/field.storage.node.field_show_in_page_nav.yml new file mode 100644 index 00000000..6f5285ef --- /dev/null +++ b/config/sync/field.storage.node.field_show_in_page_nav.yml @@ -0,0 +1,18 @@ +uuid: cb81e9df-7bc7-4b0c-a2fa-a0dd68278a32 +langcode: en +status: true +dependencies: + module: + - node +id: node.field_show_in_page_nav +field_name: field_show_in_page_nav +entity_type: node +type: boolean +settings: { } +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.field_show_next_previous.yml b/config/sync/field.storage.node.field_show_next_previous.yml new file mode 100644 index 00000000..39f69979 --- /dev/null +++ b/config/sync/field.storage.node.field_show_next_previous.yml @@ -0,0 +1,18 @@ +uuid: 47112105-f2e2-4a78-99d8-3bfc19ae723a +langcode: en +status: true +dependencies: + module: + - node +id: node.field_show_next_previous +field_name: field_show_next_previous +entity_type: node +type: boolean +settings: { } +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.field_show_read_time.yml b/config/sync/field.storage.node.field_show_read_time.yml new file mode 100644 index 00000000..d41e0372 --- /dev/null +++ b/config/sync/field.storage.node.field_show_read_time.yml @@ -0,0 +1,18 @@ +uuid: 9b0a6caa-e257-489e-9484-4b3ca7a71479 +langcode: en +status: true +dependencies: + module: + - node +id: node.field_show_read_time +field_name: field_show_read_time +entity_type: node +type: boolean +settings: { } +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.paragraph.field_guide_link.yml b/config/sync/field.storage.paragraph.field_guide_link.yml new file mode 100644 index 00000000..82ac1b27 --- /dev/null +++ b/config/sync/field.storage.paragraph.field_guide_link.yml @@ -0,0 +1,20 @@ +uuid: 30e8adf0-be45-4eaf-bd9f-43d254771eb8 +langcode: en +status: true +dependencies: + module: + - node + - paragraphs +id: paragraph.field_guide_link +field_name: field_guide_link +entity_type: paragraph +type: entity_reference +settings: + target_type: node +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.paragraph.field_guide_subnav.yml b/config/sync/field.storage.paragraph.field_guide_subnav.yml new file mode 100644 index 00000000..f2e872a6 --- /dev/null +++ b/config/sync/field.storage.paragraph.field_guide_subnav.yml @@ -0,0 +1,20 @@ +uuid: 88c0fe3c-2a87-40a3-b854-85f9ab307f1a +langcode: en +status: true +dependencies: + module: + - node + - paragraphs +id: paragraph.field_guide_subnav +field_name: field_guide_subnav +entity_type: paragraph +type: entity_reference +settings: + target_type: node +module: core +locked: false +cardinality: -1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/node.type.guide_navigation.yml b/config/sync/node.type.guide_navigation.yml new file mode 100644 index 00000000..5a081a56 --- /dev/null +++ b/config/sync/node.type.guide_navigation.yml @@ -0,0 +1,31 @@ +uuid: 97071e38-c55d-41f6-ad89-8ece83da5316 +langcode: en +status: true +dependencies: + module: + - menu_ui + - scheduler +third_party_settings: + menu_ui: + available_menus: { } + parent: '' + scheduler: + expand_fieldset: when_required + fields_display_mode: vertical_tab + publish_enable: false + publish_past_date: error + publish_past_date_created: false + publish_required: false + publish_revision: false + publish_touch: false + show_message_after_update: true + unpublish_enable: false + unpublish_required: false + unpublish_revision: false +name: 'Guide Navigation' +type: guide_navigation +description: null +help: null +new_revision: false +preview_mode: 1 +display_submitted: false diff --git a/config/sync/override_node_options.settings.yml b/config/sync/override_node_options.settings.yml index 7f5e2f73..633bdf39 100644 --- a/config/sync/override_node_options.settings.yml +++ b/config/sync/override_node_options.settings.yml @@ -1,4 +1,4 @@ _core: default_config_hash: Y0Jxf-pLD0BpNVMs5eY2YL6Ctcxc-sKfAi5IJa_bwQk general_permissions: 1 -specific_permissions: 0 +specific_permissions: 1 diff --git a/config/sync/paragraphs.paragraphs_type.guide_pages.yml b/config/sync/paragraphs.paragraphs_type.guide_pages.yml new file mode 100644 index 00000000..6aa5b7e4 --- /dev/null +++ b/config/sync/paragraphs.paragraphs_type.guide_pages.yml @@ -0,0 +1,10 @@ +uuid: 4d91e8be-ac51-4431-a7cf-bd94b7ab37be +langcode: en +status: true +dependencies: { } +id: guide_pages +label: 'Guide Pages' +icon_uuid: null +icon_default: null +description: 'Collection of pages to use in navigation for a guide.' +behavior_plugins: { } diff --git a/config/sync/system.action.user_add_role_action.guide_navigation_admin.yml b/config/sync/system.action.user_add_role_action.guide_navigation_admin.yml new file mode 100644 index 00000000..52e50643 --- /dev/null +++ b/config/sync/system.action.user_add_role_action.guide_navigation_admin.yml @@ -0,0 +1,14 @@ +uuid: 7632ffa8-086c-44c1-bf9f-c350e2059f78 +langcode: en +status: true +dependencies: + config: + - user.role.guide_navigation_admin + module: + - user +id: user_add_role_action.guide_navigation_admin +label: 'Add the Guide Navigation Admin role to the selected user(s)' +type: user +plugin: user_add_role_action +configuration: + rid: guide_navigation_admin diff --git a/config/sync/system.action.user_add_role_action.job_board_manager.yml b/config/sync/system.action.user_add_role_action.job_board_manager.yml deleted file mode 100644 index c3d14396..00000000 --- a/config/sync/system.action.user_add_role_action.job_board_manager.yml +++ /dev/null @@ -1,14 +0,0 @@ -uuid: 4c5e5893-6ae9-4a3f-b12f-72783e7a03c9 -langcode: en -status: true -dependencies: - config: - - user.role.job_board_manager - module: - - user -id: user_add_role_action.job_board_manager -label: 'Add the Job Board Manager role to the selected user(s)' -type: user -plugin: user_add_role_action -configuration: - rid: job_board_manager diff --git a/config/sync/system.action.user_remove_role_action.guide_navigation_admin.yml b/config/sync/system.action.user_remove_role_action.guide_navigation_admin.yml new file mode 100644 index 00000000..547c5ff1 --- /dev/null +++ b/config/sync/system.action.user_remove_role_action.guide_navigation_admin.yml @@ -0,0 +1,14 @@ +uuid: a8446a2f-080b-4615-8d45-3efc07bf7b45 +langcode: en +status: true +dependencies: + config: + - user.role.guide_navigation_admin + module: + - user +id: user_remove_role_action.guide_navigation_admin +label: 'Remove the Guide Navigation Admin role from the selected user(s)' +type: user +plugin: user_remove_role_action +configuration: + rid: guide_navigation_admin diff --git a/config/sync/system.action.user_remove_role_action.job_board_manager.yml b/config/sync/system.action.user_remove_role_action.job_board_manager.yml deleted file mode 100644 index 8208c3ce..00000000 --- a/config/sync/system.action.user_remove_role_action.job_board_manager.yml +++ /dev/null @@ -1,14 +0,0 @@ -uuid: 9096afe6-a8b3-4484-a03d-51c4bc459b0f -langcode: en -status: true -dependencies: - config: - - user.role.job_board_manager - module: - - user -id: user_remove_role_action.job_board_manager -label: 'Remove the Job Board Manager role from the selected user(s)' -type: user -plugin: user_remove_role_action -configuration: - rid: job_board_manager diff --git a/config/sync/user.role.content_admin.yml b/config/sync/user.role.content_admin.yml index 22e3fcdc..bf3b6e26 100644 --- a/config/sync/user.role.content_admin.yml +++ b/config/sync/user.role.content_admin.yml @@ -7,6 +7,7 @@ dependencies: - node.type.basic_page - node.type.community - node.type.event + - node.type.guide_navigation - node.type.guides - node.type.landing_page - node.type.news @@ -43,6 +44,7 @@ permissions: - 'create basic_page content' - 'create community content' - 'create event content' + - 'create guide_navigation content' - 'create guides content' - 'create landing_page content' - 'create media' @@ -51,11 +53,13 @@ permissions: - 'create short_post content' - 'create source content' - 'create topics content' + - 'delete any guide_navigation content' - 'delete any media' - 'edit any authors content' - 'edit any basic_page content' - 'edit any community content' - 'edit any event content' + - 'edit any guide_navigation content' - 'edit any guides content' - 'edit any landing_page content' - 'edit any news content' @@ -66,6 +70,7 @@ permissions: - 'edit identifier config page entity' - 'override all authored by option' - 'override all authored on option' + - 'override guide_navigation published option' - 'schedule publishing of nodes' - 'update any media' - 'use default embedded content button' diff --git a/config/sync/user.role.guide_navigation_admin.yml b/config/sync/user.role.guide_navigation_admin.yml new file mode 100644 index 00000000..4377802a --- /dev/null +++ b/config/sync/user.role.guide_navigation_admin.yml @@ -0,0 +1,21 @@ +uuid: 89d3d12f-f60d-439a-8a5a-e57d6df00fce +langcode: en +status: true +dependencies: + config: + - node.type.guide_navigation + module: + - node + - override_node_options + - paragraphs_type_permissions +id: guide_navigation_admin +label: 'Guide Navigation Admin' +weight: 10 +is_admin: null +permissions: + - 'access content overview' + - 'bypass paragraphs type content access' + - 'create guide_navigation content' + - 'delete any guide_navigation content' + - 'edit any guide_navigation content' + - 'override guide_navigation published option' diff --git a/config/sync/user.role.job_board_manager.yml b/config/sync/user.role.job_board_manager.yml deleted file mode 100644 index 384ce5df..00000000 --- a/config/sync/user.role.job_board_manager.yml +++ /dev/null @@ -1,15 +0,0 @@ -uuid: da56047c-0a73-497e-8794-1e1b3f971c06 -langcode: en -status: true -dependencies: - module: - - config_pages - - node -id: job_board_manager -label: 'Job Board Manager' -weight: 10 -is_admin: null -permissions: - - 'access content overview' - - 'edit job_board_administration config page entity' - - 'view job_board_administration config page entity' diff --git a/config/sync/user.role.user_admin.yml b/config/sync/user.role.user_admin.yml index 10cb22e9..1e8bb8b9 100644 --- a/config/sync/user.role.user_admin.yml +++ b/config/sync/user.role.user_admin.yml @@ -13,6 +13,7 @@ permissions: - 'assign content_admin role' - 'assign data_analyst role' - 'assign editor role' + - 'assign guide_navigation_admin role' - 'assign identifier_admin role' - 'assign publisher role' - 'assign user_admin role' diff --git a/config/sync/views.view.parent_guide_nav_pages_ref.yml b/config/sync/views.view.parent_guide_nav_pages_ref.yml new file mode 100644 index 00000000..2704f71c --- /dev/null +++ b/config/sync/views.view.parent_guide_nav_pages_ref.yml @@ -0,0 +1,232 @@ +uuid: 1d09eb09-edbb-451d-87ae-d2542c6a6fe7 +langcode: en +status: true +dependencies: + module: + - node + - user +id: parent_guide_nav_pages_ref +label: 'Parent Guide Nav Pages Ref' +module: views +description: '' +tag: '' +base_table: node_field_data +base_field: nid +display: + default: + id: default + display_title: Default + display_plugin: default + position: 0 + display_options: + fields: + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: title + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + make_link: false + absolute: false + word_boundary: false + ellipsis: false + strip_tags: false + trim: false + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: true + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + pager: + type: mini + options: + offset: 0 + pagination_heading_level: h4 + items_per_page: 10 + total_pages: null + id: 0 + tags: + next: ›› + previous: ‹‹ + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + exposed_form: + type: basic + options: + submit_button: Apply + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + access: + type: perm + options: + perm: 'access content' + cache: + type: tag + options: { } + empty: { } + sorts: + field_guide_weight_value: + id: field_guide_weight_value + table: node__field_guide_weight + field: field_guide_weight_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: '' + exposed: false + arguments: { } + filters: + status: + id: status + table: node_field_data + field: status + entity_type: node + entity_field: status + plugin_id: boolean + value: '1' + group: 1 + expose: + operator: '' + field_guide_weight_value: + id: field_guide_weight_value + table: node__field_guide_weight + field: field_guide_weight_value + relationship: none + group_type: group + admin_label: '' + plugin_id: numeric + operator: 'not empty' + value: + min: '' + max: '' + value: '' + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + min_placeholder: '' + max_placeholder: '' + placeholder: '' + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + style: + type: default + options: + grouping: { } + row_class: '' + default_row_class: true + uses_fields: false + row: + type: fields + options: + default_field_elements: true + inline: { } + separator: '' + hide_empty: false + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: { } + header: { } + footer: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: { } + entity_reference_1: + id: entity_reference_1 + display_title: 'Entity Reference' + display_plugin: entity_reference + position: 1 + display_options: + style: + type: entity_reference + options: + search_fields: + title: title + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - 'user.node_grants:view' + - user.permissions + tags: { } From 5d541c8e5d6c98acd51034fb1aab95a794ce2ee1 Mon Sep 17 00:00:00 2001 From: Matt Poole Date: Tue, 7 Jan 2025 10:18:23 -0500 Subject: [PATCH 21/21] DIGITAL-192: Redoing on the needed files from "Add new role for admin and merge with origin/develop." --- ...ion.user_add_role_action.job_board_manager.yml | 14 ++++++++++++++ ....user_remove_role_action.job_board_manager.yml | 14 ++++++++++++++ config/sync/user.role.job_board_manager.yml | 15 +++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 config/sync/system.action.user_add_role_action.job_board_manager.yml create mode 100644 config/sync/system.action.user_remove_role_action.job_board_manager.yml create mode 100644 config/sync/user.role.job_board_manager.yml diff --git a/config/sync/system.action.user_add_role_action.job_board_manager.yml b/config/sync/system.action.user_add_role_action.job_board_manager.yml new file mode 100644 index 00000000..c3d14396 --- /dev/null +++ b/config/sync/system.action.user_add_role_action.job_board_manager.yml @@ -0,0 +1,14 @@ +uuid: 4c5e5893-6ae9-4a3f-b12f-72783e7a03c9 +langcode: en +status: true +dependencies: + config: + - user.role.job_board_manager + module: + - user +id: user_add_role_action.job_board_manager +label: 'Add the Job Board Manager role to the selected user(s)' +type: user +plugin: user_add_role_action +configuration: + rid: job_board_manager diff --git a/config/sync/system.action.user_remove_role_action.job_board_manager.yml b/config/sync/system.action.user_remove_role_action.job_board_manager.yml new file mode 100644 index 00000000..8208c3ce --- /dev/null +++ b/config/sync/system.action.user_remove_role_action.job_board_manager.yml @@ -0,0 +1,14 @@ +uuid: 9096afe6-a8b3-4484-a03d-51c4bc459b0f +langcode: en +status: true +dependencies: + config: + - user.role.job_board_manager + module: + - user +id: user_remove_role_action.job_board_manager +label: 'Remove the Job Board Manager role from the selected user(s)' +type: user +plugin: user_remove_role_action +configuration: + rid: job_board_manager diff --git a/config/sync/user.role.job_board_manager.yml b/config/sync/user.role.job_board_manager.yml new file mode 100644 index 00000000..384ce5df --- /dev/null +++ b/config/sync/user.role.job_board_manager.yml @@ -0,0 +1,15 @@ +uuid: da56047c-0a73-497e-8794-1e1b3f971c06 +langcode: en +status: true +dependencies: + module: + - config_pages + - node +id: job_board_manager +label: 'Job Board Manager' +weight: 10 +is_admin: null +permissions: + - 'access content overview' + - 'edit job_board_administration config page entity' + - 'view job_board_administration config page entity'