about summary refs log tree commit diff
path: root/src/state/shell/minimal-mode.tsx
Commit message (Collapse)AuthorAgeFilesLines
* Add displayName to contexts (#8814)Samuel Newman2025-08-141-1/+7
|
* Fix stutter when swiping feeds on Android (#6765)dan2024-11-261-9/+1
|
* Use compiler-safe Reanimated get/set APIs (#6391)dan2024-11-171-6/+10
| | | | | | | | | | | | | | | | | | | | | * Convert lightbox to get/set * Work around software-mansion/react-native-reanimated#6613 * Use get/set in more places * Port MainScrollProvider to get/set * Port more to get/set * Port composer to get/set * Remove unnecessary thread hops in composer * Port more things to get/set * Convert more to get/set, remove redundant runOnJS * Convert remaining cases to get/set
* Update Reanimated (#6126)dan2024-11-051-0/+8
| | | | | | | | | * Update Reanimated * Fix types * Fix Reanimated value access warnings * Fix types
* Fix fixed footer experiment (#4969)dan2024-08-221-10/+33
| | | | | | | | | | | | | | | | | * Split minimal shell mode into headerMode and footerMode For now, we'll always write them in sync. When we read them, we'll use headerMode as source of truth. This will let us keep footerMode independent in a future commit. * Remove fixed_bottom_bar special cases during calculation This isn't the right time to determine special behavior. Instead we'll adjust footerMode itself conditionally on the gate. * Copy-paste setMode into MainScrollProvider This lets us fork the implementation later just for this case. * Gate footer adjustment in MainScrollProvider This is the final piece. Normal calls to setMode() keep setting both header and footer, but MainScrollProvider adjusts the footer conditionally.
* Fix prettier (#4392)dan2024-06-061-1/+6
|
* cancel animations before updating value for min-shell animation (#4386)Hailey2024-06-061-1/+3
| | | | | * cancel animations before updating value * comment
* Switch to withSpring to work around Reanimated regression (#4391)dan2024-06-061-9/+3
|
* Sync top/bottom bar disappearance to the scroll (#1855)dan2023-11-091-5/+14
| | | | | | | | | | | | | | | | | * Disable existing code that toggles shell * Make shell mode a float * Translate based on the gesture * Track header and footer heights * Add web support * Fix types and cleanup * Add back isScrolled logic * Add comments
* Hide/show header and footer without re-renders, take two (#1849)dan2023-11-091-5/+17
| | | | | | | | | * Remove callsites using the state value * Remove unused code * Change shell mode without re-renders * Adjust "write your reply" for mode
* Extract shell state into separate context (#1824)Eric Bailey2023-11-071-0/+24
* WIP * Add shell state * Integrate new shell state for drawer and minimal shell mode * Replace isDrawerSwipeDisabled * Split shell state into separate contexts to avoid needless re-renders * Fix typo --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>