From 6862cf1275aa76b089041268f3f5173efb5d238f Mon Sep 17 00:00:00 2001 From: Lyubov Voloshko Date: Fri, 29 May 2026 12:47:36 +0000 Subject: [PATCH 1/2] feat(connections): hide schema edit button for non-SQL databases The Edit schema button on the connection card now only appears for SQL databases (Postgres, MySQL, Oracle, MSSQL, IBM DB2, ClickHouse), since the Schema Assistant can only generate DDL for those engines. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../own-connections/own-connections.component.html | 2 +- .../own-connections/own-connections.component.ts | 13 ++++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/components/connections-list/own-connections/own-connections.component.html b/frontend/src/app/components/connections-list/own-connections/own-connections.component.html index 0fd862fcf..dcf1407ba 100644 --- a/frontend/src/app/components/connections-list/own-connections/own-connections.component.html +++ b/frontend/src/app/components/connections-list/own-connections/own-connections.component.html @@ -31,7 +31,7 @@

{{ $any(connectionItem).displayTitle {{ supportedDatabasesTitles[connectionItem.connection.type] }} - @if (connectionItem.accessLevel === 'edit') { + @if (connectionItem.accessLevel === 'edit' && supportsSchemaEditing(connectionItem.connection.type)) { Date: Fri, 29 May 2026 12:56:24 +0000 Subject: [PATCH 2/2] fix(schema-viewer): stop wheel propagation on tables sidebar Wheel events over the tables list bubbled to the viewport's zoom handler, so scrolling the list zoomed the diagram instead of scrolling. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../schema-diagram-viewer/schema-diagram-viewer.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/components/edit-database-schema/schema-diagram-viewer/schema-diagram-viewer.component.html b/frontend/src/app/components/edit-database-schema/schema-diagram-viewer/schema-diagram-viewer.component.html index 5ab3edaf4..4c0afd4d7 100644 --- a/frontend/src/app/components/edit-database-schema/schema-diagram-viewer/schema-diagram-viewer.component.html +++ b/frontend/src/app/components/edit-database-schema/schema-diagram-viewer/schema-diagram-viewer.component.html @@ -34,7 +34,7 @@

{{ title }}

@if (sidebarOpen()) { -