Skip to content

fix(home): keep the cold-start skeleton inside the page column - #652

Merged
Quick104 merged 1 commit into
mainfrom
t3/fix-cold-start-skeleton-size
Oct 6, 2026
Merged

Quick104 merged 1 commit into
mainfrom
t3/fix-cold-start-skeleton-size

Conversation

@Quick104

@Quick104 Quick104 commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Fix Home's cold-start placeholders sitting off the leading edge on phones. Six phone posters per row are wider than the page, and the skeleton's frame grew to fit them instead of clipping.
  • Give PosterRowsSkeleton zero minimum width and height on its frame in PosterSkeletons.swift. The skeleton now clips to the space it's offered, the same fix RequestRailSkeleton received in fix(requests): keep the loading skeleton inside the page column #604.
  • Add PosterRowsSkeletonLayoutTests, which hosts the skeleton in a 375×560 page and checks that it sizes to that page.

Testing

  • Not run: PosterRowsSkeletonLayoutTests.testRowsStayWithinAPhonePage (added in this change).
  • Not run: iOS simulator check of Home on a cold start.
  • Not run: tvOS and macOS builds. The change touches a shared component.

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 PosterRowsSkeleton cold-start layout to fit within the page column

  • Changes the PosterRowsSkeleton frame 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.
  • Adds a layout test in PosterRowsSkeletonLayoutTests.swift that hosts the skeleton in a 375×560 point proposal and asserts both dimensions match, with a 0.5 point tolerance.
  • Behavioral Change: PosterRowsSkeleton may now render clipped if the offered size is smaller than its rows' natural size, where it previously expanded beyond the proposal.

Macroscope summarized 86f02b2.

- 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

silo-kody Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-06T13:16:56.995100Z 86f02b2 PR opened
🔒 Security Review ✅ Completed 2026-10-06T13:17:57.095787Z 86f02b2 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Oct 6, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: bdc0bcd0-8d8f-4388-8b4f-0299b96c7bc3
📥 Commits

Reviewing files that changed from the base of the PR and between 6242652 and 86f02b2.

📒 Files selected for processing (2)
  • iosApp/Tests/PosterRowsSkeletonLayoutTests.swift
  • iosApp/iosApp/Components/PosterSkeletons.swift
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Quick104
Quick104 merged commit 77645c1 into main Oct 6, 2026
6 checks passed
@Quick104
Quick104 deleted the t3/fix-cold-start-skeleton-size branch October 6, 2026 15:04
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