Repository navigation
P1 Studio: checkbox-free 4I+4V tables and accessible 3-phase switch #255
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
Open
masarray
wants to merge
6
commits into
fix/p0-sv-reject-unverified-start-20261019
Choose a base branch
from
fix/p1-injection-table-switch-cleanup-20261020
base: fix/p0-sv-reject-unverified-start-20261019
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
9b73cce
feat(studio): Remove 8 per-channel checkboxes and reclaim column width
masarray c1caa1e
feat(studio): Migrate legacy disabled rows and avoid link replay
masarray 5fed504
feat(studio): Register modern link switch QML
masarray 3777841
feat(studio): Assert zero-checkbox / migration / no-replay operator c…
masarray 2beb4e5
feat(studio): add accessible animated three-phase editing switch
masarray b3632b1
test(studio): update obsolete live-link replay gate for intent-only s…
masarray File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| // SPDX-License-Identifier: GPL-3.0-or-later | ||
| // Only changes how subsequent A/B/C setpoint edits are linked. | ||
| // Actual 4I+4V TX remains owned by Main.qml's verified scenario transaction. | ||
| import QtQuick | ||
| import QtQuick.Controls | ||
|
|
||
| Switch { | ||
| id: control | ||
| property var theme | ||
| property string uiFont: "Inter" | ||
| text: "3-phase link" | ||
| font.family: uiFont | ||
| font.pixelSize: 10 | ||
| font.weight: Font.Medium | ||
| hoverEnabled: true | ||
| focusPolicy: Qt.StrongFocus | ||
| spacing: 8 | ||
| Accessible.name: "3-phase link" | ||
| Accessible.description: "Link subsequent changes to phases A, B and C" | ||
| ToolTip.visible: hovered | ||
| ToolTip.delay: 900 | ||
| ToolTip.text: checked ? "Editing A, B or C also updates the linked phases" | ||
| : "Edit phases A, B and C independently" | ||
| indicator: Rectangle { | ||
| implicitWidth: 44 | ||
| implicitHeight: 24 | ||
| x: control.leftPadding | ||
| y: (control.height - height) / 2 | ||
| radius: 12 | ||
| color: !control.enabled ? control.theme.surface2 | ||
| : control.checked ? control.theme.greenSoft : control.theme.surface2 | ||
| border.width: control.visualFocus ? 2 : 1 | ||
| border.color: control.visualFocus ? control.theme.green | ||
| : control.checked ? control.theme.green : control.theme.line | ||
| opacity: control.enabled ? 1.0 : 0.48 | ||
| Behavior on color { ColorAnimation { duration: 150 } } | ||
| Rectangle { | ||
| width: 16 | ||
| height: 16 | ||
| radius: 8 | ||
| y: 4 | ||
| x: control.checked ? parent.width - width - 4 : 4 | ||
| color: control.checked ? control.theme.green : control.theme.textSoft | ||
| Behavior on x { NumberAnimation { duration: 150; easing.type: Easing.OutCubic } } | ||
| Behavior on color { ColorAnimation { duration: 140 } } | ||
| } | ||
| } | ||
| contentItem: Text { | ||
| text: control.text | ||
| font: control.font | ||
| color: control.enabled ? control.theme.text : control.theme.muted | ||
| opacity: control.enabled ? 1.0 : 0.65 | ||
| leftPadding: control.indicator.width + control.spacing | ||
| verticalAlignment: Text.AlignVCenter | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This replacement removes the last
root.sendSignal(group, row)occurrence, butcheck_operator_workspace.py:141still requires that exact string. The mandatory Studio workflow runs this checker for changes underapps/arstack_studio/**, and executingpython3 apps/arstack_studio/tests/check_operator_workspace.pynow fails withtables and live sent phases must use explicit bounded layout, so every affected non-draft PR is blocked before the Qt build. Update the stale assertion to validate the new no-replay contract.AGENTS.md reference: AGENTS.md:L230-L236
Useful? React with 👍 / 👎.