Skip to content

List position through fullscreen, favorites selector, zoom snap feedback - #61

Merged
Two-Play merged 1 commit into
developfrom
feature/ui-scroll-favorites-zoom
Nov 18, 2026
Merged

Two-Play merged 1 commit into
developfrom
feature/ui-scroll-favorites-zoom

Conversation

@Two-Play

Copy link
Copy Markdown
Owner

Summary

Scroll position after rotation fullscreen. Turning the phone into fullscreen turned the window to landscape; the lists behind the player relaid out with the rail and more columns (SliverColumns), became much shorter, and their pixel offset was clamped. Back in portrait they showed items far above the opened one. LayoutFreeze (lib/widgets/layout_freeze.dart) now wraps AppShell and keeps the constraints and MediaQuery from before the fullscreen while shellLayoutHold is set (by enterPlayerFullscreen, released by PlayerVideo once the screen has turned back, 3 s fallback), then until the window is back to that size (max 800 ms, so a tablet left sideways relayouts). Same widget tree either way, nothing remounts.

Favorites tab. The page already listed only Stash favorites (no ratings), but tapping an avatar left the page and the feed mixed everyone's videos. The avatar row is now a selector like YouTube's subscriptions: "All" first (newest from all favorites, shared with home's shelf), one performer shows only their scenes with a "View channel" button; tapping again goes back to all, a long press opens the channel. Selection ring in the accent; the "new since last visit" dot stays.

Zoom snap feedback. ZoomSnapFeedback replaces the pinch label: "Original" (1×) / "Fill" in the accent with a small pop when the scale snaps, thin guide lines where the pan snaps (center or edge). No pop or fade with reduced motion; always in the controls' tree, the Video is untouched.

CLAUDE.md, BACKLOG (4.31) and UX_REVIEW (SUB-1) updated; texts in en + de.

Tests

  • test/widgets/layout_freeze_test.dart reproduces the clamp without the hold and checks the position is kept with it
  • subscriptions_test.dart: selection, "All", deselect; text_scale_test.dart: favorites page at all scales
  • zoom_snap_feedback_test.dart: labels, accent, pop, guides, reduced motion
  • dart analyze clean, flutter test green (917); tried on a Pixel 6

🤖 Generated with Claude Code

…feedback

- LayoutFreeze keeps the shell's layout while the player's fullscreen
  turns the window, so lists no longer lose their place (pixel offset
  clamped by the landscape column layout).
- Favorites tab: avatars select "All" or one performer (long press opens
  the channel), with a header and "View channel".
- ZoomSnapFeedback: "Original"/"Fill" pill with a pop and guide lines
  where the pan snaps; still with reduced motion.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 2 duplication

Metric Results
Duplication 2

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@Two-Play
Two-Play merged commit 9dca63e into develop Nov 18, 2026
4 checks passed
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