Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: quickstart and quickaction button style (#5771)
Tianzhou (天舟)90ab159c4eed
diff --git a/frontend/src/components/QuickActionPanel.vue b/frontend/src/components/QuickActionPanel.vueindex 09b745ae6d..f641e15911 100644--- a/frontend/src/components/QuickActionPanel.vue+++ b/frontend/src/components/QuickActionPanel.vue@@ -11,7 +11,9 @@<button class="btn-icon-primary p-3" @click.prevent="createInstance"><heroicons-outline:plus-sm class="w-5 h-5" /></button>- <h3 class="mt-1.5 text-sm font-normal text-main tracking-tight">+ <h3+ class="mt-1.5 text-center text-sm font-normal text-main tracking-tight"+ >{{ $t("quick-action.add-instance") }}</h3></div>@@ -39,7 +41,7 @@<heroicons-outline:database class="w-5 h-5" /></button><h3- class="mt-1.5 text-sm text-center font-normal text-main tracking-tight"+ class="mt-1.5 text-center text-sm font-normal text-main tracking-tight">{{ $t("quick-action.new-db") }}</h3>@@ -53,7 +55,7 @@<heroicons-outline:database class="w-5 h-5" /></button><h3- class="mt-1.5 text-sm text-center font-normal text-main tracking-tight"+ class="mt-1.5 text-center text-sm font-normal text-main tracking-tight">{{ $t("quick-action.request-db") }}</h3>@@ -70,7 +72,9 @@><heroicons-outline:pencil-alt class="w-5 h-5" /></button>- <h3 class="mt-1.5 text-center text-sm font-normal text-main">+ <h3+ class="mt-1.5 text-center text-sm font-normal text-main tracking-tight"+ >{{ $t("database.alter-schema") }}</h3></div>@@ -82,7 +86,9 @@<button class="btn-icon-primary p-3" @click.prevent="changeData"><heroicons-outline:pencil class="w-5 h-5" /></button>- <h3 class="mt-1.5 text-center text-sm font-normal text-main">+ <h3+ class="mt-1.5 text-center text-sm font-normal text-main tracking-tight"+ >{{ $t("database.change-data") }}</h3></div>@@ -94,7 +100,9 @@<router-link to="/issue/new" class="btn-icon-primary p-3"><heroicons-outline:hand class="w-5 h-5" /></router-link>- <h3 class="mt-1.5 text-center text-sm font-normal text-main">+ <h3+ class="mt-1.5 text-center text-sm font-normal text-main tracking-tight"+ >{{ $t("quick-action.troubleshoot") }}</h3></div>@@ -106,7 +114,9 @@<button class="btn-icon-primary p-3" @click.prevent="createEnvironment"><heroicons-outline:plus-sm class="w-5 h-5" /></button>- <h3 class="mt-1.5 text-center text-sm font-normal text-main">+ <h3+ class="mt-1.5 text-center text-sm font-normal text-main tracking-tight"+ >{{ $t("environment.create") }}</h3></div>@@ -121,7 +131,9 @@><heroicons-outline:selector class="transform rotate-90 w-5 h-5" /></button>- <h3 class="mt-1.5 text-center text-sm font-normal text-main">+ <h3+ class="mt-1.5 text-center text-sm font-normal text-main tracking-tight"+ >{{ $t("common.reorder") }}</h3></div>@@ -134,7 +146,9 @@<button class="btn-icon-primary p-3" @click.prevent="createProject"><heroicons-outline:template class="w-5 h-5" /></button>- <h3 class="mt-1.5 text-center text-sm font-normal text-main">+ <h3+ class="mt-1.5 text-center text-sm font-normal text-main tracking-tight"+ >{{ $t("quick-action.new-project") }}</h3></div>@@ -146,7 +160,9 @@<button class="btn-icon-primary p-3" @click.prevent="transferDatabase"><heroicons-outline:chevron-double-down class="w-5 h-5" /></button>- <h3 class="mt-1.5 text-center text-sm font-normal text-main">+ <h3+ class="mt-1.5 text-center text-sm font-normal text-main tracking-tight"+ >{{ $t("quick-action.transfer-in-db") }}</h3></div>diff --git a/frontend/src/views/sql-editor/EditorPanel/SQLEditor.vue b/frontend/src/views/sql-editor/EditorPanel/SQLEditor.vueindex 8de8078140..bf4124f225 100644--- a/frontend/src/views/sql-editor/EditorPanel/SQLEditor.vue+++ b/frontend/src/views/sql-editor/EditorPanel/SQLEditor.vue@@ -28,6 +28,7 @@ import {useSheetStore,useInstanceById,useDBSchemaStore,+ useUIStateStore,} from "@/store";import MonacoEditor from "@/components/MonacoEditor/MonacoEditor.vue";import {@@ -56,6 +57,7 @@ const databaseStore = useDatabaseStore();const dbSchemaStore = useDBSchemaStore();const sqlEditorStore = useSQLEditorStore();const sheetStore = useSheetStore();+const uiStateStore = useUIStateStore();const editorRef = ref<InstanceType<typeof MonacoEditor>>();@@ -133,6 +135,10 @@ const handleEditorReady = async () => {await emit("execute", query, {databaseType: selectedInstanceEngine.value,});+ uiStateStore.saveIntroStateByKey({+ key: "data.query",+ newState: true,+ });},});