Repository navigation
fix(console): single skeleton→content fade on usage logs (and other pages) - #355
Merged
Merged
Conversation
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.
Root cause: useSkeletonSwap faded content with GSAP right after a heavy mount (whole page / 50-row table). GSAP's ticker counted the long mount frame as elapsed time, so the 280ms fade jumped to its end: content painted at opacity 0 for a frame, then popped in (flash). On top of that, the full-page skeleton hard-cut to the page shell and only the table faded, and every page/filter refetch swapped the table back to the skeleton and replayed the same flash.
Fix:
Verified with Playwright + mocked /api (900ms delay): initial load = one 260ms 0→1 fade of whole page (h2 and table in sync); paging = 1→0.6→1 dim, no skeleton, no flash.
Lint/tsc/build/sync, changelog validate OK.