Skip to content

UX P2: File Home workflow and recent engineering resources - #108

Merged
masarray merged 5 commits into
mainfrom
ux/p2-file-home-workflow
Sep 20, 2026
Merged

masarray merged 5 commits into
mainfrom
ux/p2-file-home-workflow

Conversation

@masarray

Copy link
Copy Markdown
Owner

Scope

Implements P2 from #105 on top of the validated P1 baseline 7a6d88322d8db7b78f208ffc181cff2bd9435dbd.

File/Home

  • turns File into the engineering start surface instead of a raw SCL-only page;
  • launch paths for IED Browser, IED Simulator, and Sniffer;
  • recent online endpoints remain context-only and never auto-connect;
  • recent SCL/CID/SCD/IID/ICD resources reopen from File/Home;
  • existing SclWorkspace remains the resource detail/export/conversion implementation.

Persistence

  • product state schema advances from 2 to 3;
  • schema 1 and 2 migrate atomically;
  • recent engineering resources are bounded to 8, deduplicated, local-path-only, and fail closed on malformed/unbounded state;
  • existing recent endpoint and workspace persistence remain intact.

Regression boundary

No MMS transport, report/control behavior, file-service behavior, SGCB semantics, SCL parser/export semantics, GOOSE runtime, or simulator protocol runtime is changed.

QA

ied_product_hardening_qa now gates:

  • schema 1 -> 3 migration;
  • schema 2 -> 3 migration;
  • bounded/deduplicated recent engineering resources;
  • invalid/non-local resource rejection;
  • crash recovery with endpoint + resource state;
  • unbounded recent-resource rejection.

Draft until exact-head workflows are green.

@masarray
masarray marked this pull request as ready for review September 20, 2026 03:10
@masarray
masarray merged commit 48d5f4e into main Sep 20, 2026
23 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

return !path.isEmpty() && QFileInfo::exists(path) && QFileInfo(path).isFile();

P2 Badge Move recent-file existence checks off the UI thread

recentResourceExists() is called repeatedly from QML bindings while File/Home is rendered, so each recent path performs synchronous filesystem metadata queries on the GUI thread. If a persisted path resides on a disconnected network mount, unavailable UNC share, or stalled removable filesystem, merely opening File/Home can freeze the entire application. Resolve availability through a bounded background scan and expose cached status to QML instead.

AGENTS.md reference: AGENTS.md:L88-L92

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

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