refactor: convert table structure editor from modal dialog to tab

Replace the dialog-based TableStructureEditorDialog with a tab-based
TableStructureEditor, making it consistent with query editors, data
viewers, and object browsers. Users can now switch between editing
table structure and running queries freely.
This commit is contained in:
t8y2 committed 2026-05-24 21:17:35 +08:00
1 parent 72d5435535
commit 801434e423
16 files changed
+998 -1031

No files matched your search

@@ -511,12 +511,7 @@ function openViewData(row: ObjectBrowserRow) {
function openStructureEditor(row: ObjectBrowserRow) {
if (row.type !== "TABLE") return;
connectionStore.structureEditorSource = {
connectionId: props.connection.id,
database: props.database,
schema: row.schema || selectedSchema.value,
tableName: row.name,
};
queryStore.openTableStructure(props.connection.id, props.database, row.schema || selectedSchema.value, row.name);
}
function openDiagram(row: ObjectBrowserRow) {