Repository navigation
Interrupt stale homepage AppHost animations - #1950
Conversation
Co-authored-by: Copilot App <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
The regression test must wait for an actual edit state so it cannot pass without exercising animation interruption.
1 open issue
What changed in this PR
This PR updates the homepage AppHost editor to stop stale animations and render the latest selector choices.
Changes:
- Track request revisions and interrupt outdated animation steps.
- Render the latest language and resource variant when an edit is interrupted.
- Add a regression test for switching to C# during a TypeScript edit.
| File | Description |
|---|---|
src/frontend/tests/e2e/homepage.spec.ts |
Adds a stale-edit interruption regression test. |
src/frontend/src/components/AppHostBuilder.client.ts |
Adds revision checks and renders the latest state after interruption. |
Review effort: Balanced
Frontend HTML artifact readyThe latest frontend build uploaded the This comment updates automatically when a new frontend build artifact is uploaded. |
Co-authored-by: Copilot App <[email protected]>
Alistair Matthews (alistairmatthews)
left a comment
There was a problem hiding this comment.
I checked the AppHost animations manually, ran the tests listed in the description, and asked Claude to examine the changes. All results were positive. Ready to merge.
- TypeScript API parameter descriptions (#2009) - No locale prefix or hreflang alternates for English-only pages: the footer language picker (#1988), hreflang (#1987) and the sidebar Glossary link (#1989) - Footer link to the Aspire MIT license - Homepage: environment fade (#1993), stale AppHost animations (#1950), the dashboard carousel keeps the selected slide on activation - Search: first-result highlight with out-of-order renders (#2007), hover cursor flicker (#1977) - Live status over WebSocket (#1942) and twoslash hover, merged into the copies of the frontend scripts - Icon data 5.40.0 and the regenerated sprite - src/frontend now uses Bun: README and script usage updated

Summary
Validation
pnpm --dir src/frontend exec eslint src/components/AppHostBuilder.client.ts tests/e2e/homepage.spec.ts --max-warnings 0pnpm --dir src/frontend exec prettier --check src/components/AppHostBuilder.client.tspnpm --dir src/frontend exec playwright test tests/e2e/homepage.spec.ts --grep "interrupts a stale AppHost edit" --project=desktop-chromiumpnpm --dir src/frontend exec playwright test tests/e2e/custom-components.spec.ts --grep "[Aa]pp[Hh]ost builder" --project=desktop-chromium