Skip to content

P1 Studio: checkbox-free 4I+4V tables and accessible 3-phase switch - #255

Open
masarray wants to merge 6 commits into
fix/p0-sv-reject-unverified-start-20261019from
fix/p1-injection-table-switch-cleanup-20261020
Open

masarray wants to merge 6 commits into
fix/p0-sv-reject-unverified-start-20261019from
fix/p1-injection-table-switch-cleanup-20261020

Conversation

@masarray

Copy link
Copy Markdown
Owner

Stacked independently on #252 to avoid mixing GUI and firmware P0 changes. Removes both channel enable checkbox delegates and their column spacer in SignalMatrix. Replaces the global-free 3-phase link control with a native accessible animated Switch. Link ON/OFF changes future edits and persists local preference only: NO replay of 8 live SETs and NO pendingApply flip. Preserves startup snapshot/transaction and F5/F6 handling. Legacy disabled preset rows are migrated at app restore (before any device connection) to enabled zero magnitude, with explicit operator warning and persisted updated scenario; runtime START rejects unexpected hidden disabled rows. Adds operator workspace structural assertions. Needs exact-HEAD Qt/Windows CI and manual DPI screenshot acceptance. No main merge.

@masarray
masarray marked this pull request as ready for review October 20, 2026 04:02
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T04:07:18.440808Z 2beb4e5 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2beb4e592c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 1097 to +1102
onToggled: {
// Link is an editing preference, not a wire
// setpoint. No 8-channel live replay or
// pendingApply on a presentation-only switch.
root.phaseLink = checked
// Linking phases changes future edit behavior only;
// never silently rewrite existing setpoints.
root.markScenarioDirty()
if (workflowBar.injectionRunning && workflowBar.session
&& workflowBar.session.liveControlReady) {
// Persist *all eight current table values* on
// live link changes; the displayed draft
// must never silently diverge from TX.
var ok = true
for (var group = 0; group < 2; ++group)
for (var row = 0; row < 4; ++row)
ok = root.sendSignal(group, row) && ok
if (ok) root.pendingApply = false
else root.showMessage("Not all live phases were sent. Stop/Start to apply the table.", true)
}
root.saveScenarioTimer.restart()

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Update the workspace gate after removing live replay

This replacement removes the last root.sendSignal(group, row) occurrence, but check_operator_workspace.py:141 still requires that exact string. The mandatory Studio workflow runs this checker for changes under apps/arstack_studio/**, and executing python3 apps/arstack_studio/tests/check_operator_workspace.py now fails with tables 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 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant