feat - Quick Return Home Screen - #1068
Open
mattsigal wants to merge 2 commits into
Open
Conversation
Collaborator
|
Closes #832 |
Collaborator
Author
Added, thanks |
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
Integrates Quick Return functionality onto the Home Screen for TV, Mobile, and Desktop clients.
PlatformDetection.isTV): ConnectsQuickReturnWrapperscroll state to_activeFocusedRowNotifierand_mediaBarFocusNodelisteners. Supports both Media Bar Enabled and Disabled modes. When focused on lower rows (Row 1, Row 2, Row 3...), pressing Back on remote scrolls to top (0.0) and refocuses the top row / Media Bar viaInlineBackInterceptor. When focused on top row / Media Bar, pressing Back triggers the exit confirmation dialog.!PlatformDetection.isTV): Displays floating circular Quick Return button in bottom-right corner when scrolled down on lower home rows. Tapping smoothly scrolls Home Screen back to top (0.0).Related Issues
Link related issues or tickets separated by commas.
Type of Change
Changes Made
List the key changes included in this PR.
QuickReturnWrapperstate to_activeFocusedRowNotifierand_mediaBarFocusNodeinlib/ui/screens/home/home_screen.dart._mediaBarFocusNode.hasFocus/_activeFocusedRowIndex == null) and Media Bar Disabled (_activeFocusedRowIndex == 0)._rowStateOf(0)?.requestFocusFromMemory()) when Media Bar is disabled.Platform
Testing
Describe how this change was tested.
Test Steps
Screenshots (if applicable)
Include screenshots or recordings for UI changes.
Android TV -- picture going down the home screen, pressing back, and being back at the top.
Windows Desktop:
Top of the Page (no icon):
Neon Pulse:
Moonfin Classic:
Checklist