Fix runtime startup/editor bugs and offline build surfaced by Playwright testing#76
Draft
werddomain with Copilot wants to merge 2 commits into
Draft
Fix runtime startup/editor bugs and offline build surfaced by Playwright testing#76werddomain with Copilot wants to merge 2 commits into
werddomain with Copilot wants to merge 2 commits into
Conversation
Copilot
AI
changed the title
Test app with Playwright and fix startup, editor, and build issues
Fix runtime startup/editor bugs and offline build surfaced by Playwright testing
Jul 1, 2026
Copilot created this pull request from a session on behalf of
werddomain
July 1, 2026 00:26
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
End‑to‑end Playwright testing of the JavaScript app (
/src) surfaced a startup crash, a broken Code Editor, and build/console failures. This addresses those and adds the captured screenshots.Fixes
Start Menu init race —
StartMenuControllerread the IndexedDB filesystem in its constructor, beforefileSystem.init(), throwingDatabase not initialized. Building pinned tiles is now deferred toos.Ready().Code Editor — Monaco fetched its worker from
unpkg.com/monaco-editor@latest, which breaks offline and can version‑mismatch the bundled Monaco. Now uses webpack‑bundled workers:Offline build —
main.lesspulled Google Fonts via a build‑time@import url(...), failing the wholeless-loaderbuild offline. Moved to a runtime<link>inindex.html.Startup error noise —
ThemeManager.ensureThemesDirectoryusedstat()(which logs on miss) as an existence check; switched toexists()./favicon.ico404 — added an inline SVG favicon.Blazor
wasm2build — removed a stray}inWindowStateTest.razor.cs.Screenshots
Captured per‑app under
docs/screenshots/(README.mdmaps each image).Notes
wasm2Blazor port is a WIP that does not fully compile; only the one stray syntax error is touched here.