Skip to content

fix(detail): stop the MORE pill covering the overview text - #850

Merged
Quick104 merged 1 commit into
Silo-Server:mainfrom
Rhainland:fix/detail-overview-more-overlap
Oct 24, 2026
Merged

Quick104 merged 1 commit into
Silo-Server:mainfrom
Rhainland:fix/detail-overview-more-overlap

Conversation

@Rhainland

@Rhainland Rhainland commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Related issue: N/A
Validation tasks: none

On iPhone, iPad and Mac detail pages, the MORE pill sat on top of the third line of the overview, so long overviews read like "Adventure and danger await wMORE…". The pill also decided whether text was cut by counting characters, so it could appear when nothing was cut, or be missing when something was.

This change fades the end of the last visible line out before the pill, as the App Store does, and shows MORE only when the text is actually cut.

Approach

The overview is now a small PhoneDetailOverview view shared by the iPhone, split-pane, iPad and Mac hero layouts. It lays out a hidden, unclipped copy of the text at the same width and shows MORE only when that copy is taller than the three-line version. While collapsed and cut, a mask fades the end of the last line and leaves clear space where the pill sits. Tapping the overview still toggles it, tapping MORE still expands it, and VoiceOver still reads the full overview once.

tvOS is unchanged: its synopsis has no MORE pill and ends with an ellipsis. Android has its own layout and is not affected.

Validation

  • Builds: Silo for the iOS Simulator and SiloMac for macOS compile.
  • iPhone 17 Pro and iPad Pro 11-inch simulators (iOS 26.5): the overlap is gone in the compact, expanded and split-pane (iPad landscape) heroes, MORE expands the overview, tapping the text collapses it, and accessibility XL Dynamic Type lays out correctly.
  • VoiceOver tree: the full overview appears once, followed by a "MORE" button. The hidden measuring copy does not appear.
  • iPhone Duo: not run. It needs the iOS 27.1 simulator runtime, which the build Mac (Xcode 26.4) doesn't have.
  • Mac: not run. The build Mac has no desktop session the capture tooling can use; the SiloMac build compiles.
  • No new automated test: the behaviour depends on rendered text layout, which unit tests here don't cover.

Evidence

Evidence: https://evidence.siloserver.org/r/silo-apple/pr-850/

Surface and build: detail page of Harry Potter and the Chamber of Secrets on iPhone 17 Pro and iPad Pro 11-inch simulators (iOS 26.5), plus The Matrix on the iPad in landscape for the split-pane hero. Before is main at 2aa6595, after is this branch.

Not captured:

  • iPhone Duo: needs the iOS 27.1 simulator runtime, which the build Mac doesn't have. Folded, it uses the compact iPhone hero; open in landscape, it uses the split-pane hero. Both are captured above.
  • Mac: the build Mac has no usable desktop session, so the app can't open a window there. The Mac header uses the same overview view. A maintainer or I can add Mac captures from a Mac with a desktop session.

Risks

None identified. The change only affects how the overview is drawn on iOS, iPadOS and macOS detail pages.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.
  • The Evidence section shows every change a user can see, or says there is none.

AI Disclosure

  • Harness: Claude Code (in T3 Code)
  • Tool(s): Claude Code, Codex CLI
  • Model(s): claude-opus-5-5, gpt-6.1-sol
  • Involvement: Fully AI-generated, human verified
  • Adversarial review: independent reviews of the full diff by claude-opus-5-5 and gpt-6.1-sol at medium effort; neither reported findings.

The MORE pill on iPhone, iPad and Mac detail pages sat on top of the
third line of the overview, so text read like "await wMORE…". It also
guessed truncation from character count, so it could show when nothing
was cut.

Fade the end of the last visible line out before the pill, as the App
Store does, and show MORE only when the text is actually cut, measured
against an unclipped copy at the same width.
@silo-triage silo-triage Bot added the size/M 50–199 added + deleted lines (all files); change volume, not priority. label Oct 20, 2026
@silo-kody

silo-kody Bot commented Oct 20, 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 ❌
⚠️ 3 Kody Rule(s) were not evaluated

