From 72a22f1469a81b8fbb75fa6f5c95502cf514c0ed Mon Sep 17 00:00:00 2001 From: Michael Stingl Date: Tue, 30 Dec 2025 12:51:39 +0100 Subject: [PATCH 1/2] fix(calendar): use type="a" for external documentation link type="router-link" with external href causes Vue Router error. External links should use type="a". Fixes https://github.com/opencloud-eu/web/issues/1800 --- packages/web-runtime/src/pages/account/accountCalendar.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/web-runtime/src/pages/account/accountCalendar.vue b/packages/web-runtime/src/pages/account/accountCalendar.vue index 88b2487c7f..379eceac57 100644 --- a/packages/web-runtime/src/pages/account/accountCalendar.vue +++ b/packages/web-runtime/src/pages/account/accountCalendar.vue @@ -18,7 +18,8 @@ no-hover class="ml-1" appearance="raw" - type="router-link" + type="a" + target="_blank" href="https://docs.opencloud.eu/docs/admin/configuration/radicale-integration/" > From a4847cb5c585921c199a48b5a0b17cf113783007 Mon Sep 17 00:00:00 2001 From: Michael Stingl Date: Tue, 30 Dec 2025 12:53:07 +0100 Subject: [PATCH 2/2] docs(design-system): add link examples for OcButton type prop --- .../docs/components/OcButton/OcButton.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/packages/design-system/docs/components/OcButton/OcButton.md b/packages/design-system/docs/components/OcButton/OcButton.md index dda1d8766e..ef6d210d6f 100644 --- a/packages/design-system/docs/components/OcButton/OcButton.md +++ b/packages/design-system/docs/components/OcButton/OcButton.md @@ -88,4 +88,20 @@ A click handler can be registered via the `@click` property. <<< @/components/OcButton/handler.vue ::: +### Links + +Use `type="a"` for external links, `type="router-link"` for internal navigation. + +::: livecode + +```html + +Documentation + + +Projects +``` + +::: + ::: component-api