Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: remove `guide.` prefix for help ui state store key (#2021)
ZhengXcb5fd0d72261
diff --git a/frontend/src/App.vue b/frontend/src/App.vueindex 2045ee1481..b09203575a 100644--- a/frontend/src/App.vue+++ b/frontend/src/App.vue@@ -143,13 +143,9 @@ watch((pair) => pair.routeName === routeName)?.helpName;- if (helpName && !uiStateStore.getIntroStateByKey(`guide.${helpName}`)) {+ if (helpName && !uiStateStore.getIntroStateByKey(`${helpName}`)) {state.helpTimer = window.setTimeout(() => {helpStore.showHelp(helpName, true);- uiStateStore.saveIntroStateByKey({- key: "environment.visit",- newState: true,- });}, 1000);}}diff --git a/frontend/src/components/HelpDrawer.vue b/frontend/src/components/HelpDrawer.vueindex 6526b3f3c3..607accc911 100644--- a/frontend/src/components/HelpDrawer.vue+++ b/frontend/src/components/HelpDrawer.vue@@ -71,9 +71,9 @@ export default defineComponent({const onClose = () => {if (isGuide.value) {- if (!uiStateStore.getIntroStateByKey(`guide.${helpId.value}`)) {+ if (!uiStateStore.getIntroStateByKey(`${helpId.value}`)) {uiStateStore.saveIntroStateByKey({- key: `guide.${helpId.value}`,+ key: `${helpId.value}`,newState: true,});}diff --git a/frontend/src/views/DatabaseDashboard.vue b/frontend/src/views/DatabaseDashboard.vueindex d1bea27a11..dbaebdc2ea 100644--- a/frontend/src/views/DatabaseDashboard.vue+++ b/frontend/src/views/DatabaseDashboard.vue@@ -75,7 +75,7 @@ export default defineComponent({// Focus on the internal search field when mountedsearchField.value.$el.querySelector("#search").focus();- if (!uiStateStore.getIntroStateByKey("guide.help.database")) {+ if (!uiStateStore.getIntroStateByKey("database.visit")) {uiStateStore.saveIntroStateByKey({key: "database.visit",newState: true,diff --git a/frontend/src/views/EnvironmentDashboard.vue b/frontend/src/views/EnvironmentDashboard.vueindex ff15b3afa7..f39a5fb51a 100644--- a/frontend/src/views/EnvironmentDashboard.vue+++ b/frontend/src/views/EnvironmentDashboard.vue@@ -154,7 +154,7 @@ export default defineComponent({onMounted(() => {selectEnvironmentOnHash();- if (!uiStateStore.getIntroStateByKey("guide.help.environment")) {+ if (!uiStateStore.getIntroStateByKey("environment.visit")) {uiStateStore.saveIntroStateByKey({key: "environment.visit",newState: true,diff --git a/frontend/src/views/InstanceDashboard.vue b/frontend/src/views/InstanceDashboard.vueindex 9702748c11..cad14fde3e 100644--- a/frontend/src/views/InstanceDashboard.vue+++ b/frontend/src/views/InstanceDashboard.vue@@ -75,7 +75,7 @@ export default defineComponent({// Focus on the internal search field when mountedsearchField.value.$el.querySelector("#search").focus();- if (!uiStateStore.getIntroStateByKey("guide.help.instance")) {+ if (!uiStateStore.getIntroStateByKey("instance.visit")) {uiStateStore.saveIntroStateByKey({key: "instance.visit",newState: true,diff --git a/frontend/src/views/ProjectDashboard.vue b/frontend/src/views/ProjectDashboard.vueindex cb72f85c5a..73be34028b 100644--- a/frontend/src/views/ProjectDashboard.vue+++ b/frontend/src/views/ProjectDashboard.vue@@ -57,7 +57,7 @@ export default defineComponent({// Focus on the internal search field when mountedsearchField.value.$el.querySelector("#search").focus();- if (!uiStateStore.getIntroStateByKey("guide.help.project")) {+ if (!uiStateStore.getIntroStateByKey("project.visit")) {uiStateStore.saveIntroStateByKey({key: "project.visit",newState: true,