Skip to content

Restore BarViz loading indicator during WebAssembly startup - #6598

Merged
premun merged 1 commit into
mainfrom
fix-loading-spinner
Aug 14, 2026
Merged

Restore BarViz loading indicator during WebAssembly startup#6598
premun merged 1 commit into
mainfrom
fix-loading-spinner

Conversation

@akoeplinger

Copy link
Copy Markdown
Member

Regressed with #6559

Copilot AI lite review requested due to automatic review settings August 14, 2026 09:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Restores the BarViz startup loading indicator for the Interactive WebAssembly host (regressed during the hosting model migration in #6559) by reintroducing the initial loading UI and removing it once the client app has rendered.

Changes:

  • Add a startup loading UI container to the BarViz host page, plus a small JS helper to remove it.
  • Remove the loading UI from Blazor after the first client render via OnAfterRenderAsync JS interop.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/ProductConstructionService/ProductConstructionService.BarViz/ClientApp.razor Invokes JS to remove the startup loading element after the first render.
src/ProductConstructionService/ProductConstructionService.BarViz.Hosting/BarViz/App.razor Reintroduces the loading indicator markup and exposes window.appLoading.remove() for cleanup.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@premun
premun merged commit 15611c7 into main Aug 14, 2026
12 checks passed
@premun
premun deleted the fix-loading-spinner branch August 14, 2026 10:22
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.

3 participants