From ab86ed206fbd15be018d6fc14992f039ce0bc3fc Mon Sep 17 00:00:00 2001 From: Adam Jacob Date: Wed, 24 Jul 2024 11:18:22 -0700 Subject: [PATCH] feat(app): add tutorial link and fix popovers for docs and discord This PR adds a short sentence and a hyperlink to watch the tutorial on the docs site, fixes a bug with having the modal reappear properly, and removes "SI" from the Documentation and Discord pop-overs. Signed-off-by: Adam Jacob --- .../components/layout/navbar/NavbarPanelRight.vue | 4 ++-- app/web/src/pages/WorkspaceSinglePage.vue | 13 +++++++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/app/web/src/components/layout/navbar/NavbarPanelRight.vue b/app/web/src/components/layout/navbar/NavbarPanelRight.vue index daed43ab58..edeb02d54a 100644 --- a/app/web/src/components/layout/navbar/NavbarPanelRight.vue +++ b/app/web/src/components/layout/navbar/NavbarPanelRight.vue @@ -3,14 +3,14 @@ diff --git a/app/web/src/pages/WorkspaceSinglePage.vue b/app/web/src/pages/WorkspaceSinglePage.vue index 4cdcb3aa86..7d590bbae2 100644 --- a/app/web/src/pages/WorkspaceSinglePage.vue +++ b/app/web/src/pages/WorkspaceSinglePage.vue @@ -87,12 +87,21 @@ referrerpolicy="strict-origin-when-cross-origin" allowfullscreen > +
{ if (!firstTimeModalFired.value && showModal && !hasServedModal) { firstTimeModalRef.value?.open(); firstTimeModalFired.value = true; - storage.setItem("SI_FIRST_TIME_MODAL_SHOWN", "1"); } } }); @@ -168,6 +176,7 @@ const firstTimeModalCheckbox = ref(false); const closeFirstTimeModal = () => { if (authStore.user && firstTimeModalCheckbox.value) { authStore.DISMISS_FIRST_TIME_MODAL(authStore.user.pk); + storage.setItem("SI_FIRST_TIME_MODAL_SHOWN", "1"); } firstTimeModalRef.value?.close(); };