Skip to content

Fix/ups view quality#1065

Merged
theovilardo merged 2 commits intomasterfrom
fix/ups-view-quality
Feb 14, 2026
Merged

Fix/ups view quality#1065
theovilardo merged 2 commits intomasterfrom
fix/ups-view-quality

Conversation

@theovilardo
Copy link
Copy Markdown
Owner

No description provided.

…ers and refine UI transitions

- **Gesture Handling**:
    - Add `onDragCancel` to `SheetVerticalDragGestureHandler` to ensure consistent state cleanup.
    - Track `isSheetDragGestureActive` across player components to coordinate placeholder transitions with user interaction.

- **Placeholder Logic**:
    - Introduce `switchOnDragRelease` preference to defer content/placeholder swapping until a drag gesture is finished, bypassing percentage-based thresholds.
    - Update `DelayedContent` to handle the new drag-release logic, ensuring placeholders only transition when the sheet is stable.

- **Settings & Preferences**:
    - Add "Switch on drag release" toggle to Experimental Settings.
    - Enable `usePlayerSheetV2` by default.
    - Update `UserPreferencesRepository` and `SettingsViewModel` to persist and manage the new preference.

- **UI Refinements**:
    - Adjust corner radius interpolation in `SheetVisualState` to transition to `0.dp` when fully expanded for a more immersive look.
    - Disable threshold sliders in settings when "Switch on drag release" is active to prevent conflicting configurations.
…ers and refine UI transitions

- **Gesture Handling**:
    - Add `onDragCancel` to `SheetVerticalDragGestureHandler` to ensure consistent state cleanup.
    - Track `isSheetDragGestureActive` across player components to coordinate placeholder transitions with user interaction.

- **Placeholder Logic**:
    - Introduce `switchOnDragRelease` preference to defer content/placeholder swapping until a drag gesture is finished, bypassing percentage-based thresholds.
    - Update `DelayedContent` to handle the new drag-release logic, ensuring placeholders only transition when the sheet is stable.

- **Settings & Preferences**:
    - Add "Switch on drag release" toggle to Experimental Settings.
    - Enable `usePlayerSheetV2` by default.
    - Update `UserPreferencesRepository` and `SettingsViewModel` to persist and manage the new preference.

- **UI Refinements**:
    - Adjust corner radius interpolation in `SheetVisualState` to transition to `0.dp` when fully expanded for a more immersive look.
    - Disable threshold sliders in settings when "Switch on drag release" is active to prevent conflicting configurations.
@theovilardo theovilardo merged commit efcea0a into master Feb 14, 2026
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