Repository navigation
fix(studio): truly compact 4I+4V, equal phasor/wave area and atomic input commits #279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
43f6a33
448dfab
0205042
e7c2fb7
2c3f568
99b541a
1647f3e
8fffe89
bc999d3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -198,6 +198,10 @@ def main() -> None: | |
| require("function flushPendingEdits()" in matrix | ||
| and "magnitudeApplyTimer.stop()" in matrix | ||
| and "phaseApplyTimer.stop()" in matrix | ||
| and "magnitudeApplyTimer.restart()" not in matrix | ||
| and "phaseApplyTimer.restart()" not in matrix | ||
| and matrix.count("onEditingFinished:") >= 2 | ||
| and "parseOperatorNumber(text)" in matrix | ||
| and "currentMatrix.flushPendingEdits()" in main_qml | ||
| and "voltageMatrix.flushPendingEdits()" in main_qml | ||
| and "if (!scenario) return" in source("WorkflowBar.qml"), | ||
|
|
@@ -377,9 +381,10 @@ def main() -> None: | |
| assert "text: \"Generated setpoint · not independent on-wire proof\"" not in preview | ||
| assert "No ESP32 board detected · Preview mode only" in main_qml | ||
| require("Layout.preferredHeight: 57" in main_qml | ||
| and "SplitView.maximumHeight: 265" in main_qml | ||
| and "SplitView.fillHeight: false" in main_qml, | ||
| "compact timing strip and bounded phasor panel must avoid dead space") | ||
| and main_qml.count("SplitView.preferredHeight: 310") >= 2 | ||
| and main_qml.count("SplitView.minimumHeight: 245") >= 2 | ||
| and "SplitView.maximumHeight: 265" not in main_qml, | ||
| "compact timing strip and equal-height phasor/waveform must avoid dead space") | ||
| require("TIME SYNC / SV SIMULATION" not in tray | ||
| and "StateBadge {" not in tray, | ||
| "device/PTP status must not be duplicated in the control tray") | ||
|
|
@@ -544,8 +549,12 @@ def main() -> None: | |
| ribbon_layout = source("ModernRibbon.qml") | ||
| start_flow = source("WorkflowBar.qml") | ||
| require("width: 1150" in responsive_main | ||
| and "SplitView.maximumWidth: 750" in responsive_main | ||
| and "SplitView.preferredWidth: root.compactLayout ? 450 : 470" in responsive_main | ||
| and "SplitView.maximumWidth: 490" in responsive_main | ||
| and "SplitView.preferredWidth: root.width < 1100 ? 450 : 465" in responsive_main | ||
| and "SplitView.preferredHeight: 310" in responsive_main | ||
| and "SplitView.maximumHeight: 265" not in responsive_main | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
This negative assertion conflicts with lines 383–385 of the same test, which still require Useful? React with 👍 / 👎. |
||
| and "id: injectionFocusSink" in responsive_main | ||
| and "onClicked: injectionFocusSink.forceActiveFocus()" in responsive_main | ||
| and "electric_bolt_run.svg" in ribbon_layout | ||
| and "electric_bolt_stop.svg" in ribbon_layout | ||
| and "assets/material/electric_bolt_run.svg" in | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At the supported 620 px minimum window height with telemetry expanded, the outer layout leaves about 421 px for
workspaceSplitafter the 78 px workflow bar, margins, telemetry's 88 px minimum, and split handles. The nested visualization now requires 245 + 245 + 9 = 499 px for the two charts and its handle, so its constraints cannot be satisfied and one chart must shrink below its declared minimum or be clipped. Reduce these minima, raise the window minimum, or make this state scrollable.Useful? React with 👍 / 👎.