Skip to content

fix(console): instant skeleton→content swap, no fade/entrance animations - #356

Merged
caigee-cmd merged 2 commits into
mainfrom
fix/no-skeleton-fade
Oct 22, 2026
Merged

caigee-cmd merged 2 commits into
mainfrom
fix/no-skeleton-fade

Conversation

@caigee-cmd

Copy link
Copy Markdown
Owner

User feedback on 8d6879a: request history still flashed after skeleton.

Remaining causes: (1) useSkeletonExit faded the whole page 0→1 (260ms) right after the skeleton, and useSkeletonSwap faded/height-animated list cards; (2) HeroUI Tabs indicator animated width/height/translate on mount; (3) refetch dimmed the card to 60% with a transition; (4) useTabPanelSlide slid/faded panels on tab switch; data-gsap-reveal markers on logs content.

Changes: removed useSkeletonSwap/useSkeletonExit hooks and all usages (all pages), removed useTabPanelSlide (logs was the only user), removed data-gsap-reveal and the dim on the logs page, Tabs.Indicator transition-none. Skeletons are kept; refetches keep current rows in place.

Verified (Playwright, mocked API with 600–900ms delay): after skeleton disappears content effective opacity = 1 on first frame and no element's opacity/transform/visibility changes over the next 500ms, and no animations run in main — for initial load, page 2, filter change, tab switch both ways, and 3.8s of runtime auto-refresh polling. Only remaining: pagination button background-color hover transition.

@caigee-cmd
caigee-cmd merged commit 40d737e into main Oct 22, 2026
6 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