Repository navigation
fix(home): keep the cold-start skeleton inside the page column - #652
Conversation
- Give PosterRowsSkeleton zero minimum width and height so the frame can shrink below the rows' natural size - Stop six phone posters from widening the page and pushing the skeleton off the leading edge - Add a layout test that checks the skeleton stays within a phone-sized page
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 37 minutes. View limit detailsLimit details: You’ve used the included review currently available. Review configuration: ⚙️ Run configuration
📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
PosterRowsSkeletonzero minimum width and height on its frame inPosterSkeletons.swift. The skeleton now clips to the space it's offered, the same fixRequestRailSkeletonreceived in fix(requests): keep the loading skeleton inside the page column #604.PosterRowsSkeletonLayoutTests, which hosts the skeleton in a 375×560 page and checks that it sizes to that page.Testing
PosterRowsSkeletonLayoutTests.testRowsStayWithinAPhonePage(added in this change).AI disclosure
Written with Claude Sonnet 5.5 (
claude-sonnet-5-5) in Claude Code, built on the Claude Agent SDK. No other AI tooling was used.Note
Fix
PosterRowsSkeletoncold-start layout to fit within the page columnPosterRowsSkeletonframe in PosterSkeletons.swift to use zero minimum width and height, so the skeleton can shrink to the offered page size instead of forcing its rows' natural dimensions. Content beyond the offered size is clipped.PosterRowsSkeletonmay now render clipped if the offered size is smaller than its rows' natural size, where it previously expanded beyond the proposal.Macroscope summarized 86f02b2.