From 1380cfe04e6735ed83dad375c7e712009e924d16 Mon Sep 17 00:00:00 2001 From: t8y2 <1156263951@qq.com> Date: Tue, 12 May 2026 17:38:13 +0800 Subject: [PATCH] feat(toolbar): add Compare Databases and Compare Data buttons Expose Schema Diff and Data Compare dialogs from the top toolbar so they can be opened without pre-selecting a connection in the sidebar. Connections are chosen inside the dialog. --- src/App.vue | 2 ++ src/components/layout/AppToolbar.vue | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/src/App.vue b/src/App.vue index bf8558af82..320e3da272 100644 --- a/src/App.vue +++ b/src/App.vue @@ -552,6 +552,8 @@ onUnmounted(() => { @check-updates="checkUpdates()" @open-transfer="dialogs.showTransferDialog.value = true" @open-sql-file="dialogs.showSqlFileDialog.value = true" + @open-schema-diff="dialogs.showSchemaDiffDialog.value = true" + @open-data-compare="dialogs.showDataCompareDialog.value = true" />