Fix Blazor converter stuck on Loading - #126
Conversation
Restore the App root component registration so the WebAssembly converter mounts into #app instead of remaining on the static Loading screen.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. 📝 WalkthroughWalkthroughThe Blazor WebAssembly client now registers the ChangesClient root registration
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to The client now mounts the converter application into the existing 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
🟢 Approval recommended
The change is minimal, correctly targets the existing <div id="app"> host element, and addresses the reported “stuck on Loading” behavior without introducing additional risk.
Pull request overview
This PR fixes the Blazor WebAssembly converter UI being stuck on the static “Loading…” placeholder by restoring the WASM root component mounting so the app actually renders into the host page.
Changes:
- Register the
Approot component in the WASM client startup. - Mount
Appinto the#appelement (matchingwwwroot/index.html) so the placeholder content is replaced at runtime.
File summaries
| File | Description |
|---|---|
| MiniPdf.Web/MiniPdf.Web.Client/Program.cs | Restores root component registration so the WASM app mounts into #app and renders the converter UI. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Summary
Appinto#appso the converter replaces the static Loading placeholderValidation
dotnet publish MiniPdf.Web/MiniPdf.Web.Client/MiniPdf.Web.Client.csproj -c ReleaseSummary by CodeRabbit