Skip to content

M2A: native Workbench dense Reports inspector and grouped RCB navigation - #159

Merged
masarray merged 4 commits into
mainfrom
ux/browser-report-inspector-m2a
Oct 14, 2026
Merged

masarray merged 4 commits into
mainfrom
ux/browser-report-inspector-m2a

Conversation

@masarray

Copy link
Copy Markdown
Owner

Visual regression addressed

Current ARStack Browser screenshot shows a narrow control block table on the left of the detail pane, and empty Received Reports/Events panels on the right. The reference IEDScout uses one full-width, contextual engineering inspector.

Scope

  • Replace ReportsWorkspace only inside IED Browser with BrowserReportPane (native Qt/QML); standalone reporting tools remain unchanged.
  • Use a single full-width vertically scrolling inspector with compact 25px property rows and the hierarchy Control Block Attributes → Information Received in Last Report → Data.
  • Keep expandable section headers, readable 10px text, alternating rows, and clear selected RCB identity, instead of large cards and empty columns.
  • Show configured DataSet members with — when there is no corresponding received report; never synthesize live values, quality, timestamp, or report provenance.
  • Match last-report evidence by exact reportId, never by a shared DataSet or list position.
  • Compact/group Explorer Reports items by LD/LN with explicit UR/BR state; retain canonical selection reports.selectRcb(index).
  • Reuse existing MmsReportController and service lifecycle; no engine/network-read changes and no changes to ESP32/SMV firmware.
  • Register new QML in Qt module, extend browser source contract.

Acceptance

  • IED Simulator Qt native build, QML smoke, Browser convergence and large-model tests pass on exact head.
  • Offline and failed association do not fabricate report data; live report member values belong only to their matching ReportID.
  • Verified fit under 1362x892; follow-up Windows artifact visual review before promotion.
  • This milestone covers the Reports visual workflow, not full Quality/Timestamp expansion and not yet DataSets/GOOSE parity.

CI discipline

Single feature commit. Scoped Qt CI only; do not start unrelated matrices or Windows packaging for each iteration. Keep draft until test and screenshot review.

Replace legacy three-column report view with full-width Control Block Attributes, Information Received in Last Report, and Data sections. Keep received evidence matched by ReportID and preserve unknown offline values. Compact the RCB navigation by LD/LN without introducing an MMS runtime fork. Add Browser contract regression.
The existing simulator screenshot does not exercise Browser/Reports. Capture browser-model + browser-section=2 on the same compiled binary and publish standalone visual evidence for reference comparison, without a new build matrix.
…tributes

Fix QML's nested-array repeater binding that rendered blank property titles. Project only canonical SCL RCB-to-DataSet/report metadata into offline engineering inventory, expose RCB-scoped members through one canonical C++ reference matcher, and keep live status unknown. Add indexed/offline negative QA; no protocol or firmware changes.
…mber role

Visual QA caught every PropertyRow displaying the first attribute and member rows missing names. Require and use the Repeater-provided index/modelData roles inside reusable inline delegates; lock the exact source contract before another visual gate.
@masarray
masarray marked this pull request as ready for review October 14, 2026 08:47
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 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-14T08:50:13.962538Z f61d1b2 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.

@masarray
masarray merged commit 6081df2 into main Oct 14, 2026
4 checks passed

@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: f61d1b2cda

ℹ️ 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 +37 to +41
const wanted = String(rcb.reportId)
for (let index = 0; index < reports.receivedReports.length; ++index) {
const frame = reports.receivedReports[index]
if (frame.reportId && String(frame.reportId) === wanted)
return frame

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 Bind received frames to the actual active RCB

When an indexed ReportControl expands into sibling RCBs, those instances can legitimately share one RptID—the added QA creates StatusReport01 and StatusReport02 with BROWSERIED/Status. If a report arrives for the first instance and the operator then selects the second while the subscription remains active, this loop returns the first instance's frame solely because the report IDs match; the pane also labels the newly selected instance as subscribed. This attributes live values and ownership to the wrong control block, so carry the active RCB reference into the report presentation and require it when matching frames and subscription status.

AGENTS.md reference: AGENTS.md:L46-L50

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