From 95483ef9a0b7c268311f49590bd4e3e5e0a2f09e Mon Sep 17 00:00:00 2001 From: Ruben van der Linde Date: Wed, 6 May 2026 10:18:53 +0200 Subject: [PATCH] feat(in-app-docs): point in-app Documentation links at mydash.conduction.nl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Companion to PR #132 which moved the Docusaurus deploy domain. The in-app `DOCS_URL` constant in `SidebarFooter.vue` and the `CnSettingsSection` `doc-url` in `AdminSettings.vue` still pointed at `https://mydash.app` — those are the targets of the sidebar footer's Documentation icon and the admin-page documentation link respectively, so users clicking either would have landed on the old domain. Updated both to `https://mydash.conduction.nl`. Test fixture in `SidebarFooter.spec.js` (which exact-asserts the URL) and the prose comments referencing the URL updated in lockstep so the spec still passes and the comments don't drift. No behaviour change beyond the link target. 857 vitest pass. --- src/components/Workspace/SidebarFooter.vue | 4 ++-- src/components/Workspace/__tests__/SidebarFooter.spec.js | 4 ++-- src/components/admin/AdminSettings.vue | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/Workspace/SidebarFooter.vue b/src/components/Workspace/SidebarFooter.vue index 960982c4..b60b55fe 100644 --- a/src/components/Workspace/SidebarFooter.vue +++ b/src/components/Workspace/SidebarFooter.vue @@ -16,7 +16,7 @@ (security gate — never omit `noopener noreferrer`). 2. A Documentation link (icon + label) targeting the same URL the gear-menu Documentation entry used before runtime-shell-trim - removed it (https://mydash.app). + removed it (https://mydash.conduction.nl). The footer itself is a stateless block; the parent (`DashboardSwitcherSidebar`) owns the `position: sticky; bottom: 0` @@ -82,7 +82,7 @@ import BookOpenVariantOutline from 'vue-material-design-icons/BookOpenVariantOut * and the new sidebar footer link. Kept in module scope so the test * suite can assert exact value parity with the previous gear-menu link. */ -export const DOCS_URL = 'https://mydash.app' +export const DOCS_URL = 'https://mydash.conduction.nl' export default { name: 'SidebarFooter', diff --git a/src/components/Workspace/__tests__/SidebarFooter.spec.js b/src/components/Workspace/__tests__/SidebarFooter.spec.js index 6aaa8d54..d8d9f86c 100644 --- a/src/components/Workspace/__tests__/SidebarFooter.spec.js +++ b/src/components/Workspace/__tests__/SidebarFooter.spec.js @@ -8,7 +8,7 @@ * - Sendent + Conduction logos are wrapped in `` (security gate; never omit the rel) * - Documentation link points at the same URL the gear-menu Documentation - * entry used before runtime-shell-trim (https://mydash.app) + * entry used before runtime-shell-trim (https://mydash.conduction.nl) */ import { describe, it, expect, beforeEach, vi } from 'vitest' @@ -83,7 +83,7 @@ describe('SidebarFooter', () => { const link = wrapper.find('a.dashboard-switcher-sidebar-footer__doc-link') expect(link.exists()).toBe(true) expect(link.attributes('href')).toBe(DOCS_URL) - expect(link.attributes('href')).toBe('https://mydash.app') + expect(link.attributes('href')).toBe('https://mydash.conduction.nl') expect(link.attributes('target')).toBe('_blank') expect(link.attributes('rel')).toBe('noopener noreferrer') }) diff --git a/src/components/admin/AdminSettings.vue b/src/components/admin/AdminSettings.vue index b990f516..29ec0dfe 100644 --- a/src/components/admin/AdminSettings.vue +++ b/src/components/admin/AdminSettings.vue @@ -8,7 +8,7 @@ + doc-url="https://mydash.conduction.nl">