Commit Graph

5126 Commits

Author SHA1 Message Date
Hailey 7bfb66133d Merge branch 'hailey/upgrade-clean' into hailey/test-upgrade-build 2024-12-01 18:25:08 -08:00
Hailey d04654dbaf oops 2024-12-01 18:24:54 -08:00
Hailey 84b2a15c65 Discard changes to src/screens/Onboarding/StepProfile/index.tsx 2024-12-01 18:23:25 -08:00
Hailey 98dd911197 Merge remote-tracking branch 'origin/nicer-tabs-2' into hailey/test-upgrade-build 2024-12-01 18:15:26 -08:00
Hailey 662ad552ff clean 2024-12-01 18:11:45 -08:00
Hailey c7b0af658b more tweaking 2024-12-01 18:05:46 -08:00
Hailey 1831167aac type fixes 2024-12-01 17:38:07 -08:00
Hailey 04ccdd8540 fix some type errors 2024-12-01 17:22:28 -08:00
Hailey 273f2948e9 fix use permissions hook 2024-12-01 17:19:52 -08:00
Hailey 16622057e2 fix accidentally removed package 2024-12-01 17:19:11 -08:00
Hailey d0a67ecfd2 resolve yarnlock 2024-12-01 16:20:41 -08:00
Hailey 408d9ce5bd Merge branch 'hailey/rm-masked-view' into hailey/upgrade-clean 2024-12-01 16:20:33 -08:00
Hailey 3f81d262e1 use .set/.set 2024-12-01 16:00:27 -08:00
Hailey 3d87a27404 rm 2024-12-01 15:47:12 -08:00
Hailey 37b20fe42e rename patch 2024-12-01 15:31:40 -08:00
Hailey 510f94abef update patches 2024-12-01 15:28:17 -08:00
Hailey fb0897b559 upgrade system ui 2024-12-01 15:23:49 -08:00
Hailey 994c4252c7 package upgrades 2024-12-01 15:20:26 -08:00
Dan Abramov fc3ddd9713 Fix corner case 2024-12-01 20:45:55 +00:00
Dan Abramov f3ae13407d Scroll into view more aggressively 2024-12-01 19:16:24 +00:00
Dan Abramov e4aa00e140 Divide free space proportionally 2024-12-01 18:53:44 +00:00
Dan Abramov e291ae008e Scroll into view on tap if needed 2024-11-30 20:20:14 +00:00
Dan Abramov acc52c14d3 Fix positioning 2024-11-30 19:56:38 +00:00
Dan Abramov 5a020a8e30 Factor out a helper 2024-11-30 19:50:19 +00:00
Dan Abramov 6b01b95596 Scroll to initial 2024-11-30 19:46:21 +00:00
Dan Abramov 11d14be690 Fast path for initial styles 2024-11-30 19:10:06 +00:00
Dan Abramov b38ea9d6cc Fix profile and types 2024-11-30 18:59:57 +00:00
Dan Abramov 7a6d4ff91c Keep layouts in a shared value 2024-11-30 18:47:08 +00:00
Dan Abramov c06eb2b2b1 Respect initial page 2024-11-30 18:15:15 +00:00
Dan Abramov f2522aafdd Animate header color 2024-11-30 18:04:03 +00:00
Dan Abramov 97273be3a6 Add TODO 2024-11-30 18:04:03 +00:00
Dan Abramov 56cbaf5067 Fix an infinite swipe loop 2024-11-30 18:04:03 +00:00
Dan Abramov 24a24753bc Interpolate the indicator 2024-11-30 18:04:03 +00:00
Dan Abramov 9557eee808 Simplify the implementation
I was trying to be too smart and this was causing the current page event to lag behind if you continuously drag. Better to let the library do its job.
2024-11-30 18:04:03 +00:00
Dan Abramov 5e098fa609 Clarify more hacks 2024-11-30 18:04:03 +00:00
Dan Abramov 5aaa0d7dc8 Implement all interactions 2024-11-30 18:04:03 +00:00
Dan Abramov 505e3adc77 Sync scroll to swipe properly 2024-11-30 18:04:03 +00:00
Dan Abramov 6d134229d6 Extract TabBarItem 2024-11-30 18:04:03 +00:00
Dan Abramov 020d71a741 Sync scroll to swipe 2024-11-30 18:04:03 +00:00
Dan Abramov a26a84eb60 Track offset relative to current page 2024-11-30 18:04:03 +00:00
Dan Abramov 7732a7b8f3 Track pager state change in a worklet 2024-11-30 18:04:03 +00:00
Dan Abramov dc89c75e18 Track pager drag gesture in a worklet 2024-11-30 18:04:03 +00:00
Dan Abramov 6acbe15f54 Remove tab bar autoscroll
This will be replaced by a different mechanism.
2024-11-30 18:04:03 +00:00
Dan Abramov 82b227e64a Use regular ScrollView on native
The Draggable thing was needed for web-only behavior so we can drop it in the native fork.
2024-11-30 18:03:07 +00:00
Dan Abramov 247c6f452d Prune more dead code from the native version
We'll have to revisit this when adding tablet support but for now I'd prefer to remove a codepath that is not being tested or ever run.
2024-11-30 18:03:07 +00:00
Dan Abramov c2fdbbc86f Remove early onPageSelected call
It was added to try to do some work eagerly when we're sure which way the scroll is snapping. This is not necessarily a good idea though. It schedules a potentially expensive re-render right during the deceleration animation, which is not great. Whatever we're optimizing there, we should optimize smarter (e.g. prewarm just the network call). The other thing it used to help with is triggering the pager header autoscroll earlier. But we're going to rewrite that part differently anyway so that's not relevant either.
2024-11-30 18:03:07 +00:00
Dan Abramov 06d03fff94 Remove onPageSelecting event
It's difficult to tell what exactly it's supposed to represent, and in practice it's not really used aside from logging. Let's rip it out for now to keep other changes simpler.
2024-11-30 18:03:07 +00:00
Dan Abramov 972fb887ec Trim dead code from both forks 2024-11-30 18:03:07 +00:00
Dan Abramov ffd063151d Fork TabBar.web.tsx 2024-11-30 18:03:07 +00:00
dan 5f4a0f2881 "Contain" images with missing dimensions instead of cropping them (#6828)
* Show unknown aspect as "contain" for autosize

* Fix a flash of wrong position when opening in lightbox

* Fix last frame flash on Android
2024-11-28 23:29:45 +00:00