diff --git a/.circleci/config.yml b/.circleci/config.yml index 8b4e262f8..515a6063b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -31,7 +31,7 @@ jobs: cf run-task ${project}-drupal-${CIRCLE_BRANCH} --command "ENV=${CIRCLE_BRANCH} scripts/upkeep" --name "${project}-${CIRCLE_BRANCH}-upkeep" -k "2G" -m 512M build-theme: docker: - - image: node:18-slim + - image: node:20-slim steps: - checkout - run: @@ -41,7 +41,7 @@ jobs: - persist_to_workspace: root: ~/ paths: - - project/web/themes/custom/vote_gov/dist + - project/web/themes/custom/votegov/dist cypress: docker: - image: cypress/included:cypress-12.3.0-node-16.18.1-chrome-109.0.5414.74-1-ff-109.0-edge-109.0.1518.52-1 @@ -292,15 +292,15 @@ workflows: - stage requires: - deploy - - cypress: - filters: - branches: - only: - - test - - dev - - stage - requires: - - upkeep + # - cypress: + # filters: + # branches: + # only: + # - test + # - dev + # - stage + # requires: + # - upkeep deploy-prod-workflow: when: and: @@ -325,16 +325,16 @@ workflows: - equal: [ true, << pipeline.parameters.upkeep >> ] jobs: - upkeep - link-validation-workflow: - triggers: - - schedule: - cron: '0 10 * * 1,4' - filters: - branches: - only: - - stage - jobs: - - link-validation + # link-validation-workflow: + # triggers: + # - schedule: + # cron: '0 10 * * 1,4' + # filters: + # branches: + # only: + # - stage + # jobs: + # - link-validation scheduled-backup-workflow: when: and: diff --git a/.github/dependabot.yml b/.github/dependabot.yml index aac9825bd..bd278657c 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -20,7 +20,7 @@ updates: - "npm" - "dependencies" - package-ecosystem: "npm" # See documentation for possible values - directory: "/web/themes/custom/vote_gov/" # Location of package manifests + directory: "/web/themes/custom/votegov/" # Location of package manifests schedule: interval: "weekly" labels: diff --git a/.gitignore b/.gitignore index 0fbcc65bf..61a032a9d 100644 --- a/.gitignore +++ b/.gitignore @@ -72,6 +72,7 @@ node_modules # Ignore Theme dist files /web/themes/custom/vote_gov/dist/ +/web/themes/custom/votegov/dist/ # Allow cloud.gov settings file. !web/sites/default/settings.cloudgov.php @@ -85,4 +86,4 @@ node_modules scheduled_backup/* env:/ -cms/ \ No newline at end of file +cms/ diff --git a/.lando.yml b/.lando.yml index 0a7819a69..096d2e227 100644 --- a/.lando.yml +++ b/.lando.yml @@ -68,15 +68,15 @@ tooling: npm-theme: service: node description: Runs npm commands - cmd: npm --prefix /app/web/themes/custom/vote_gov + cmd: npm --prefix /app/web/themes/custom/votegov gulp: service: node - dir: "/app/web/themes/custom/vote_gov" - cmd: npm run gulp --prefix /app/web/themes/custom/vote_gov + dir: "/app/web/themes/custom/votegov" + cmd: npm run gulp --prefix /app/web/themes/custom/votegov gulp-compile: service: node - dir: "/app/web/themes/custom/vote_gov" - cmd: npm run build --prefix /app/web/themes/custom/vote_gov + dir: "/app/web/themes/custom/votegov" + cmd: npm run build --prefix /app/web/themes/custom/votegov # Custom lando command, to sync Drupal db with updates, config changes in codebase. 'cy:axe': service: node diff --git a/composer.json b/composer.json index f80dc83f0..8c895989e 100644 --- a/composer.json +++ b/composer.json @@ -48,6 +48,7 @@ "drupal/devel": "^5.1", "drupal/disable_language": "^1.0@beta", "drupal/double_field": "^4.1", + "drupal/easy_breadcrumb": "^2.0", "drupal/editoria11y": "^2.0", "drupal/entity_reference_revisions": "^1.10", "drupal/field_group": "^3.4", @@ -75,6 +76,7 @@ "drupal/translatable_menu_link_uri": "^2.0@dev", "drupal/twig_field_value": "^2.0", "drupal/twig_tweak": "^3.2", + "drupal/uswds_templates": "^3.0@dev", "drush/drush": "^11.3" }, "require-dev": { diff --git a/composer.lock b/composer.lock index 351e0b41a..e4c6617b8 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "f9687a65bb13cca9d3b33d6d2748b478", + "content-hash": "ebf3d4cd73f153684ea4bfeb1f2cc2fe", "packages": [ { "name": "asm89/stack-cors", @@ -2746,6 +2746,85 @@ "issues": "https://www.drupal.org/project/issues/double_field" } }, + { + "name": "drupal/easy_breadcrumb", + "version": "2.0.5", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/easy_breadcrumb.git", + "reference": "2.0.5" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/easy_breadcrumb-2.0.5.zip", + "reference": "2.0.5", + "shasum": "e73a7c3568fccaf85b3df0ddd98d713f4d2f5415" + }, + "require": { + "drupal/core": "^9.2 || ^10" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "2.0.5", + "datestamp": "1673559799", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "Neslee Canil Pinto", + "homepage": "https://www.drupal.org/u/neslee-canil-pinto", + "role": "Maintainer" + }, + { + "name": "Greg Boggs", + "homepage": "https://www.drupal.org/u/greg-boggs", + "role": "Maintainer" + }, + { + "name": "hmartens", + "homepage": "https://www.drupal.org/user/622826" + }, + { + "name": "loopduplicate", + "homepage": "https://www.drupal.org/user/717290" + }, + { + "name": "Neslee Canil Pinto", + "homepage": "https://www.drupal.org/user/3580850" + }, + { + "name": "NickDickinsonWilde", + "homepage": "https://www.drupal.org/user/3094661" + }, + { + "name": "renatog", + "homepage": "https://www.drupal.org/user/3326031" + }, + { + "name": "sonemonu", + "homepage": "https://www.drupal.org/user/1667988" + }, + { + "name": "tatarbj", + "homepage": "https://www.drupal.org/user/649590" + } + ], + "description": "Adds configuration to the system breadcrumbs.", + "homepage": "https://www.drupal.org/project/easy_breadcrumb", + "support": { + "source": "https://git.drupalcode.org/project/easy_breadcrumb", + "issues": "https://www.drupal.org/project/issues/easy_breadcrumb" + } + }, { "name": "drupal/editoria11y", "version": "2.0.14", @@ -4515,6 +4594,47 @@ "issues": "https://www.drupal.org/project/issues/twig_tweak" } }, + { + "name": "drupal/uswds_templates", + "version": "dev-3.0.x", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/uswds_templates.git", + "reference": "2af1b4794cbb4b46b046686b6bd313442f85f2ff" + }, + "require": { + "drupal/core": "^9.4 || ^10" + }, + "type": "drupal-module", + "extra": { + "branch-alias": { + "dev-3.0.x": "3.0.x-dev" + }, + "drupal": { + "version": "3.0.x-dev", + "datestamp": "1698622207", + "security-coverage": { + "status": "not-covered", + "message": "Project has not opted into security advisory coverage!" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "vector_ray", + "homepage": "https://www.drupal.org/user/1819168" + } + ], + "description": "Provides USWDS component templates for leveraging in other modules or themes", + "homepage": "https://www.drupal.org/project/uswds_templates", + "support": { + "source": "https://git.drupalcode.org/project/uswds_templates" + } + }, { "name": "drush/drush", "version": "11.6.0", @@ -13600,11 +13720,13 @@ "drupal/config_split": 5, "drupal/disable_language": 10, "drupal/log_stdout": 20, + "drupal/menu_multilingual": 15, "drupal/node_revision_delete": 15, "drupal/pathauto": 20, "drupal/publication_date": 20, "drupal/rest_views": 15, - "drupal/translatable_menu_link_uri": 20 + "drupal/translatable_menu_link_uri": 20, + "drupal/uswds_templates": 20 }, "prefer-stable": true, "prefer-lowest": false, diff --git a/config/sync/bixal_uswds.settings.yml b/config/sync/bixal_uswds.settings.yml new file mode 100644 index 000000000..ae4ffe628 --- /dev/null +++ b/config/sync/bixal_uswds.settings.yml @@ -0,0 +1,12 @@ +_core: + default_config_hash: cI-Pl1vK4EZIlVhkBeRB-LcoEoKTUgI5gdJ7paB8cQk +favicon: + use_default: true +features: + comment_user_picture: true + comment_user_verification: true + favicon: true + node_user_picture: true +logo: + use_default: true +time_picker_style: html5_time_picker diff --git a/config/sync/block.block.bixal_uswds_breadcrumbs.yml b/config/sync/block.block.bixal_uswds_breadcrumbs.yml new file mode 100644 index 000000000..46ca113a0 --- /dev/null +++ b/config/sync/block.block.bixal_uswds_breadcrumbs.yml @@ -0,0 +1,32 @@ +uuid: 9d925d66-c067-4f97-b040-543c96e23916 +langcode: en +status: true +dependencies: + module: + - node + - system + theme: + - bixal_uswds +_core: + default_config_hash: W00dRxBD1MUkvdrG5GCp5ucRMano3bszsmhxU8gkn4E +id: bixal_uswds_breadcrumbs +theme: bixal_uswds +region: breadcrumb +weight: 0 +provider: null +plugin: system_breadcrumb_block +settings: + id: system_breadcrumb_block + label: Breadcrumbs + label_display: '0' + provider: system +visibility: + 'entity_bundle:node': + id: 'entity_bundle:node' + negate: false + context_mapping: + node: '@node.node_route_context:node' + bundles: + article: article + bx_update: bx_update + page: page diff --git a/config/sync/block.block.bixal_uswds_content.yml b/config/sync/block.block.bixal_uswds_content.yml new file mode 100644 index 000000000..915b832de --- /dev/null +++ b/config/sync/block.block.bixal_uswds_content.yml @@ -0,0 +1,22 @@ +uuid: 2b0e2fb8-f0e6-4673-aa12-57a4701ff740 +langcode: en +status: true +dependencies: + module: + - system + theme: + - bixal_uswds +_core: + default_config_hash: 2G5FjlDbZWWDTiD3NUntBHFuQ4sFrp1VsMH2kKIDB2I +id: bixal_uswds_content +theme: bixal_uswds +region: content +weight: -6 +provider: null +plugin: system_main_block +settings: + id: system_main_block + label: 'Main page content' + label_display: '0' + provider: system +visibility: { } diff --git a/config/sync/block.block.bixal_uswds_local_tasks.yml b/config/sync/block.block.bixal_uswds_local_tasks.yml new file mode 100644 index 000000000..d4ccefc0a --- /dev/null +++ b/config/sync/block.block.bixal_uswds_local_tasks.yml @@ -0,0 +1,22 @@ +uuid: fce6a776-e80f-4975-9fe8-8eb25533bcb4 +langcode: en +status: true +dependencies: + theme: + - bixal_uswds +_core: + default_config_hash: ezVrmCOm0kkrQu3AkWTHOJo9DOQPkTDQcpUqjCx3QIQ +id: bixal_uswds_local_tasks +theme: bixal_uswds +region: help +weight: -5 +provider: null +plugin: local_tasks_block +settings: + id: local_tasks_block + label: Tabs + label_display: '0' + provider: core + primary: true + secondary: true +visibility: { } diff --git a/config/sync/block.block.bixal_uswds_messages.yml b/config/sync/block.block.bixal_uswds_messages.yml new file mode 100644 index 000000000..b5ce75143 --- /dev/null +++ b/config/sync/block.block.bixal_uswds_messages.yml @@ -0,0 +1,22 @@ +uuid: 1b705334-213b-40ad-87d1-41af9695f461 +langcode: en +status: true +dependencies: + module: + - system + theme: + - bixal_uswds +_core: + default_config_hash: KIRJdxuSar1WHKnHKfD-tAyAp6I6yTPBfDS9A6tBaTg +id: bixal_uswds_messages +theme: bixal_uswds +region: help +weight: -6 +provider: null +plugin: system_messages_block +settings: + id: system_messages_block + label: 'Status messages' + label_display: '0' + provider: system +visibility: { } diff --git a/config/sync/block.block.bixal_uswds_page_title.yml b/config/sync/block.block.bixal_uswds_page_title.yml new file mode 100644 index 000000000..4f0deb3e2 --- /dev/null +++ b/config/sync/block.block.bixal_uswds_page_title.yml @@ -0,0 +1,20 @@ +uuid: ece2eb22-ccef-481a-9c95-71e72789e613 +langcode: en +status: true +dependencies: + theme: + - bixal_uswds +_core: + default_config_hash: Y1X3ac5Q9KbzE_7p4d5WMA3P1WtvzLi4I56Cf_pddy8 +id: bixal_uswds_page_title +theme: bixal_uswds +region: help +weight: -3 +provider: null +plugin: page_title_block +settings: + id: page_title_block + label: 'Page title' + label_display: '0' + provider: core +visibility: { } diff --git a/config/sync/block.block.votegov_breadcrumbs.yml b/config/sync/block.block.votegov_breadcrumbs.yml new file mode 100644 index 000000000..ffec083f4 --- /dev/null +++ b/config/sync/block.block.votegov_breadcrumbs.yml @@ -0,0 +1,20 @@ +uuid: 72a384f0-c06f-4233-9105-77e84ded3308 +langcode: en +status: true +dependencies: + module: + - system + theme: + - votegov +id: votegov_breadcrumbs +theme: votegov +region: no_region +weight: -4 +provider: null +plugin: system_breadcrumb_block +settings: + id: system_breadcrumb_block + label: Breadcrumbs + label_display: '0' + provider: system +visibility: { } diff --git a/config/sync/block.block.votegov_content.yml b/config/sync/block.block.votegov_content.yml new file mode 100644 index 000000000..f09cd60fc --- /dev/null +++ b/config/sync/block.block.votegov_content.yml @@ -0,0 +1,22 @@ +uuid: 926a66ca-0ea4-42af-b46c-49817f98146f +langcode: en +status: true +dependencies: + module: + - system + theme: + - votegov +_core: + default_config_hash: zi0BPmuyVpUHAQAYYi8qC8jfAO1MkRPw1_STBhdmc_Y +id: votegov_content +theme: votegov +region: content +weight: -5 +provider: null +plugin: system_main_block +settings: + id: system_main_block + label: 'Main page content' + label_display: '0' + provider: system +visibility: { } diff --git a/config/sync/block.block.votegov_footernavigation.yml b/config/sync/block.block.votegov_footernavigation.yml new file mode 100644 index 000000000..b7a4190b5 --- /dev/null +++ b/config/sync/block.block.votegov_footernavigation.yml @@ -0,0 +1,27 @@ +uuid: 4f599460-035e-4bc1-8d16-030d33766b97 +langcode: en +status: true +dependencies: + config: + - system.menu.footer + module: + - system + theme: + - votegov +id: votegov_footernavigation +theme: votegov +region: footer +weight: -3 +provider: null +plugin: 'system_menu_block:footer' +settings: + id: 'system_menu_block:footer' + label: 'Footer menu' + label_display: '0' + provider: system + level: 1 + depth: 0 + expand_all_items: false + only_translated_labels: 0 + only_translated_content: 0 +visibility: { } diff --git a/config/sync/block.block.votegov_htmlsitemap.yml b/config/sync/block.block.votegov_htmlsitemap.yml new file mode 100644 index 000000000..3968f19e8 --- /dev/null +++ b/config/sync/block.block.votegov_htmlsitemap.yml @@ -0,0 +1,27 @@ +uuid: 3f1729dc-116c-4c1e-8aef-86cd970c9c82 +langcode: en +status: true +dependencies: + config: + - system.menu.main + module: + - system + theme: + - votegov +id: votegov_htmlsitemap +theme: votegov +region: no_region +weight: -5 +provider: null +plugin: 'system_menu_block:main' +settings: + id: 'system_menu_block:main' + label: 'Sitemap Menu' + label_display: '0' + provider: system + level: 1 + depth: 1 + expand_all_items: false + only_translated_labels: 0 + only_translated_content: 0 +visibility: { } diff --git a/config/sync/block.block.votegov_languageswitcher.yml b/config/sync/block.block.votegov_languageswitcher.yml new file mode 100644 index 000000000..950659441 --- /dev/null +++ b/config/sync/block.block.votegov_languageswitcher.yml @@ -0,0 +1,20 @@ +uuid: 4fdf39c1-6f90-43b0-a397-3f5353b165ff +langcode: en +status: true +dependencies: + module: + - language + theme: + - votegov +id: votegov_languageswitcher +theme: votegov +region: header +weight: -6 +provider: null +plugin: 'language_block:language_interface' +settings: + id: 'language_block:language_interface' + label: 'Select Language' + label_display: '0' + provider: language +visibility: { } diff --git a/config/sync/block.block.votegov_local_tasks.yml b/config/sync/block.block.votegov_local_tasks.yml new file mode 100644 index 000000000..87531c9d6 --- /dev/null +++ b/config/sync/block.block.votegov_local_tasks.yml @@ -0,0 +1,22 @@ +uuid: b1205140-82ba-4f6a-afff-3840dede2192 +langcode: en +status: true +dependencies: + theme: + - votegov +_core: + default_config_hash: umNtIMUoh_wuWhK5Dv8-cX7febvOoYCebJ8lOg1NDk0 +id: votegov_local_tasks +theme: votegov +region: admin +weight: -3 +provider: null +plugin: local_tasks_block +settings: + id: local_tasks_block + label: Tabs + label_display: '0' + provider: core + primary: true + secondary: true +visibility: { } diff --git a/config/sync/block.block.votegov_loginalert.yml b/config/sync/block.block.votegov_loginalert.yml new file mode 100644 index 000000000..2cbfdf54f --- /dev/null +++ b/config/sync/block.block.votegov_loginalert.yml @@ -0,0 +1,38 @@ +uuid: a2d690f2-8f57-4a2c-8f08-062eb18f8a83 +langcode: en +status: true +dependencies: + content: + - 'block_content:basic:4d4c751d-1752-4f3e-95d8-25e981ed573b' + module: + - block_content + - system + - user + theme: + - votegov +id: votegov_loginalert +theme: votegov +region: content +weight: -6 +provider: null +plugin: 'block_content:4d4c751d-1752-4f3e-95d8-25e981ed573b' +settings: + id: 'block_content:4d4c751d-1752-4f3e-95d8-25e981ed573b' + label: 'Login Alert' + label_display: '0' + provider: block_content + status: true + info: '' + view_mode: full +visibility: + request_path: + id: request_path + negate: false + pages: /user/login + user_role: + id: user_role + negate: false + context_mapping: + user: '@user.current_user_context:current_user' + roles: + anonymous: anonymous diff --git a/config/sync/block.block.votegov_mainnavigation.yml b/config/sync/block.block.votegov_mainnavigation.yml new file mode 100644 index 000000000..c0dce5711 --- /dev/null +++ b/config/sync/block.block.votegov_mainnavigation.yml @@ -0,0 +1,27 @@ +uuid: 7e756bf0-5ba7-43bd-871a-87a0418ac75e +langcode: en +status: true +dependencies: + config: + - system.menu.main + module: + - system + theme: + - votegov +id: votegov_mainnavigation +theme: votegov +region: header +weight: -4 +provider: null +plugin: 'system_menu_block:main' +settings: + id: 'system_menu_block:main' + label: 'Main navigation' + label_display: '0' + provider: system + level: 1 + depth: 2 + expand_all_items: true + only_translated_labels: 0 + only_translated_content: 0 +visibility: { } diff --git a/config/sync/block.block.votegov_messages.yml b/config/sync/block.block.votegov_messages.yml new file mode 100644 index 000000000..88330d084 --- /dev/null +++ b/config/sync/block.block.votegov_messages.yml @@ -0,0 +1,22 @@ +uuid: d6d08f9f-32ef-4549-8815-c8dbb868c1a9 +langcode: en +status: true +dependencies: + module: + - system + theme: + - votegov +_core: + default_config_hash: vGaqZ52JipOWXIT-icQHPoHXhQgCiiUnrGTbLG3isyc +id: votegov_messages +theme: votegov +region: admin +weight: -2 +provider: null +plugin: system_messages_block +settings: + id: system_messages_block + label: 'Status messages' + label_display: '0' + provider: system +visibility: { } diff --git a/config/sync/block.block.votegov_sitebranding.yml b/config/sync/block.block.votegov_sitebranding.yml new file mode 100644 index 000000000..4b01f29d1 --- /dev/null +++ b/config/sync/block.block.votegov_sitebranding.yml @@ -0,0 +1,23 @@ +uuid: fa9b42d5-0adc-41a5-a4a0-082754852eb3 +langcode: en +status: true +dependencies: + module: + - system + theme: + - votegov +id: votegov_sitebranding +theme: votegov +region: header +weight: -5 +provider: null +plugin: system_branding_block +settings: + id: system_branding_block + label: 'Site branding' + label_display: '0' + provider: system + use_site_logo: true + use_site_name: true + use_site_slogan: false +visibility: { } diff --git a/config/sync/core.base_field_override.node.voter_guide.promote.yml b/config/sync/core.base_field_override.node.voter_guide.promote.yml new file mode 100644 index 000000000..34e3498cd --- /dev/null +++ b/config/sync/core.base_field_override.node.voter_guide.promote.yml @@ -0,0 +1,22 @@ +uuid: bc8945b5-894f-4030-9fac-1d92976b6ab5 +langcode: en +status: true +dependencies: + config: + - node.type.voter_guide +id: node.voter_guide.promote +field_name: promote +entity_type: node +bundle: voter_guide +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.voter_guide.status.yml b/config/sync/core.base_field_override.node.voter_guide.status.yml new file mode 100644 index 000000000..792cc32e4 --- /dev/null +++ b/config/sync/core.base_field_override.node.voter_guide.status.yml @@ -0,0 +1,22 @@ +uuid: 8a03678f-92e6-4031-b652-d648b2be941b +langcode: en +status: true +dependencies: + config: + - node.type.voter_guide +id: node.voter_guide.status +field_name: status +entity_type: node +bundle: voter_guide +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.media.image.media_library.yml b/config/sync/core.entity_form_display.media.image.media_library.yml index c3946cd23..e290f6a80 100644 --- a/config/sync/core.entity_form_display.media.image.media_library.yml +++ b/config/sync/core.entity_form_display.media.image.media_library.yml @@ -10,22 +10,35 @@ dependencies: - media.type.image module: - image + - text id: media.image.media_library targetEntityType: media bundle: image mode: media_library content: + field_caption: + type: text_textfield + weight: 1 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } field_media_image: type: image_image - weight: -50 + weight: 0 region: content settings: progress_indicator: throbber preview_image_style: thumbnail third_party_settings: { } + translation: + weight: 2 + region: content + settings: { } + third_party_settings: { } hidden: created: true - field_caption: true langcode: true name: true path: true diff --git a/config/sync/core.entity_form_display.node.page.default.yml b/config/sync/core.entity_form_display.node.page.default.yml index 558a938bf..08ecc2fd5 100644 --- a/config/sync/core.entity_form_display.node.page.default.yml +++ b/config/sync/core.entity_form_display.node.page.default.yml @@ -5,11 +5,13 @@ dependencies: config: - field.field.node.page.body - field.field.node.page.field_body + - field.field.node.page.field_media - field.field.node.page.field_metatags - node.type.page - workflows.workflow.publishing_content module: - content_moderation + - media_library - metatag - path - publication_date @@ -35,9 +37,16 @@ content: placeholder: '' show_summary: false third_party_settings: { } + field_media: + type: media_library_widget + weight: 11 + region: content + settings: + media_types: { } + third_party_settings: { } field_metatags: type: metatag_firehose - weight: 12 + weight: 13 region: content settings: sidebar: true @@ -45,7 +54,7 @@ content: third_party_settings: { } langcode: type: language_select - weight: 11 + weight: 12 region: content settings: include_locked: true diff --git a/config/sync/core.entity_form_display.node.voter_guide.default.yml b/config/sync/core.entity_form_display.node.voter_guide.default.yml new file mode 100644 index 000000000..70f7648ae --- /dev/null +++ b/config/sync/core.entity_form_display.node.voter_guide.default.yml @@ -0,0 +1,122 @@ +uuid: f1b4c0c8-73fd-4d74-98b6-9312be40bed7 +langcode: en +status: true +dependencies: + config: + - field.field.node.voter_guide.body + - field.field.node.voter_guide.field_subtitle + - node.type.voter_guide + module: + - content_moderation + - path + - publication_date + - text +id: node.voter_guide.default +targetEntityType: node +bundle: voter_guide +mode: default +content: + body: + type: text_textarea_with_summary + weight: 2 + region: content + settings: + rows: 9 + summary_rows: 3 + placeholder: '' + show_summary: false + third_party_settings: { } + created: + type: datetime_timestamp + weight: 6 + region: content + settings: { } + third_party_settings: { } + field_subtitle: + type: text_textarea + weight: 1 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } + langcode: + type: language_select + weight: 4 + region: content + settings: + include_locked: true + third_party_settings: { } + moderation_state: + type: moderation_state_default + weight: 13 + region: content + settings: { } + third_party_settings: { } + path: + type: path + weight: 11 + region: content + settings: { } + third_party_settings: { } + promote: + type: boolean_checkbox + weight: 9 + region: content + settings: + display_label: true + third_party_settings: { } + published_at: + type: publication_date_timestamp + weight: 7 + region: content + settings: { } + third_party_settings: { } + simple_sitemap: + weight: 8 + region: content + settings: { } + third_party_settings: { } + status: + type: boolean_checkbox + weight: 14 + region: content + settings: + display_label: true + third_party_settings: { } + sticky: + type: boolean_checkbox + weight: 10 + region: content + settings: + display_label: true + third_party_settings: { } + title: + type: string_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + translation: + weight: 3 + region: content + settings: { } + third_party_settings: { } + uid: + type: entity_reference_autocomplete + weight: 5 + region: content + settings: + match_operator: CONTAINS + match_limit: 10 + size: 60 + placeholder: '' + third_party_settings: { } + url_redirects: + weight: 12 + region: content + settings: { } + third_party_settings: { } +hidden: { } diff --git a/config/sync/core.entity_view_display.node.page.default.yml b/config/sync/core.entity_view_display.node.page.default.yml index 4c3efc1b3..ccbcb8641 100644 --- a/config/sync/core.entity_view_display.node.page.default.yml +++ b/config/sync/core.entity_view_display.node.page.default.yml @@ -5,6 +5,7 @@ dependencies: config: - field.field.node.page.body - field.field.node.page.field_body + - field.field.node.page.field_media - field.field.node.page.field_metatags - node.type.page module: @@ -21,26 +22,35 @@ content: label: above settings: { } third_party_settings: { } - weight: 1 + weight: 2 region: content content_moderation_control: settings: { } third_party_settings: { } - weight: 0 + weight: 1 region: content field_body: type: text_default label: above settings: { } third_party_settings: { } - weight: 6 + weight: 7 + region: content + field_media: + type: entity_reference_entity_view + label: hidden + settings: + view_mode: full + link: false + third_party_settings: { } + weight: 0 region: content field_metatags: type: metatag_empty_formatter label: above settings: { } third_party_settings: { } - weight: 4 + weight: 5 region: content langcode: type: language @@ -49,12 +59,12 @@ content: link_to_entity: false native_language: false third_party_settings: { } - weight: 2 + weight: 3 region: content links: settings: { } third_party_settings: { } - weight: 5 + weight: 6 region: content published_at: type: timestamp @@ -73,6 +83,6 @@ content: granularity: 2 refresh: 60 third_party_settings: { } - weight: 3 + weight: 4 region: content hidden: { } diff --git a/config/sync/core.entity_view_display.node.page.full.yml b/config/sync/core.entity_view_display.node.page.full.yml index 1884828c9..3c48c5cbd 100644 --- a/config/sync/core.entity_view_display.node.page.full.yml +++ b/config/sync/core.entity_view_display.node.page.full.yml @@ -6,6 +6,7 @@ dependencies: - core.entity_view_mode.node.full - field.field.node.page.body - field.field.node.page.field_body + - field.field.node.page.field_media - field.field.node.page.field_metatags - node.type.page module: @@ -19,14 +20,23 @@ content: content_moderation_control: settings: { } third_party_settings: { } - weight: 0 + weight: 1 region: content field_body: type: text_default label: hidden settings: { } third_party_settings: { } - weight: 1 + weight: 2 + region: content + field_media: + type: entity_reference_entity_view + label: hidden + settings: + view_mode: full + link: false + third_party_settings: { } + weight: 0 region: content hidden: body: true diff --git a/config/sync/core.entity_view_display.node.page.teaser.yml b/config/sync/core.entity_view_display.node.page.teaser.yml index 92c7497f7..13b8092f2 100644 --- a/config/sync/core.entity_view_display.node.page.teaser.yml +++ b/config/sync/core.entity_view_display.node.page.teaser.yml @@ -6,6 +6,7 @@ dependencies: - core.entity_view_mode.node.teaser - field.field.node.page.body - field.field.node.page.field_body + - field.field.node.page.field_media - field.field.node.page.field_metatags - node.type.page module: @@ -28,6 +29,7 @@ content: hidden: body: true field_body: true + field_media: true field_metatags: true langcode: true published_at: true diff --git a/config/sync/core.entity_view_display.node.voter_guide.default.yml b/config/sync/core.entity_view_display.node.voter_guide.default.yml new file mode 100644 index 000000000..125bb811d --- /dev/null +++ b/config/sync/core.entity_view_display.node.voter_guide.default.yml @@ -0,0 +1,38 @@ +uuid: bf46f430-428a-4826-bea9-44775552f917 +langcode: en +status: true +dependencies: + config: + - field.field.node.voter_guide.body + - field.field.node.voter_guide.field_subtitle + - node.type.voter_guide + module: + - text + - user +id: node.voter_guide.default +targetEntityType: node +bundle: voter_guide +mode: default +content: + body: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 101 + region: content + field_subtitle: + type: text_default + label: above + settings: { } + third_party_settings: { } + weight: 102 + region: content + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + langcode: true + published_at: true diff --git a/config/sync/core.entity_view_display.node.voter_guide.full.yml b/config/sync/core.entity_view_display.node.voter_guide.full.yml new file mode 100644 index 000000000..0b4238bef --- /dev/null +++ b/config/sync/core.entity_view_display.node.voter_guide.full.yml @@ -0,0 +1,35 @@ +uuid: 5cac5a16-1547-4f9f-a11b-5ea0e0c60cd7 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.full + - field.field.node.voter_guide.body + - field.field.node.voter_guide.field_subtitle + - node.type.voter_guide + module: + - text + - user +id: node.voter_guide.full +targetEntityType: node +bundle: voter_guide +mode: full +content: + body: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 1 + region: content + field_subtitle: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 0 + region: content +hidden: + langcode: true + links: true + published_at: true diff --git a/config/sync/core.entity_view_display.node.voter_guide.teaser.yml b/config/sync/core.entity_view_display.node.voter_guide.teaser.yml new file mode 100644 index 000000000..63602fb49 --- /dev/null +++ b/config/sync/core.entity_view_display.node.voter_guide.teaser.yml @@ -0,0 +1,34 @@ +uuid: ef7533d0-e8d9-43e2-958c-c66239416a36 +langcode: en +status: false +dependencies: + config: + - core.entity_view_mode.node.teaser + - field.field.node.voter_guide.body + - field.field.node.voter_guide.field_subtitle + - node.type.voter_guide + module: + - text + - user +id: node.voter_guide.teaser +targetEntityType: node +bundle: voter_guide +mode: teaser +content: + body: + type: text_summary_or_trimmed + label: hidden + settings: + trim_length: 600 + third_party_settings: { } + weight: 101 + region: content + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + field_subtitle: true + langcode: true + published_at: true diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index cc7e05a99..368fde7c6 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -19,6 +19,7 @@ module: disable_language: 0 double_field: 0 dynamic_page_cache: 0 + easy_breadcrumb: 0 ec_placeholder: 0 ec_touchpoints_survey: 0 editor: 0 @@ -70,6 +71,7 @@ module: twig_tweak: 0 update: 0 user: 0 + uswds_templates: 0 views_ui: 0 vote_nvrf: 0 vote_utility: 0 @@ -81,7 +83,9 @@ module: publication_date: 99 minimal: 1000 theme: + bixal_uswds: 0 claro: 0 stable: 0 + votegov: 0 vote_gov: 0 profile: minimal diff --git a/config/sync/easy_breadcrumb.settings.yml b/config/sync/easy_breadcrumb.settings.yml new file mode 100644 index 000000000..8348d9b05 --- /dev/null +++ b/config/sync/easy_breadcrumb.settings.yml @@ -0,0 +1,45 @@ +_core: + default_config_hash: i76EDs9aAKdrR4nZfe_woXsD0yihn4avDej8uClXES8 +applies_admin_routes: true +include_invalid_paths: false +excluded_paths: '' +replaced_titles: '' +custom_paths: '' +include_home_segment: true +alternative_title_field: field_breadcrumb_title +home_segment_title: Home +home_segment_keep: false +include_title_segment: true +title_from_page_when_available: true +title_segment_as_link: false +use_menu_title_as_fallback: false +use_page_title_as_menu_title_fallback: false +menu_title_preferred_menu: '' +remove_repeated_segments: true +language_path_prefix_as_segment: false +absolute_paths: false +hide_single_home_item: false +term_hierarchy: false +use_site_title: false +add_structured_data_json_ld: false +capitalizator_mode: ucwords +capitalizator_ignored_words: + - of + - and + - or + - de + - del + - 'y' + - o + - a +capitalizator_forced_words: { } +capitalizator_forced_words_case_sensitivity: true +capitalizator_forced_words_first_letter: false +follow_redirects: true +limit_segment_display: false +segment_display_limit: 0 +truncator_mode: false +truncator_length: 100 +truncator_dots: true +remove_repeated_segments_text_only: 0 +home_segment_validation_skip: 0 diff --git a/config/sync/editor.editor.basic_html.yml b/config/sync/editor.editor.basic_html.yml index 561d0bce9..ebfa3d087 100644 --- a/config/sync/editor.editor.basic_html.yml +++ b/config/sync/editor.editor.basic_html.yml @@ -24,6 +24,7 @@ settings: - outdent - alignment - '|' + - horizontalLine - link - drupalMedia - embeddedContent @@ -52,11 +53,15 @@ settings: - '