Skip to content

fix: close Strata upload panel when its application changes - #1842

Draft
Jacky-Pham wants to merge 1 commit into
Jacky/strr-host-summary-contracts-20260915from
Jacky/strr-strata-upload-lifecycle-20260915
Draft

Jacky-Pham wants to merge 1 commit into
Jacky/strr-host-summary-contracts-20260915from
Jacky/strr-strata-upload-lifecycle-20260915

Conversation

@Jacky-Pham

@Jacky-Pham Jacky-Pham commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

When the Strata permit store resets or reloads an application while its dashboard upload panel is open, the page dereferences the cleared application and raises a render error. The open-panel state also survives the reload, so the panel appears again without a new request to open it.

Close the panel synchronously when its application number changes and mount the uploader only while that number is available. This disposes the checked-out shared queue before it can continue after a record change.

Validation: eight actual-page/shared-queue cases (three baseline lifecycle failures, five passing upload controls); all 92 local Strata tests and lint pass. The tests use real Pinia stores/loaders with controlled API responses, file-selection events, and upload completion. They prove component behavior; deployed navigation and backend uploads are outside these tests. Strict checks add no diagnostics (combined Strata: 7 default / 2 configured). Strata CI passes lint, 92 tests, and build at the PR head. Combined CI passes all five frontend lint/test/build jobs with 1,223 tests at 8f518420.

Stacked on #1841. No merge or deployment.

@sonarqubecloud

Copy link
Copy Markdown

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