DB & Dev Tools · Databases: narrow boxes scroll or wrap; the form's rules tested

QueryPlanViewer's step column takes the label width and the table
scrolls sideways past its least width; TableStructureEditor's rows
stretch to a least width that scrolls sideways; RedisKeyBrowser's
columns wrap below each other inside 280px. The form's rules are pure,
parse_port and ready, with unit tests; gpui tests cover saving, a new
connection refilling the form, another engine bringing its port, and a
press on a row's button leaving the row alone.
This commit is contained in:
ZacharyZhang-NY committed 2026-09-27 09:05:35 -04:00
1 parent c137ddb0f7
commit 0c8e0d47ba
8 files changed
+214 -46

No files matched your search

+1 -2
View File
@@ -270,8 +270,7 @@ pub fn structure(window: &mut Window, cx: &mut App) -> impl IntoElement + use<>
.flex_wrap()
.gap_6()
.child(
div().w(px(620.)).child(
TableStructureEditor::new("devtools-structure", fields)
div().w(px(660.)).child(TableStructureEditor::new("devtools-structure", fields)
.on_change(move |next, _, cx| change(&edited, cx, |build| build.fields = next)),
),
)