Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: remove the magic sql editor onboarding (#11003)

Danny Xu9c663a381710
diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts
index ef7cd7af9f..648cf21e89 100644
--- a/frontend/src/router/index.ts
+++ b/frontend/src/router/index.ts
@@ -6,7 +6,6 @@ import {
useAuthStore,
useActuatorV1Store,
useRouterStore,
- useOnboardingStateStore,
useTabStore,
useCurrentUserV1,
usePageMode,
@@ -38,10 +37,7 @@ import {
WORKSPACE_ROUTE_USER_PROFILE,
} from "./dashboard/workspaceRoutes";
import { SETTING_ROUTE } from "./dashboard/workspaceSetting";
-import sqlEditorRoutes, {
- SQL_EDITOR_HOME_MODULE,
- SQL_EDITOR_SHARE_MODULE,
-} from "./sqlEditor";
+import sqlEditorRoutes, { SQL_EDITOR_HOME_MODULE } from "./sqlEditor";
export const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
@@ -176,22 +172,6 @@ router.beforeEach((to, from, next) => {
}
}
- if (to.name === SQL_EDITOR_HOME_MODULE) {
- const onboardingStateStore = useOnboardingStateStore();
- if (onboardingStateStore.getStateByKey("sql-editor")) {
- // Open the "Sample Sheet" when the first time onboarding SQL Editor
- onboardingStateStore.consume("sql-editor");
- next({
- name: SQL_EDITOR_SHARE_MODULE,
- params: {
- sheetSlug: "project-sample-101",
- },
- replace: true,
- });
- return;
- }
- }
-
if (
to.name === "error.403" ||
to.name === "error.404" ||