From 6e5f1a14e5e557276f6a7765c2e7b662f5dd6318 Mon Sep 17 00:00:00 2001
From: Jim Birch <6591-thejimbirch@users.noreply.drupalcode.org>
Date: Mon, 24 Feb 2025 19:53:05 +0000
Subject: [PATCH 1/3] Adds main menu link to home

---
 .../menu_link_content/main-10-home.yml        | 36 +++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 recipes/drupal_cms_starter/content/menu_link_content/main-10-home.yml

diff --git a/recipes/drupal_cms_starter/content/menu_link_content/main-10-home.yml b/recipes/drupal_cms_starter/content/menu_link_content/main-10-home.yml
new file mode 100644
index 000000000..de5f87c56
--- /dev/null
+++ b/recipes/drupal_cms_starter/content/menu_link_content/main-10-home.yml
@@ -0,0 +1,36 @@
+_meta:
+  version: '1.0'
+  entity_type: menu_link_content
+  uuid: a46bbd2b-96ab-4c8a-b5ce-e19797d8f9b0
+  bundle: menu_link_content
+  default_langcode: en
+default:
+  enabled:
+    -
+      value: true
+  title:
+    -
+      value: 'Home'
+  menu_name:
+    -
+      value: main
+  link:
+    -
+      uri: 'internal:/home'
+      title: ''
+      options: {  }
+  external:
+    -
+      value: false
+  rediscover:
+    -
+      value: true
+  weight:
+    -
+      value: 10
+  expanded:
+    -
+      value: false
+  revision_translation_affected:
+    -
+      value: true
-- 
GitLab


From 19c4a8c8f2bc0cbe9e95be15522ce53e70c93117 Mon Sep 17 00:00:00 2001
From: Jim Birch <6591-thejimbirch@users.noreply.drupalcode.org>
Date: Mon, 24 Feb 2025 20:51:53 +0000
Subject: [PATCH 2/3] Updates to just /

---
 .../content/menu_link_content/main-10-home.yml                  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes/drupal_cms_starter/content/menu_link_content/main-10-home.yml b/recipes/drupal_cms_starter/content/menu_link_content/main-10-home.yml
index de5f87c56..78f97f0b0 100644
--- a/recipes/drupal_cms_starter/content/menu_link_content/main-10-home.yml
+++ b/recipes/drupal_cms_starter/content/menu_link_content/main-10-home.yml
@@ -16,7 +16,7 @@ default:
       value: main
   link:
     -
-      uri: 'internal:/home'
+      uri: 'internal:/'
       title: ''
       options: {  }
   external:
-- 
GitLab


From e3551156f3f93e899480de9370da3d7bfdd74e18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ph=C3=A9na=20Proxima?= <adam@phenaproxima.net>
Date: Tue, 25 Feb 2025 08:47:29 -0500
Subject: [PATCH 3/3] Update performance test

---
 .../tests/src/FunctionalJavaScript/PerformanceTest.php      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes/drupal_cms_starter/tests/src/FunctionalJavaScript/PerformanceTest.php b/recipes/drupal_cms_starter/tests/src/FunctionalJavaScript/PerformanceTest.php
index 3fc1f1b76..80f6700c0 100644
--- a/recipes/drupal_cms_starter/tests/src/FunctionalJavaScript/PerformanceTest.php
+++ b/recipes/drupal_cms_starter/tests/src/FunctionalJavaScript/PerformanceTest.php
@@ -65,8 +65,8 @@ class PerformanceTest extends PerformanceTestBase {
     // If there are small changes in the below limits, e.g. under 5kb, the
     // ceiling can be raised without any investigation. However large increases
     // indicate a large library is newly loaded for anonymous users.
-    $this->assertLessThan(75000, $performance_data->getStylesheetBytes());
-    $this->assertLessThan(16500, $performance_data->getScriptBytes());
+    $this->assertLessThan(84000, $performance_data->getStylesheetBytes());
+    $this->assertLessThan(24000, $performance_data->getScriptBytes());
   }
 
   /**
@@ -125,7 +125,7 @@ class PerformanceTest extends PerformanceTestBase {
     // ceiling can be raised without any investigation. However large increases
     // indicate a large library is newly loaded for authenticated users.
     $this->assertLessThan(350000, $performance_data->getStylesheetBytes());
-    $this->assertLessThan(320000, $performance_data->getScriptBytes());
+    $this->assertLessThan(330000, $performance_data->getScriptBytes());
   }
 
 }
-- 
GitLab