From e7561703f3282faf2b9df7dd7abcc785c6d01cae Mon Sep 17 00:00:00 2001 From: Christian Lopez Espinola Date: Sat, 27 Apr 2024 10:18:29 +0200 Subject: [PATCH 1/2] Integration with navigation. --- composer.json | 4 +++- config/sync/navigation.block_layout.yml | 20 ++++++++++++++++++-- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 7b8f581..edbc33a 100644 --- a/composer.json +++ b/composer.json @@ -83,9 +83,11 @@ "patches": { "drupal/core": { "Provide a block for running cron from a dashboard": "https://www.drupal.org/files/issues/2022-12-17/3327827-block-cron.patch", - "Provide a block for clearing cache from a dashboard": "https://www.drupal.org/files/issues/2023-06-28/3351706-27-block-clear-cache.patch" + "Provide a block for clearing cache from a dashboard": "https://www.drupal.org/files/issues/2023-06-28/3351706-27-block-clear-cache.patch", + "Issue #3395527: Integrate with navigation": "https://www.drupal.org/files/issues/2024-04-27/navigation-dashboard-hack.patch" }, "drupal/dashboard": { + "Issue #3395527: Integrate with navigation": "https://git.drupalcode.org/project/dashboard/-/merge_requests/10.patch" } } } diff --git a/config/sync/navigation.block_layout.yml b/config/sync/navigation.block_layout.yml index d6e187d..fa14611 100644 --- a/config/sync/navigation.block_layout.yml +++ b/config/sync/navigation.block_layout.yml @@ -20,6 +20,19 @@ sections: view_mode: default weight: 0 additional: { } + 2694e8e4-2af1-4be6-a11c-84b2dee3cfdf: + uuid: 2694e8e4-2af1-4be6-a11c-84b2dee3cfdf + region: content + configuration: + id: navigation_dashboard + label: Dashboard + label_display: '0' + provider: dashboard + status: true + info: '' + view_mode: default + weight: 1 + additional: { } 3ff7be01-c8b0-4444-88f3-2364d7a8054e: uuid: 3ff7be01-c8b0-4444-88f3-2364d7a8054e region: content @@ -30,7 +43,7 @@ sections: provider: navigation level: 1 depth: 2 - weight: 1 + weight: 2 additional: { } 3f2f743f-856f-404a-9c28-57ee83af4691: uuid: 3f2f743f-856f-404a-9c28-57ee83af4691 @@ -42,7 +55,7 @@ sections: provider: navigation level: 2 depth: 2 - weight: 2 + weight: 3 additional: { } 283da777-e051-4571-8089-47633a9ce706: uuid: 283da777-e051-4571-8089-47633a9ce706 @@ -58,3 +71,6 @@ sections: weight: 0 additional: { } third_party_settings: { } +dependencies: + module: + - dashboard From 554c83e50b87519a0c22bf37fe10b2f196d7f1ac Mon Sep 17 00:00:00 2001 From: Christian Lopez Espinola Date: Sat, 27 Apr 2024 10:20:28 +0200 Subject: [PATCH 2/2] php8.3 is required. --- .tugboat/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tugboat/config.yml b/.tugboat/config.yml index a349ff0..558b2f8 100644 --- a/.tugboat/config.yml +++ b/.tugboat/config.yml @@ -1,6 +1,6 @@ services: php: - image: tugboatqa/php:8.1-apache + image: tugboatqa/php:8.3-apache default: true # Wait until the mysql service is done building depends: mysql