Skip to content

M2H: visible contextual q/t evidence for native Data Model and DataSets - #171

Merged
masarray merged 3 commits into
mainfrom
feat/workbench-contextual-evidence-m2h
Oct 14, 2026
Merged

masarray merged 3 commits into
mainfrom
feat/workbench-contextual-evidence-m2h

Conversation

@masarray

Copy link
Copy Markdown
Owner

Baseline

main 65291181e482ddf44fed3f5c45150b173dc9e538, M2G and all post-merge Qt/release-hardening integration checks passed. Scope: native Qt Workbench only.

Root causes

  1. DataSets placed BrowserEngineeringEvidence as the third direct child of a StackLayout that selected only page 0 (overview) and 1 (members), so typed q/t evidence was never visible.
  2. Data Model displayed its node inspector only when the root had no children; selecting a nested DA in an expanded DO tree hid the selected attribute's properties/evidence.
  3. A canonical MMS value update raises valuesChanged but not selectionChanged; QML property snapshots could therefore retain stale selected DA evidence/value until the next selection.

Design

  • Place DataSets' inspector inside its existing member page under the lazy FCDA ListView, visible only for valid typed q/t provenance.
  • Keep Data Model's virtualized tree visible while showing the selected DA inspector below it; retain the existing leaf inspector path.
  • Use canonical treeModel.selectedNode / presentationNode snapshots with value-revision invalidation, no duplicate decoder/model/cache, no implicit MMS Read/polling.
  • Bind DataSets evidence to the exact selected MMS DA reference and clear it on DataSet/member changes.
  • Preserve dense native layout, existing 64-DA lazy expansion, and typed Unknown semantics.

Acceptance / targeted regression

  • Strengthened Browser convergence source-contract checks for both visible inspectors, snapshot refresh and no hidden MMS Read.
  • Existing native Qt smoke, MMS, q/t, report, large-model and interoperability gates.
  • Two new native offscreen Data Model + DataSets screenshots on the same fixture, uploaded as ied-browser-model-datasets-m2h (layout baselines, not proof of physical IED interoperability).
  • Do not merge unless complete exact-head Qt CI is green; use squash merge with head lease.

No changes to firmware, SMV/PTP, protocol runtime, installer, or legacy web app.

…and DataSets (M2H)

Keep DA detail visible alongside the lazy tree, refresh canonical snapshots on value changes, and relocate DataSets evidence inside the visible members page. Clear stale selections, preserve explicit MMS reads, and capture native model/dataset render baselines in targeted Qt CI.
@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-14T23:18:57.930503Z 5e3c17a PR opened
ℹ️ 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: 5e3c17ac53

ℹ️ 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".

@masarray
masarray merged commit 9a78013 into main Oct 14, 2026
2 checks passed
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