You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ui(dialogs): make destructive query and DML preview dialogs adaptive and prevent table name overflow #1642
It does not use WindowLayout.dialogConstraints(context) or WindowLayout.dialogSymmetricInsets(context). When running on compact window widths (e.g. 520px) or with a UI scale of 1.25x+, the dialog overflows screen bounds.
Unconstrained table name in DML Preview:
In lib/features/workspace/dml_preview_dialog.dart, the header row displays Text('${widget.plan.schema}.${widget.plan.tableName}') without Flexible and without overflow: TextOverflow.ellipsis. For long table names, it causes horizontal RenderFlex overflow.
Change
Migrate destructive_query_dialog.dart to use WindowLayout.dialogConstraints(context) and WindowLayout.dialogSymmetricInsets(context).
Wrap the table name in dml_preview_dialog.dart with Flexible(child: Text(..., overflow: TextOverflow.ellipsis)).
Fixed on dev by 82baa5e: fix(ui): destructive-query dialog fits small windows; long table names in DML preview are cut (#1642) (#1698). It reaches main with the next dev to main merge (closed after checking the code and its tests).
Activity
fix(ui): destructive-query dialog body scrolls when the window is sho…
fix(ui): destructive-query dialog fits small windows; long table name…
ZhuchkaTriplesix commentedon Oct 25, 2026
Fixed on dev by 82baa5e: fix(ui): destructive-query dialog fits small windows; long table names in DML preview are cut (#1642) (#1698). It reaches main with the next dev to main merge (closed after checking the code and its tests).