Repository navigation
Description
Goal
Refactor the desktop workbench from protocol-page navigation into an IED-centric engineering workflow while preserving the already validated protocol/runtime implementations.
Top-level application navigation becomes:
File | IED Browser | IED Simulator | Sniffer
The online engineering experience must no longer expose Reports, Files, Setting Groups, SCL, and GOOSE monitor as unrelated top-level workspaces with separate visible connection controls.
Current architecture problem
Main.qml currently exposes seven top-level workspaces:
- IED Connection
- Reports
- Files
- Settings
- SCL
- Simulator
- GOOSE
This fragments one engineering task across multiple pages and duplicates endpoint/session UI.
The backend reflects that fragmentation:
MmsClientControllerowns its own host/port and live MMS association.MmsReportControllerowns its own host/port and reporting association.MmsFileSettingsControllerowns its own host/port and utility association.
Those service implementations are already regression-covered and should not be collapsed into a new protocol stack during the UX refactor.
Target information architecture
1. File
Entry/home workspace for engineering resources and launch actions.
Responsibilities:
- Open SCL/CID/SCD/IID/ICD
- Discover an online IED
- Open recent engineering files
- Open recent endpoints
- launch IED Simulator
- launch Sniffer
- SCL save/export/conversion actions
- application configuration
The existing SclWorkspaceController remains the source of truth for SCL parsing/export policy. SCL is an engineering resource, not a permanent top-level protocol workspace.
2. IED Browser
One logical browser session represents one selected endpoint / engineering context.
Persistent left navigation:
IED
├─ GOOSE
├─ Reports
├─ Setting Groups
├─ Files
├─ DataSets
└─ Data Model
├─ LD
│ ├─ LN
│ │ ├─ DO
│ │ │ └─ DA/BDA
The right pane is selection-driven and changes according to the selected navigation node.
Expected content:
- Data Model: browse, read, read-all/visible, guarded write, control action
- DataSets: ordered members and references
- Reports: URCB/BRCB inventory, attributes, members, received reports, enable/GI/disable
- Setting Groups: SGCB attributes and guarded ActSG activation
- Files: FileDirectory browsing and bounded download
- GOOSE: configured model/control-block inspection only
A user connects once at the Browser level. Internal service associations may remain separate, but endpoint ownership and visible connection state are unified.
3. IED Simulator
Keep the existing simulator as its own task-oriented workspace.
Reuse the strong navigation pattern already present in InteropWorkspaceV2.qml:
- GOOSE
- Reports
- Setting Groups
- DataSets
- Data Model
Simulator-specific publication/stimulation remains here.
4. Sniffer
Network-observation workspace, independent from one IED object tree.
Initial structure:
- GOOSE capture/monitor
- MMS capture/decoder
The existing GooseMonitorController moves here.
Important current capability boundary: the repository has GOOSE capture/PCAP support, but no dedicated MMS sniffer controller/UI was found in the current tree. MMS sniff therefore requires a separate implementation milestone and must not be faked by rebranding the online MMS client.
Session architecture
Introduce a UI/session coordinator, e.g. IedBrowserSessionController.
Responsibilities:
- canonical browser endpoint (host/port)
- trusted SCL context
- logical connected/disconnected state
- selected IED/session identity
- endpoint propagation into service controllers
- lazy service activation
- coordinated disconnect/cleanup
- aggregate diagnostics/health
- recent-endpoint persistence
Do not move wire protocol logic into this coordinator.
Internal service adapters remain:
MmsClientController— model discovery/read/writeMmsReportController— reportingMmsFileSettingsController— files + setting groups
Phase 1 may keep separate MMS associations internally. The UI must present them as one Browser context. Shared association/pooling, if ever desired, is a later protocol-architecture change and is not required for this UX milestone.
QML refactor map
Create:
FileWorkspace.qmlIedBrowserWorkspace.qmlIedBrowserNavigation.qmlBrowserDataModelPane.qmlBrowserDataSetPane.qmlBrowserReportPane.qmlBrowserSettingGroupsPane.qmlBrowserFilesPane.qmlBrowserGoosePane.qmlSnifferWorkspace.qml
Refactor/reuse:
MmsClientWorkspace.qml-> content logic for Browser data-model paneReportsWorkspace.qml-> Browser report paneFilesWorkspace.qml-> Browser files paneSettingsWorkspace.qml-> Browser setting-groups paneSclWorkspace.qml-> File/SCL resource view or dialogGooseWorkspace.qml-> split configured-model inspection from network monitorInteropWorkspaceV2.qmlremains the basis for the Simulator UXMain.qmlbecomes a four-workspace shell
Command model
Use one contextual command bar rather than repeated per-page connection headers.
Application actions:
- Open SCL
- Discover IED
- Close context
IED actions:
- Connect/Online
- Disconnect
- Properties
Data actions:
- Read
- Read visible/all
- Write
- Control
Service actions:
- Enable report
- GI
- Disable/release
- DataSet actions
- Setting Group actions
Commands must enable/disable from the current Browser selection and service state.
Non-goals
This UX milestone must not:
- rewrite the MMS transport/runtime;
- change proven report/control wire behavior;
- change SCL parser/export semantics;
- expand unsupported file operations;
- expand unsupported setting-group editing;
- change simulator protocol behavior;
- claim MMS sniff until a real capture/decoder backend exists.
Migration phases
P0 — Shell + session ownership
- add four top-level workspaces;
- add Browser session coordinator;
- synchronize endpoint/trusted-SCL state;
- preserve all existing controllers and QA;
- remove duplicated visible connection headers from child panes.
P1 — Unified Browser navigation
- persistent IED tree;
- Data Model / DataSets / Reports / Setting Groups / Files / configured GOOSE;
- right pane selection routing;
- contextual command bar;
- preserve current service behaviors.
P2 — File/home workflow
- recent SCL resources;
- recent endpoints;
- open/discover/simulate/sniffer launch paths;
- move SCL export/conversion UI under File/resource context.
P3 — Sniffer split
- move GOOSE monitor/capture to Sniffer;
- keep configured GOOSE in Browser and publication in Simulator;
- add MMS sniff only with a real capture/decoder backend and independent QA.
P4 — visual polish
- denser engineering tree;
- stable column alignment;
- breadcrumb path;
- selection-driven detail;
- keyboard shortcuts;
- splitter persistence;
- warning/error/status strip;
- large-model responsiveness verification.
Regression contract
Existing QA targets remain mandatory:
- MMS client workbench
- reporting workspace
- file/settings workspace
- SCL workspace
- GOOSE monitor
- simulator/commissioning/runtime QA
- release-hardening matrix
Add Browser-specific QA proving:
- one endpoint propagates consistently to all internal services;
- disconnect tears down all Browser-owned service sessions;
- changing Browser endpoint invalidates stale service state;
- selecting a navigation node changes pane/actions without reconnecting the whole Browser unnecessarily;
- report/file/setting actions still exercise the existing validated controllers;
- Browser can render the large-model fixture without unbounded eager expansion;
- no protocol behavior changes are required for the UX milestone.
Acceptance UX
A normal online workflow should read as:
File -> Discover/Open -> IED Browser -> select IED -> browse Data Model / DataSets / Reports / Files / Setting Groups -> perform contextual action
The user should never have to think “switch to the Reports application” or “connect again in Files”. Those are services of the currently browsed IED, not separate products.
Activity
masarray commentedon Sep 19, 2026
Baseline lock for UX refactor
P0 and all later UX work must descend from this exact validated mainline point:
beac238740034a78bf57ac7f4bd82f38c366220928643ecb566b16bed88a49dc839afe3b11f2bf32fdc328aeceba0c7b2f99736b4f3c1cc928c2c9dbbaseline/v0.2.0-validatedux/p0-ied-browser-shellThe merge commit and validated integration head have the same tree, so no content changed during promotion to main. Do not rebase P0 onto older simulator branches, old milestone branches, or historical release candidates. If main advances independently, future UX work must be integrated deliberately and re-gated rather than silently changing this baseline.
masarray commentedon Sep 19, 2026
Baseline promotion complete
The UX baseline is now fully closed and must be treated as immutable by convention:
beac238740034a78bf57ac7f4bd82f38c3662209baseline/v0.2.0-validatedfdc328aeceba0c7b2f99736b4f3c1cc928c2c9db28643ecb566b16bed88a49dc839afe3b11f2bf32P0 branch
ux/p0-ied-browser-shellwas created directly from the exact baseline SHA. Future UX work must descend from the accepted UX branch chain or be deliberately integrated/re-gated; do not jump back to historical milestone branches.masarray commentedon Sep 20, 2026
P0 promotion complete / P1 baseline lock
P0 is complete and promoted:
4bead99df69ab9b04ddc04a55542a5c6b1f061cd— 9/9 exact-head workflows successfule2421c28499b2d3c9bbeaeb9ea8b504e278288a71d22890fab3c5c1fb5d129cf330b51c3346a9c44New immutable-by-convention P0 baseline:
baseline/ux-p0-validated->e2421c28499b2d3c9bbeaeb9ea8b504e278288a7P1 branch:
ux/p1-unified-ied-browserP1 must remain 0-behind from this baseline until deliberate integration, and must not rewrite the validated protocol/runtime controllers.
masarray commentedon Sep 20, 2026
P1 promotion complete / baseline lock
P1 is complete and promoted:
4f3de76be49aeab55c93705a2186db17e8b09251— 9/9 exact-head workflows successful7a6d88322d8db7b78f208ffc181cff2bd9435dbd3c940ca4a6fa097d92a52b14c048bc3888ca3786baseline/ux-p1-validatedFuture UX milestones must descend from
7a6d88322d8db7b78f208ffc181cff2bd9435dbd(or a deliberately integrated and re-gated descendant), not from P0 or historical feature branches.masarray commentedon Sep 20, 2026
P2 closeout — validated baseline locked
P2 is now fully closed and promoted with the same baseline discipline used for P0/P1.
UX P2: File Home workflow and recent engineering resourcesf55846b520a55ca849f7e7431c2c33e0b44d91b248d5f4e559c9ba7942c2a7e810834307c730bd23IED Simulator Qt,C++ CI,IED Simulator Release Hardening, SCL-assisted workbench, security/evidence, embedded, BRCB and control profile gatesbaseline/ux-p2-validated->48d5f4e559c9ba7942c2a7e810834307c730bd23P2 delivered
Baseline rule for P3+
All subsequent UX work must descend from exact SHA
48d5f4e559c9ba7942c2a7e810834307c730bd23(or thebaseline/ux-p2-validatedref), not from historical P0/P1/simulator/RC branches.P2 status: CLOSED / VALIDATED.
masarray commentedon Sep 20, 2026
P3 closeout — Sniffer ownership split validated
P3 is complete and promoted from the validated P2 baseline.
UX P3: split passive Sniffer from Simulator GOOSE publication48d5f4e559c9ba7942c2a7e810834307c730bd23(baseline/ux-p2-validated)21a6ce2cf2683a6f74e8c35d7d4a3edee2cd3a0fa1ed3762785e8bdfe3638e54abe25509e2c90793baseline/ux-p3-validated->a1ed3762785e8bdfe3638e54abe25509e2c90793P3 delivered
IedCommissioningModelor exposes GOOSE publication controls.allData, stream status, and PCAP retention/export.test_sniffer_ownership.py, which rejects any future reintroduction of publisher APIs or Simulator ownership into Sniffer.MMS sniff boundary
No fake MMS sniffer was introduced. The repository still lacks a dedicated passive MMS capture/TCP-reassembly/decoder backend, so MMS sniff remains a separate real implementation milestone rather than being mislabeled from the active MMS client.
Baseline rule for P4+
Future UX work must descend from exact SHA
a1ed3762785e8bdfe3638e54abe25509e2c90793(orbaseline/ux-p3-validated) unless a deliberate integration is performed and re-gated.P3 status: CLOSED / VALIDATED.
masarray commentedon Sep 20, 2026
P4 final validation completed.
24903d2d24aaf0e1f9ede07d4a134b25b94a4d71baseline/ux-p4-validated->24903d2d24aaf0e1f9ede07d4a134b25b94a4d7135489658217P0-P4 UX architecture milestone is complete. MMS passive sniff remains intentionally outside this milestone until a real capture/decoder backend exists, as documented in this issue.