Skip to content

Fix the web sample apps so their dev servers load - #250

Merged
isaac-udy merged 1 commit into
mainfrom
fix/web-test-app-index
Nov 11, 2026
Merged

isaac-udy merged 1 commit into
mainfrom
fix/web-test-app-index

Conversation

@isaac-udy

@isaac-udy isaac-udy commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

Summary

Neither web sample loaded from wasmJsBrowserDevelopmentRun.

  • tests/application: index.html and styles.css were left in the common module when the app was split out, so app/web served a directory listing. Both files now live in app/web, and the script tag uses enroTestApplication.js.
  • recipes/app/web: index.html loaded enroRecipes.js, but the build outputs recipes.js.
  • Request-close recipe: the discard-confirmation dialog had no background. It is now wrapped in a Card, like the other dialog recipes.

No library code changes.

Test plan

  • :tests:application:app:web:wasmJsBrowserDevelopmentRun serves index.html and enroTestApplication.js (HTTP 200)
  • :recipes:app:web:wasmJsBrowserDevelopmentRun serves recipes.js and the app loads in a browser
  • Browser back on the edit screen of the request-close recipe opens the discard confirmation (the manual check for Route browser back through onCloseRequested #244)
  • Discard dialog shows a card background after the rebuild

🤖 Generated with Claude Code

Neither web sample loaded from wasmJsBrowserDevelopmentRun:

- tests/application: index.html and styles.css were left in the common
  module when the app was split out, so app/web served a directory
  listing. They now live in app/web, and the script tag uses
  enroTestApplication.js.
- recipes: index.html loaded enroRecipes.js, but the build outputs
  recipes.js.

Also wrap the discard-confirmation dialog in the request-close recipe
in a Card. It had no background.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@isaac-udy
isaac-udy merged commit 77121fd into main Nov 11, 2026
2 checks passed
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