Skip to content

fix(ui): align loading skeletons with content layouts - #3340

Merged
yannickmonney merged 2 commits into
mainfrom
fix/navigation-flicker
Sep 14, 2026
Merged

yannickmonney merged 2 commits into
mainfrom
fix/navigation-flicker

Conversation

@yannickmonney

@yannickmonney yannickmonney commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Summary

On first navigation, loading placeholders used different heights, widths and control shapes from the content they replaced, causing visible jumps across the platform. Skeletons now mask the real control elements and reuse the loaded layouts for forms, tables, cards, chat, tasks, project tabs and document previews, preserving labels and field state. Quick route transitions also avoid briefly flashing the top progress bar.

Loading controls remain inert, including label activation and already-open menus. The masks follow the current theme and reduced-motion preference; unknown text lengths and row counts still use representative placeholders.

Checklist

  • The CI equivalents of bun run check pass: Format, Lint, Type check, Unit and UI, plus Build and Knip. The two unchanged daemon tests that failed locally pass in CI.
  • bun run lint:sast passes: zero findings, including the final changed-file scan.
  • Translations: N/A — no user-facing strings or locale keys changed.
  • Docs: internal design guidance and automated coverage register updated; end-user docs N/A because controls and workflows are unchanged.
  • READMEs: N/A — no setup, configuration or public API changes.

Test plan

  • Passed all 3,649 platform UI tests and 1,207 shared UI tests, plus platform server/PII tests, production build, lint and type checks.
  • Chromium regressions cover control dimensions, border radii, DOM identity, table alignment, page layouts and interaction while loading. Final results: 81 platform browser cases and six shared skeleton stories pass, including narrow/wide layouts, light/dark themes and reduced motion.
  • Observed a production build after fresh reload while navigating eight platform routes: no hidden app frames or runtime errors. Held data requests in both themes to compare loading and loaded layouts; verified delayed progress for slow navigation and no progress flash for quick navigation.
  • CI browser tests, all 16 platform E2E shards, web/docs E2E and Storybook pass. Rebased onto the current automation switcher changes and reran the affected tests locally (90 UI tests and 49 browser tests).
  • CI smoke tests, image/runtime validation and the platform image scan pass. All five PR workflows completed successfully.

@yannickmonney
yannickmonney merged commit b73b78f into main Sep 14, 2026
48 checks passed
@yannickmonney
yannickmonney deleted the fix/navigation-flicker branch September 14, 2026 05:50
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