Repository navigation
IED Browser: right-click Copy exact RCB/property field values - #784
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Targeted IED Browser field-copy QA — stacked on accepted #783Please exercise the right-hand IED Browser detail ListView, not just the left tree DataGrid or the Files Grid:
Only UI presentation data enters the clipboard. No MMS reads, writes, RCB reservations or Control commands are initiated by Copy. Stack rationale: PR #783 is user-accepted but still open. This PR is based on that exact head so none of its working Event Log fixes are dropped. Retarget to main after #783 lands, then require exact integrated-head validation. |
User-requested IED Browser clipboard enhancement
Allow an engineer to right-click Report ID, RCB Name, Control Block reference and other visible IED Browser details to copy exact values and field names directly. Keep inspection passive and distinguish click target from focused/selected IED object.
Existing architecture and actual gap
The right-hand IED Browser detail panel is a virtualized ListView, not the DataGrid used for Command Grid, Event Log or IED Files. The prior global clipboard adapter already defined Copy value/name-and-value, but registered its menu only from the ListView Loaded class handler and could silently copy
SelectedItemwhen right-click targeted a different row or blank space. Compact RCB object rows display a name while theirValuerepresents status: the old Copy value therefore did not copy the visible RCB name.Implementation
GridClipboardBehaviorand its one weakly owned ListView state; attach explicitly afterInitializeComponentbefore the deferred IED Browser tab loads, idempotent with the global Loaded handler.Ctrl+Cworks with selected field; native Menu key and Shift+F10 keep the keyboard context.Copy valuefor a compact RCB Object uses its displayed RCB name; Property rows (Report ID/Control Block reference/RCB Name) copy the untouchedValue. The separate pair action retains field and value.Integration
This is a stacked PR on top of #783, because #783 has user-confirmed Event Log behavior but has not yet been merged into main. Base and CI should be reconciled after #783 integrates. No silent replacement of previous PR behavior.
Gates / remaining manual QA
Windows build, engineering and application regression, packaging smoke; manual IED Browser right click on actual RCB and data model fields, refresh, Ctrl+C, keyboard context, inspect status and verify no Read/Write/Control state changed. Do not merge without exact-head Windows verification and disposition of unrelated historical R7/R10 provenance checks.