feat(database): group and filter the Modify Table list (#6248)

The Modify Table / Create Table list was one flat list of columns. It now
groups Columns, Keys (the primary key as edited), Foreign Keys, Indexes and
Triggers, each collapsible with its count, and a filter on its toolbar
narrows the rows by name or type. The statements the dialog runs are
unchanged.

Fixes #6128
Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-11-27 03:54:09 +08:00
1 джерело 8968974f42
коміт fd4efff6e3
8 files changed
+257 -21

No files matched your search

+17
Переглянути файл
@@ -954,6 +954,23 @@
padding: 2px 4px;
border-bottom: 1px solid var(--border);
}
.modifyFilter {
flex: 1;
min-width: 0;
}
.modifyGroup {
display: flex;
align-items: center;
gap: var(--space-1);
height: 22px;
padding: 0 6px;
color: var(--fg-muted);
cursor: default;
white-space: nowrap;
}
.modifyGroup:hover {
color: var(--fg);
}
.modifyList {
flex: 1;
overflow: auto;