From 30a836175a9c454f65553d0c0d1a1c848d381b13 Mon Sep 17 00:00:00 2001 From: Arthur Baghdasaryan <62405127+arthurbaghdas@users.noreply.github.com> Date: Tue, 8 Oct 2024 23:02:13 +0400 Subject: [PATCH 1/3] DP-35223: Unable to Embed YouTube Video (#2704) * DP-35223: Unable to Embed YouTube Video * DP-35223: Unable to Embed YouTube Video --- changelogs/DP-35223.yml | 41 +++++++++++++++++++++++++++++++++++++++++ composer.json | 3 +++ composer.lock | 6 +++--- 3 files changed, 47 insertions(+), 3 deletions(-) create mode 100644 changelogs/DP-35223.yml diff --git a/changelogs/DP-35223.yml b/changelogs/DP-35223.yml new file mode 100644 index 0000000000..a2fa104210 --- /dev/null +++ b/changelogs/DP-35223.yml @@ -0,0 +1,41 @@ +# +# Write your changelog entry here. Every pull request must have a changelog yml file. +# +# Change types: +# ############################################################################# +# You can use one of the following types: +# - Added: For new features. +# - Changed: For changes to existing functionality. +# - Deprecated: For soon-to-be removed features. +# - Removed: For removed features. +# - Fixed: For any bug fixes. +# - Security: In case of vulnerabilities. +# +# Format +# ############################################################################# +# The format is crucial. Please follow the examples below. For reference, the requirements are: +# - All 3 parts are required and you must include "Type", "description" and "issue". +# - "Type" must be left aligned and followed by a colon. +# - "description" must be indented with 2 spaces followed by a colon +# - "issue" must be indented with 4 spaces followed by a colon. +# - "issue" is for the Jira ticket number only e.g. DP-1234 +# - No extra spaces, indents, or blank lines are allowed. +# +# Example: +# ############################################################################# +# Fixed: +# - description: Fixes scrolling on edit pages in Safari. +# issue: DP-13314 +# +# You may add more than 1 description & issue for each type using the following format: +# Changed: +# - description: Automating the release branch. +# issue: DP-10166 +# - description: Second change item that needs a description. +# issue: DP-19875 +# - description: Third change item that needs a description along with an issue. +# issue: DP-19843 +# +Fixed: + - description: Unable to Embed YouTube Video. + issue: DP-35223 diff --git a/composer.json b/composer.json index 08bb3964ff..9882820059 100644 --- a/composer.json +++ b/composer.json @@ -463,6 +463,9 @@ "drupal/csv_field": { "Review accessiblility issue with CSV table feature - DP-32499": "patches/DP-32499_csv_field_a11y_fix.patch" }, + "drupal/video_embed_field": { + "Support youtube shorts (https://www.drupal.org/project/video_embed_field/issues/3279789)": "https://git.drupalcode.org/project/video_embed_field/-/merge_requests/4.diff" + }, "drupal/views_bulk_operations": { "Remove the select/deselect all results within VBO": "patches/DP-11179-hide-select-all-results-from-views.patch" }, diff --git a/composer.lock b/composer.lock index 4da3d624a6..7ced966b87 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": "27d3ab1002ec6e5996446548fcccfea7", + "content-hash": "27fbe702b09912f2db446121c26a2524", "packages": [ { "name": "akamai-open/edgegrid-auth", @@ -24307,9 +24307,9 @@ "drupal/openid_connect": 20, "drupal/openid_connect_windows_aad": 20, "drupal/views_taxonomy_term_name_into_id": 15, + "drupaltest/queue-runner-trait": 20, "furf/jquery-ui-touch-punch": 20, "massgov/mayflower-artifacts": 20, - "drupaltest/queue-runner-trait": 20, "previousnext/phpunit-finder": 20, "weitzman/drupal-test-traits": 20 }, @@ -24318,7 +24318,7 @@ "platform": { "ext-json": "*" }, - "platform-dev": [], + "platform-dev": {}, "platform-overrides": { "php": "8.3" }, From 4821a73221070065edc186044fedc8f347a2735d Mon Sep 17 00:00:00 2001 From: Arthur Baghdasaryan <62405127+arthurbaghdas@users.noreply.github.com> Date: Thu, 10 Oct 2024 12:33:56 +0400 Subject: [PATCH 2/3] =?UTF-8?q?DP-35080:=20Usability=20improvements=20to?= =?UTF-8?q?=20rich=20text=20tables=20related=20to=20horiz=E2=80=A6=20(#269?= =?UTF-8?q?4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * DP-35080: Usability improvements to rich text tables related to horizontal scrolling * mayflowee * mayflowee * Mayflower * Mayflower * Style change * Fix * Mayflower --- changelogs/DP-35080.yml | 41 +++++++++++++++++++ composer.lock | 8 ++-- .../src/Plugin/Filter/FilterRichtextTable.php | 2 +- 3 files changed, 46 insertions(+), 5 deletions(-) create mode 100644 changelogs/DP-35080.yml diff --git a/changelogs/DP-35080.yml b/changelogs/DP-35080.yml new file mode 100644 index 0000000000..3106d87cd4 --- /dev/null +++ b/changelogs/DP-35080.yml @@ -0,0 +1,41 @@ +# +# Write your changelog entry here. Every pull request must have a changelog yml file. +# +# Change types: +# ############################################################################# +# You can use one of the following types: +# - Added: For new features. +# - Changed: For changes to existing functionality. +# - Deprecated: For soon-to-be removed features. +# - Removed: For removed features. +# - Fixed: For any bug fixes. +# - Security: In case of vulnerabilities. +# +# Format +# ############################################################################# +# The format is crucial. Please follow the examples below. For reference, the requirements are: +# - All 3 parts are required and you must include "Type", "description" and "issue". +# - "Type" must be left aligned and followed by a colon. +# - "description" must be indented with 2 spaces followed by a colon +# - "issue" must be indented with 4 spaces followed by a colon. +# - "issue" is for the Jira ticket number only e.g. DP-1234 +# - No extra spaces, indents, or blank lines are allowed. +# +# Example: +# ############################################################################# +# Fixed: +# - description: Fixes scrolling on edit pages in Safari. +# issue: DP-13314 +# +# You may add more than 1 description & issue for each type using the following format: +# Changed: +# - description: Automating the release branch. +# issue: DP-10166 +# - description: Second change item that needs a description. +# issue: DP-19875 +# - description: Third change item that needs a description along with an issue. +# issue: DP-19843 +# +Changed: + - description: Usability improvements to rich text tables related to horizontal scrolling. + issue: DP-35080 diff --git a/composer.lock b/composer.lock index 7ced966b87..6dbbcfb87d 100644 --- a/composer.lock +++ b/composer.lock @@ -12621,12 +12621,12 @@ "source": { "type": "git", "url": "https://github.com/massgov/mayflower-artifacts.git", - "reference": "d2438e1aed7ba5eee14ba290e5a0d77e093d3a2f" + "reference": "849b0e978d338a8658890fa882e8224d3b41539a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/massgov/mayflower-artifacts/zipball/d2438e1aed7ba5eee14ba290e5a0d77e093d3a2f", - "reference": "d2438e1aed7ba5eee14ba290e5a0d77e093d3a2f", + "url": "https://api.github.com/repos/massgov/mayflower-artifacts/zipball/849b0e978d338a8658890fa882e8224d3b41539a", + "reference": "849b0e978d338a8658890fa882e8224d3b41539a", "shasum": "" }, "require": { @@ -12648,7 +12648,7 @@ "issues": "https://github.com/massgov/mayflower-artifacts/issues", "source": "https://github.com/massgov/mayflower-artifacts/tree/develop" }, - "time": "2024-09-25T16:46:34+00:00" + "time": "2024-10-10T08:19:17+00:00" }, { "name": "masterminds/html5", diff --git a/docroot/modules/custom/mass_fields/src/Plugin/Filter/FilterRichtextTable.php b/docroot/modules/custom/mass_fields/src/Plugin/Filter/FilterRichtextTable.php index cff09c3a02..4f70c669f2 100644 --- a/docroot/modules/custom/mass_fields/src/Plugin/Filter/FilterRichtextTable.php +++ b/docroot/modules/custom/mass_fields/src/Plugin/Filter/FilterRichtextTable.php @@ -25,7 +25,7 @@ public function process($text, $langcode) { $tableId = uniqid(); $scrollIcon = ''; - $tableWrapperTop = '