From 8505aa48c33ea497052ae4f4a211cdd4d99bbc8b Mon Sep 17 00:00:00 2001 From: Pranav Date: Wed, 9 Oct 2024 21:04:04 -0700 Subject: [PATCH] fix: Use native a tag for https URL in the sidebar (#10254) This PR updates the sidebar component to use a native tag for the Help Center URL component. It also updates the build pipeline to use the esbuild options minifyIdentifiers and keepNames set to true. --- .../layout/sidebarComponents/Primary.vue | 16 ++++++++++------ vite.config.ts | 6 ++++++ 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/app/javascript/dashboard/components/layout/sidebarComponents/Primary.vue b/app/javascript/dashboard/components/layout/sidebarComponents/Primary.vue index 4e7fd32ae..1ddde598e 100644 --- a/app/javascript/dashboard/components/layout/sidebarComponents/Primary.vue +++ b/app/javascript/dashboard/components/layout/sidebarComponents/Primary.vue @@ -90,13 +90,17 @@ export default { />
- + v-tooltip.right="$t(`SIDEBAR.DOCS`)" + :href="helpDocsURL" + class="text-slate-700 dark:text-slate-100 w-10 h-10 my-2 flex items-center justify-center rounded-lg hover:bg-slate-25 dark:hover:bg-slate-700 dark:hover:text-slate-100 hover:text-slate-600 relative" + rel="noopener noreferrer nofollow" + target="_blank" + > + + {{ $t(`SIDEBAR.DOCS`) }} +