These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:

  • Centralize server-relative authentication path validation
  • Enforce latest-link-wins centrally across deferred deep links
  • Rank subtitles using container capabilities and one stable cross-client policy

@coderabbitai

coderabbitai Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2bb27c7f-ef70-4931-aa41-1a229e727c17
📥 Commits

Reviewing files that changed from the base of the PR and between b63e1be and 5fd3293.

📒 Files selected for processing: 1
  • iosApp/iosApp/Screens/Detail/Phone/PhoneDetailHero.swift

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📝 Walkthrough

The phone detail overview now uses a dedicated view to determine whether text is truncated and provide an expandable three-line display. The previous character-count clipping heuristic and unused text-scale metric were removed.

Changes: Phone overview

Layer / File(s) Summary
Overview rendering and expansion
iosApp/iosApp/Screens/Detail/Phone/PhoneDetailHero.swift
A new PhoneDetailOverview measures full and collapsed text heights to detect truncation. It fades the final visible line, reserves space for a MORE pill, and expands on tap or button activation. The existing inline rendering and character-count clipping heuristic were removed.

Priority: ➖ Normal

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Suggested reviewers: zzebrahz, quick104

Merge Risk: ⚪ Minimal · up to 5fd32

The overview change is mergeable after normal checks. No remaining issue is established for the collapsed text, MORE pill, or RTL fade.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: preventing the MORE pill from covering overview text.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The pull request description directly explains the overview rendering changes, the MORE pill overlap fix, validation results, affected platforms, and known limitations. It is related to the changeset.
  • Fix all pre-merge checks with AI
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · 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.

@macroscopeapp

macroscopeapp Bot commented Oct 20, 2026

Copy link
Copy Markdown

The overview presentation changes on iPhone, iPhone Duo, iPad, and Mac, but the linked evidence is identified only for iPhone 17 Pro and iPad Pro 11-inch. Add before-and-after captures of the same detail screen and data for iPhone Duo folded and open, and Mac.

Automated check: Macroscope check run agent (gpt-6-luna). Evidence was not reviewed for correctness.

Posted via Macroscope — Visible change evidence

@silo-triage silo-triage Bot added bug Something isn't working evidence-required Needs before-and-after evidence before the Evidence check passes impact: polish Annoyance, cosmetic, or nice-to-have priority: P2 Limited scope, workaround exists, or polish labels Oct 20, 2026
@silo-triage

silo-triage Bot commented Oct 20, 2026

Copy link
Copy Markdown

Please add before-and-after captures of the overview on Mac and iPhone Duo (folded and open), using the same screen and data. The description says Mac uses the changed overview view but was not captured; the repository's Evidence policy requires captures for every affected device, or an explanation of why it is unaffected. A Mac compile does not show the layout.

AI disclosure: OpenClaw; model openai/gpt-6.1-sol (automated triage).

@Rhainland

Copy link
Copy Markdown
Contributor Author

Updated the evidence and the PR body for the Mac and iPhone Duo requests.

  • iPhone Duo: I couldn't run it. It needs the iOS 27.1 simulator runtime, and the build Mac has Xcode 26.4 with iOS 26.5. Its two layouts are covered on other devices:
    • Folded, the Duo uses the compact iPhone hero. That's the iPhone 17 Pro pair.
    • Open in landscape, it uses the split-pane hero. I added a before/after pair of that layout from the iPad in landscape. Before shows the same overlap ("computers wMORE"), after shows the fade.
  • Mac: not captured. The build Mac has no desktop session the capture tooling can use, so the app can't open a window there. The Mac header uses the same overview view, and SiloMac compiles. Mac captures still need to come from a Mac with a desktop session.

Evidence: https://evidence.siloserver.org/r/silo-apple/pr-850/

@Quick104
Quick104 merged commit ddcc4ab into Silo-Server:main Oct 24, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working evidence-required Needs before-and-after evidence before the Evidence check passes impact: polish Annoyance, cosmetic, or nice-to-have priority: P2 Limited scope, workaround exists, or polish size/M 50–199 added + deleted lines (all files); change volume, not priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants