feature-ui - Port "Read More" behaviour to Smart-TV - #310
Merged
RadicalMuffinMan merged 2 commits intoJul 17, 2026
Conversation
- Clamps long description texts (> 4 lines) inside a focusable SpottableDiv container. - Measures scrollHeight vs clientHeight on layout to dynamically detect overflow. - Disables D-pad spotlight focus on the description block when it does not overflow. - Adds accent-colored 'Read More' label and scale/border focus transitions.
mattsigal
force-pushed
the
feature/read-more-smart-tv
branch
from
July 16, 2026 22:56
4a50156 to
2b0bf52
Compare
✅ Build SuccessfulAll platform builds passed. You can download the test artifacts below.
|
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.
Pull Request
Summary
Implements a collapsible text container ("Read More" link) for long media descriptions (longer than 4 lines) on the Smart-TV details page, matching the visual grouping and behavior of the core client.
Related Issues
Link related issues or tickets separated by commas.
Discord feedback.
Type of Change
Changes Made
List the key changes included in this PR.
isExpandedandcanToggleto track expanded/collapsed visual state and overflow status.useEffecthook to measure paragraphscrollHeightvsclientHeightwhen collapsed to dynamically detect text overflow (> 4 lines).SpottableDivwithspotlightDisabled={!canToggle}so only overflowing descriptions are focusable via D-pad remote..descriptionContainerstyles (thin border, slight background, padding) for visual grouping..overviewCollapsedclass using line-clamp (-webkit-line-clamp: 4) to truncate long descriptions..descriptionContainerSpottablefocus state, and styled the#ff5b5bcolored "Read More" trigger button.Platform
Testing
Describe how this change was tested.
Test Steps
Screenshots (if applicable)
Include screenshots or recordings for UI changes.
2026-07-16_15-47-29_chrome.mp4
Checklist