дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-04 01:01:17 +02:00
feat(database): choose tree visibility from row counts (#4824)
The count on a Database tree row opens a searchable chooser for what that row shows, without opening Data Source Properties: PostgreSQL source rows choose databases and database rows choose schemas (each database inherits the source rules until overridden, stored as schemasByDatabase); ClickHouse keeps a flat database list. A visibility-only save updates the rules against the latest saved file and keeps the connection and loaded metadata, while wildcard rules and names the server did not return are preserved. Closes #4781 Co-authored-by: principalwater <[email protected]>
Цей коміт міститься в:
1 джерело
aaab9a5dc6
коміт
65b0cc45f0
15 files changed
+1137
-38
No files matched your search
@@ -229,6 +229,52 @@
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-small);
|
||||
}
|
||||
.introspectionTrigger {
|
||||
display: inline-flex;
|
||||
flex: none;
|
||||
}
|
||||
.introspectionCount {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 0 var(--space-1);
|
||||
background: transparent;
|
||||
color: var(--fg-secondary);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-small);
|
||||
font: inherit;
|
||||
font-size: var(--fs-small);
|
||||
line-height: 16px;
|
||||
}
|
||||
.introspectionCount:hover,
|
||||
.introspectionCount:focus-visible,
|
||||
.introspectionCount[aria-expanded="true"] {
|
||||
color: var(--fg-strong);
|
||||
border-color: var(--accent);
|
||||
}
|
||||
.introspectionPopup {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: min(276px, calc(100vw - 24px));
|
||||
padding: var(--space-2);
|
||||
gap: var(--space-2);
|
||||
}
|
||||
.introspectionModes,
|
||||
.introspectionNames {
|
||||
display: grid;
|
||||
align-content: start;
|
||||
gap: var(--space-1);
|
||||
}
|
||||
.introspectionNames {
|
||||
max-height: min(220px, 40vh);
|
||||
overflow: auto;
|
||||
padding: var(--space-1);
|
||||
border-block: 1px solid var(--border);
|
||||
}
|
||||
.introspectionActions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
.textTool {
|
||||
flex: none;
|
||||
height: 20px;
|
||||
|
||||
Reference in new issue
Заблокувати користувача