Repository navigation
Remove the drawer pan's unused Catch Up and claim paths - #142
Merged
Merged
Conversation
Catch Up runs its own swipe and the container's pan is off while it shows, so the drawer pan's card-swipe mode (isCardSwipe, the drag card region) and CatchUpStackController.handlePan had no callers. The claims map was never written, the drawer-local drawerPanHorizontalScroller was never called (callers use core's), and TouchOrigin.DrawerRow was never produced. No behaviour change.
Closed
This branch was previously deployed
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.
Removes code in the drawer pan that nothing reaches.
DrawerPanRegions.claimswas never written, so its one read was always false.CatchUpStackController.handlePanandCatchUpStack'shandlesPanhad no callers.drawerDirectionalPan'sisCardSwipewas never passed, so every card-swipe branch inside it (andyieldsToHold's copy) was unreachable.Modifier.drawerPanDragCardand the drawer's owndrawerPanHorizontalScrollerhad no callers (the drawer uses core's).TouchOrigin.DrawerRowwas never produced.Kept:
cardSwipeDecisionandCardSwipeOrigin(Catch Up's own pan uses them) andscrollersAt.The test rows for
DrawerRowandisCardSwipego with them.docs/parity/drawer.mdupdated.Verified: grepped
src/mainandsrc/testin every module for each symbol;vm.sh check(all modules) passes.