Conversation
Add an iPad compact sidebar state that collapses the chat list to an avatar rail, with drag/tap restoration to the regular master list. Hide compact-mode chrome that does not fit the rail and clamp narrow chat-list measurements to avoid invalid AsyncDisplayKit geometry.
…re isolation - Add compactAvatarRail experimental toggle in ExperimentalUISettings and DebugController - Isolate panRecognizer and selection gestures when compact avatar rail is active (<= 160pt) - Derive clean top list insets from status bar in ChatListContainerItemNode - Disable story tap gesture in compact avatar rail to route avatar taps directly to chats - Suppress search scroll header and stories overscroll in compact rail mode - Maintain full compatibility with standard iPad regular split layout when disabled
…m-iOS into ipad-mini-avatar-rail
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.
Summary
This PR introduces an experimental compact avatar rail layout for iPad mini (and narrow iPad split-views) along with comprehensive gesture and touch isolation.
Key Changes
Experimental Setting (
compactAvatarRail):compactAvatarRail: BoolinExperimentalUISettings(defaults tofalse).>= 320pt), search bar, folders, and tab bar.Touch & Gesture Isolation:
panRecognizer(swiping between folders) when compact avatar rail is active (width <= 160pt), preventingListView.touchesCancelleddrops on avatar taps.isSelectionGestureEnabledonChatListNodein compact rail to avoid accidental multi-selection entry.compactRailTopTouchBlockerNodestatic overlay to prevent hit-testing collisions during list scrolling.Status Bar Insets & Story Isolation:
(insets.top > 0.0 ? insets.top : 24.0) + 12.0.avatarStoryTapGesturein compact rail so tapping an avatar with active stories reliably opens the chat conversation.