From beaad4eb73b16f26a210551e5db3af1dca5c0f74 Mon Sep 17 00:00:00 2001 From: tt-gsa <139235281+tt-gsa@users.noreply.github.com> Date: Wed, 27 Nov 2024 11:37:12 -0500 Subject: [PATCH] Testing/vote 2963 testing (#1137) * Vote-3106: Bug fixes for RTL styles (#1099) * VOTE-3081 Remove underline, text-align from allowed tags (#1112) * VOTE-3108 resolve regression in nvrf template (#1121) Co-authored-by: tt-gsa <139235281+tt-gsa@users.noreply.github.com> * VOTE-3059 add new field to nvrf report listing and export (#1122) * Vote-3155: Updating link validation tests (#1127) * Vote-3142: Remove when:always flag (#1134) * VOTE-2963: update conditions for running downsync workflows --------- Co-authored-by: Christian Medders - Bixal <88721460+clmedders@users.noreply.github.com> Co-authored-by: SamiraMSadat <108487505+SamiraMSadat@users.noreply.github.com> Co-authored-by: Ray Estrada --- .circleci/config.yml | 10 +- config/sync/editor.editor.basic_html.yml | 2 - config/sync/filter.format.basic_html.yml | 2 +- config/sync/views.view.nvrf_state_reports.yml | 209 ++++++++++++++++++ .../external-links-validator.cy.js | 2 + .../internal-links-validator.cy.js | 16 +- .../src/sass/uswds-overrides/_index.scss | 2 + .../src/sass/uswds-overrides/usa-alert.scss | 29 +++ .../uswds-overrides/usa-link-external.scss | 12 + .../src/sass/uswds-overrides/usa-nav.scss | 24 +- .../sass/uswds-overrides/usa-site-alert.scss | 30 ++- .../block-content--partnership.html.twig | 2 + .../layout/page--node--vote-nvrf.html.twig | 6 +- 13 files changed, 323 insertions(+), 23 deletions(-) create mode 100644 web/themes/custom/votegov/src/sass/uswds-overrides/usa-alert.scss create mode 100644 web/themes/custom/votegov/src/sass/uswds-overrides/usa-link-external.scss diff --git a/.circleci/config.yml b/.circleci/config.yml index 93a8910c5..462140af2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -411,18 +411,20 @@ link-validation-workflow: downsync-backup: when: and: - - equal: [api, << pipeline.trigger_source >> ] - - or: - - equal: [ prod, << pipeline.parameters.backup >> ] + - equal: [ prod, << pipeline.parameters.backup >> ] + - equal: [ prod, << pipeline.git.branch >> ] jobs: - downsync-backup downsync-restore: when: and: - - equal: [api, << pipeline.trigger_source >> ] - or: - equal: [ dev, << pipeline.parameters.restore >> ] - equal: [ stage, << pipeline.parameters.restore >> ] - equal: [ test, << pipeline.parameters.restore >> ] + - not: + - or: + - equal: [ prod, << pipeline.parameters.restore >> ] + - equal: [ prod, << pipeline.git.branch >> ] jobs: - downsync-restore diff --git a/config/sync/editor.editor.basic_html.yml b/config/sync/editor.editor.basic_html.yml index d1f8afdf8..c6918bb91 100644 --- a/config/sync/editor.editor.basic_html.yml +++ b/config/sync/editor.editor.basic_html.yml @@ -13,7 +13,6 @@ settings: items: - bold - italic - - underline - heading - style - removeFormat @@ -22,7 +21,6 @@ settings: - numberedList - indent - outdent - - alignment - '|' - horizontalLine - link diff --git a/config/sync/filter.format.basic_html.yml b/config/sync/filter.format.basic_html.yml index 04371b104..2a60402c8 100644 --- a/config/sync/filter.format.basic_html.yml +++ b/config/sync/filter.format.basic_html.yml @@ -23,7 +23,7 @@ filters: status: true weight: -10 settings: - allowed_html: '

+{% endif %} {# EAC Partnership component #}
diff --git a/web/themes/custom/votegov/templates/layout/page--node--vote-nvrf.html.twig b/web/themes/custom/votegov/templates/layout/page--node--vote-nvrf.html.twig index 7ba0c8e68..797490390 100644 --- a/web/themes/custom/votegov/templates/layout/page--node--vote-nvrf.html.twig +++ b/web/themes/custom/votegov/templates/layout/page--node--vote-nvrf.html.twig @@ -39,6 +39,8 @@ {% endblock %}