Skip to content

Remove unused drawer helpers and tunables - #154

Merged
Tarquinen merged 1 commit into
devfrom
drawer-orphans
Nov 18, 2026
Merged

Tarquinen merged 1 commit into
devfrom
drawer-orphans

Conversation

@Tarquinen

Copy link
Copy Markdown
Member

Removes drawer code that nothing calls any more.

  • Catch Up: removes CatchUpCardLayer.applyTo, CatchUpStackController.refreshPreviewAppearance and cancelPendingAnimations, and CatchUpSwipeMath.projectedLanding.
  • List and pan: removes DrawerPinDrag.cancelSlotMinY, CardSwipeOrigin.outsideCard and Modifier.drawerSearchFocusHitTesting.
  • Style: removes DrawerTunables.holdStyle and holdLift; with them goes the DrawerHoldStyle enum, which only holdStyle used. Also removes DrawerRowShape and DrawerTitle.CROSS_FADE_MILLIS.

Each symbol was grepped in src/main and src/test across all modules; none is used outside its own definition. The functions these called (setPreviewDepth, finishTransition, project, blockingTouches) are still used elsewhere. docs/parity/drawer.md is updated.

Verified: vm.sh check (all modules) passes.

Each was referenced only at its own definition: CatchUpCardLayer.applyTo,
CatchUpStackController.refreshPreviewAppearance and
cancelPendingAnimations, CatchUpSwipeMath.projectedLanding,
DrawerPinDrag.cancelSlotMinY, CardSwipeOrigin.outsideCard,
Modifier.drawerSearchFocusHitTesting, DrawerTunables.holdStyle and
holdLift (and with them the DrawerHoldStyle enum), DrawerRowShape and
DrawerTitle.CROSS_FADE_MILLIS. docs/parity/drawer.md updated to match.

Verified: git grep over src/main and src/test in every module, full
scripts/check.sh on the Android VM.
@Tarquinen
Tarquinen merged commit cb7ebd2 into dev Nov 18, 2026
3 checks passed

This branch was previously deployed

1 inactive deployment
release — 5d8a3556 Deployed Nov 18, 2026 by Tarquinen via check #510
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