Skip to content

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

use solid terminal icon for SQL Editor (#3452)

Tianzhou (天舟)e9e80e1359a4
diff --git a/frontend/src/components/DatabaseTable.vue b/frontend/src/components/DatabaseTable.vue
index 78f7c43b74..8930b294ab 100644
--- a/frontend/src/components/DatabaseTable.vue
+++ b/frontend/src/components/DatabaseTable.vue
@@ -39,6 +39,16 @@
</BBTableCell>
<BBTableCell :left-padding="showSelectionColumn ? 2 : 4" class="w-[25%]">
<div class="flex items-center space-x-2">
+ <button
+ v-if="showSQLEditorLink"
+ class="btn-icon tooltip-wrapper"
+ @click.stop="gotoSQLEditor(database)"
+ >
+ <heroicons-solid:terminal class="w-5 h-5" />
+ <div class="tooltip whitespace-nowrap">
+ {{ $t("sql-editor.self") }}
+ </div>
+ </button>
<span>{{ database.name }}</span>
<BBBadge
v-if="isPITRDatabase(database)"
@@ -65,17 +75,6 @@
}}
</div>
</NTooltip>
-
- <button
- v-if="showSQLEditorLink"
- class="btn-icon tooltip-wrapper"
- @click.stop="gotoSQLEditor(database)"
- >
- <heroicons-outline:terminal class="w-4 h-4" />
- <div class="tooltip whitespace-nowrap">
- {{ $t("sql-editor.self") }}
- </div>
- </button>
</div>
</BBTableCell>
<BBTableCell class="w-[10%]">
diff --git a/frontend/src/views/DashboardSidebar.vue b/frontend/src/views/DashboardSidebar.vue
index c83b808f1d..56e27dab70 100644
--- a/frontend/src/views/DashboardSidebar.vue
+++ b/frontend/src/views/DashboardSidebar.vue
@@ -31,7 +31,7 @@
target="_blank"
class="outline-item group flex items-center px-2 py-2"
>
- <heroicons-outline:terminal class="w-5 h-5 mr-2" />
+ <heroicons-solid:terminal class="w-5 h-5 mr-2" />
{{ $t("sql-editor.self") }}
</a>
<router-link
diff --git a/frontend/src/views/DatabaseDetail.vue b/frontend/src/views/DatabaseDetail.vue
index 9d45dbd606..1d94d36af2 100644
--- a/frontend/src/views/DatabaseDetail.vue
+++ b/frontend/src/views/DatabaseDetail.vue
@@ -100,7 +100,7 @@
@click.prevent="gotoSQLEditor"
>
<span class="mr-1">{{ $t("sql-editor.self") }}</span>
- <heroicons-outline:terminal class="w-4 h-4" />
+ <heroicons-solid:terminal class="w-5 h-5" />
</dd>
<DatabaseLabelProps
:label-list="database.labels"
diff --git a/frontend/src/views/TableDetail.vue b/frontend/src/views/TableDetail.vue
index 6458a8e180..ab9356d524 100644
--- a/frontend/src/views/TableDetail.vue
+++ b/frontend/src/views/TableDetail.vue
@@ -79,7 +79,7 @@
{{ $t("sql-editor.self") }}
</span>
<button class="ml-1 btn-icon" @click.prevent="gotoSQLEditor">
- <heroicons-outline:terminal class="w-4 h-4" />
+ <heroicons-solid:terminal class="w-5 h-5" />
</button>
</dd>
</dl>