Repository navigation
🐛 fix(web-ui): change pages in place from the rail, so the screen no longer flashes - #664
Merged
Merged
Conversation
…longer flashes SPEC: 20261119-1348_seamless-page-nav Progress: rail and logo use next/link (no document reload, the language and sign-in carry over), a 150ms content fade, e2e page-nav Next: PR
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.
Summary
Moving between Decks, Styles and Templates flashed the whole screen. The rail and the logo were plain
<a href>links, so every move reloaded the document. The whole screen was drawn again,LocaleProvidershowed English for a moment before it read the chosen language from storage, and the Cloud Web UI went blank whileAuthProviderchecked the sign-in. Opening a deck and going back to the list did not flash, because that stays on one page through the hash.next/link. The document stays, the rail stays, and the language and the sign-in carry over; only the content changes. The logo and Decks keep their in-place handler on the decks page (🧪 test(e2e): follow the new Web UI layout; prerender home as the stage #660)..page-fade), none withprefers-reduced-motion.page-nav.spec.ts: Decks → Styles → Templates → Decks, and the logo from Styles, all in Japanese. A value set onwindowmust survive every move, and the rail must mark the current page. The test fails with the old links.Checklist
make allpasses (ruff + pytest): no Python changesash scan --mode local --fail-on-findingspasses (see CONTRIBUTING.md): no new code pathsCHANGELOG.md[Unreleased]updated for user-facing changesTesting
npm run test:e2e: 31 passed (2.0 min).npm test(1516),npm run build:cloud,tsc,eslint src e2e.loadevent and no English text in the rail during the move. With the old links, every move reloaded the page.index.txtpayloads, whichdeploy_webui.shalready uploads.Boundaries touched
None.