fix: resolve Vue warnings, silent PubSub auto-connect, remove 30 meaningless tests

This commit is contained in:
t8y2 committed 2026-06-15 02:27:07 +08:00
1 parent ef426a8218
commit c9b3292a2e
33 files changed
+5 -591

No files matched your search

@@ -12,6 +12,7 @@ import { Switch } from "@/components/ui/switch";
import LightTooltip from "@/components/ui/LightTooltip.vue";
import QueryEditor from "@/components/editor/QueryEditor.vue";
import ColumnInfoPanel from "@/components/editor/ColumnInfoPanel.vue";
import QueryLoadingState from "@/components/common/QueryLoadingState.vue";
import type { ColumnInfo } from "@/components/editor/ColumnInfoPanel.vue";
let dataGridComponentPromise: Promise<typeof import("@/components/grid/DataGrid.vue")> | undefined;
function loadDataGridComponent() {
@@ -174,9 +174,6 @@ function clearMessages() {
messages.value = [];
}
// Auto-connect with a short delay for server readiness
setTimeout(connect, 500);
onBeforeUnmount(() => {
disconnect();
});
@@ -19,6 +19,10 @@ const props = defineProps<{
items: ContextMenuItem[];
}>();
defineEmits<{
close: [];
}>();
// ---- module-level singleton state ----
const openMenus = new Set<() => void>();
let globalSetup = false;