From eda657971ae013611a7a9ee90e19caccddd9e39e Mon Sep 17 00:00:00 2001 From: Soner Sayakci Date: Sun, 15 Mar 2026 10:32:02 +0100 Subject: [PATCH 1/2] feat: update page titles from Shopware Monitoring to Shopmon --- frontend/index.html | 6 +++--- frontend/src/composables/useShopDetail.ts | 5 ++++- frontend/src/router/index.ts | 4 ++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index d9657b10..6ccbc1a9 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -4,7 +4,7 @@ - Shopware Monitoring + Shopmon - + - + { } }); -const DEFAULT_TITLE = "Shopware Monitoring"; +const DEFAULT_TITLE = "Shopmon"; router.afterEach(async (to) => { await nextTick(); const title = to.meta.title; if (typeof title === "string") { - document.title = title; + document.title = `${title} | ${DEFAULT_TITLE}`; return; } From 324b3661685ec915bfbff6e6c5a4bb4d409df38f Mon Sep 17 00:00:00 2001 From: Soner Sayakci Date: Sun, 15 Mar 2026 10:33:43 +0100 Subject: [PATCH 2/2] feat: update document title format to include shop name --- frontend/src/composables/useShopDetail.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/src/composables/useShopDetail.ts b/frontend/src/composables/useShopDetail.ts index 4ffc465d..396f9e9b 100644 --- a/frontend/src/composables/useShopDetail.ts +++ b/frontend/src/composables/useShopDetail.ts @@ -47,9 +47,10 @@ export function useShopDetail() { if (shop.value?.name) { const pageTitle = route.meta.title; - document.title = typeof pageTitle === "string" - ? `${pageTitle} - ${shop.value.name} | Shopmon` - : `${shop.value.name} | Shopmon`; + document.title = + typeof pageTitle === "string" + ? `${pageTitle} - ${shop.value.name} | Shopmon` + : `${shop.value.name} | Shopmon`; } } catch (e) { error(e instanceof Error ? e.message : String(e));