Skip to content

fix(ui): More Controls affordance gesture loop and modernize Apps/Settings with Halo tokens - #26

Open
gthgomez wants to merge 1 commit into
mainfrom
fix/more-controls-gesture-and-halo-ui
Open

gthgomez wants to merge 1 commit into
mainfrom
fix/more-controls-gesture-and-halo-ui

Conversation

@gthgomez

Copy link
Copy Markdown
Owner

Summary

  1. Fix More Controls Spazzing / Oscillation:

    • Disabled the underlying MoreControlsAffordance touch/click handling while showMoreControls == true to stop touches from intercepting during bottom sheet dismiss gestures.
    • Refactored detectVerticalDragGestures to accumulate drag delta across gesture lifecycle (onDragStart, onDragEnd, onDragCancel), guaranteeing onClick() fires at most once per distinct swipe-up gesture.
  2. Modernize Apps & Settings screens with Halo tokens:

    • Global Backdrop: Replaced legacy NeoBackground and .circuitBoardBackground with HaloBackdrop() across all screens, unifying ambient radial blooms and theme support.
    • Apps Screen: Refactored cards, header, action buttons, channel rows, and empty hints to use halo.dockWell, halo.dockBorder hairlines, and ringBrush typography.
    • Settings Screen: Updated sections, action buttons, and device cards to use Halo glass styling and halo.moreControls contrast-tuned typography.
    • Bottom Navigation: Redesigned NeoBottomNavigation to a sleek floating glass dock matching GlassActionDock.
    • Panels & Header: Modernized NeoPanel and ActiveDeviceHeader containers with halo.chipFill and 0.5dp hairlines.

Verification

  • ./gradlew testDebugUnitTest passed cleanly.
  • ./gradlew assembleDebug built successfully.

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