Samuel Newman
bc2a3aee0c
fix avi follow deadzone ( #6639 )
2024-11-22 18:56:07 +00:00
Samuel Newman
3781074921
Add gif support to web ( #6433 )
...
* add gif support to web
* rm set dimensions
* rm effect from preview
* rm log
* rm use of {cause: error}
* fix lint
2024-11-22 17:58:29 +00:00
Samuel Newman
76ca72cf72
Dismissable toasts ( #6345 )
...
* dismissable toast
* adjust top offset
* improve a11y
* stretchy pull-down
* Dismiss web on tap
* Simplify code
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com >
2024-11-22 16:11:59 +00:00
Samuel Newman
5d4aaa5b5f
[a11y] Video - fix labels and make more detailed ( #6635 )
...
* fix labels and make more detailed
* move overall label to parent
2024-11-22 15:23:24 +00:00
Eric Bailey
72326844cd
Improve error name and message for signed-in only feeds ( #6577 )
...
* Improve error name and message for logged-in only feeds
* Revert msg edit
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com >
2024-11-22 14:45:59 +00:00
Samuel Newman
a5dbb35237
Use outline style for repost cancel button ( #6509 )
...
* use outline style for repost cancel button
* use trans macro in JSX
2024-11-22 13:41:24 +00:00
dan
a0acd514ab
[Lightbox] Fix jump when zooming out on iOS ( #6633 )
2024-11-22 13:34:16 +00:00
Paul Coroneos
5028753367
Fix lightbox spinner ( #6561 )
...
* refactor imageitem useanimatedreaction logic
* revert copy/paste fix
* revert last commit
* Fix conditions
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com >
2024-11-22 11:59:47 +00:00
dan
c858700c17
[Android] Lower Feed maxRenderPerBatch ( #6624 )
2024-11-22 04:35:53 +00:00
dan
625459add6
Fix some overdraw ( #6617 )
2024-11-21 23:40:37 +00:00
dan
dc3a42edb1
Reduce <Text> nesting ( #6615 )
...
* Move isOnlyEmoji out of RichText
To fix Fast Refresh.
* Make renderChildrenWithEmoji work with any children
* Always go through UITextView for consistency
It already contains the `selectable` and `iOS` checks inside.
* Move `emoji` check into `renderChildrenWithEmoji`
* Remove unnecessary intermediate UITextView nodes
* Make childHasEmoji check recursive
It didn't handle nested arrays etc correctly before.
* Remove the "children must be string" limitation
Should not be necessary now that we correctly handle nested arrays etc.
* Fix unnecessary regex reallocation
This doesn't have a global flag so it's okay to reuse.
* Remove unnecessary <Text> wrapper in RichText
2024-11-21 22:52:16 +00:00
Samuel Newman
9f1e648686
Fix overflow issue on iOS autocomplete, among other things ( #6611 )
...
* stop using ref in render
* fix display name fallback on web
* use unicode ellipsis for useGrapheme
* fix overflow issue
* sanitize handle/displayname on web
2024-11-21 22:32:32 +00:00
dan
cc60566cde
Fix Fast Refresh in <Text> files ( #6609 )
...
* Separate non-components from components
* Mark old Text as deprecated
* Move emoji utilities to non-React file
* Fix type
* Fix import
2024-11-21 20:44:40 +00:00
dan
ad83b8303e
Remove unused RN.Animated code ( #6584 )
...
* Remove unused RN.Animated code
* Rm more dead code
2024-11-21 12:10:34 +00:00
dan
6438ec6d28
Disable vertical scrollbars on Android only ( #6586 )
2024-11-21 12:10:16 +00:00
Andrew Aquino
78e34c8d35
preserve video's last known time when scrolling away ( #6239 )
2024-11-19 22:42:25 +00:00
dan
31b0d7cede
Render post menu items lazily (take two) ( #6473 )
...
* Revert "Revert "Render dropdown menu items lazily (#6437 )" (#6470 )"
This reverts commit 0b38c77faa .
* Lazily initialize menu items
* Split in two files
* Make it work on mobile
This is wonky because our useMenuDialog abstraction only has `isOpen` on web. I couldn't figure out a way to make it work xplat so I'm just tracking it myself manually.
* Fix typo in comment
2024-11-19 18:27:56 +00:00
Paul Coroneos
ff5ad38253
Leverage jsx transform to remove unnecessary react imports and update eslint config ( #6516 )
...
* update eslint config with jsx runtime
* leverage jsx transform to remove unnecessary react imports and update eslint config
* run yarn lint --fix to remove eslint disables related to react/prop-types that is now disabled
2024-11-19 15:33:07 +00:00
dan
cfc653a5f4
Split FeedSlice into FlatList rows ( #6507 )
2024-11-19 15:24:08 +00:00
Samuel Newman
ea3fe93be9
Attempted video perf improvements ( #6519 )
...
* remove layout animations from video
* only show button/spinner when necessary
* use native activityindicator rather than loader
2024-11-19 12:50:06 +00:00
dan
7b6c182723
Add useHandleRef as a lighter alternative for useAnimatedRef ( #6500 )
2024-11-18 22:21:47 +00:00
dan
ee49ca7a3d
Hardcode Giphy embed height ( #6475 )
2024-11-18 21:55:20 +00:00
dan
b87c94e6d9
Extract RepostButton inner dialog ( #6498 )
...
* Extract RepostButton inner dialog
* use `useDialogContext` instead of passing prop
---------
Co-authored-by: Samuel Newman <mozzius@protonmail.com >
2024-11-18 21:51:23 +00:00
dan
ec97352201
Fix layout jumps for images ( #6474 )
2024-11-18 21:42:32 +00:00
dan
0b38c77faa
Revert "Render dropdown menu items lazily ( #6437 )" ( #6470 )
...
This reverts commit e9fe8d90ef .
2024-11-17 21:06:22 +00:00
dan
474c4eff29
Use compiler-safe Reanimated get/set APIs ( #6391 )
...
* 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
2024-11-17 15:06:28 +00:00
Samuel Newman
8d1c93efc8
fix video thumb cleanup ( #6431 )
2024-11-17 14:56:15 +00:00
dan
e9fe8d90ef
Render dropdown menu items lazily ( #6437 )
2024-11-17 03:15:03 +00:00
dan
ddf2a64a72
[Web] Clicking root link twice refreshes the screen ( #6434 )
...
* [Web] Clicking root link twice refreshes the screen
* Scope it to navigation action
In practice this means -- just for the bottom mobile web tab bar.
2024-11-17 00:37:34 +00:00
Samuel Newman
c81e149749
use IAB for translate ( #6421 )
2024-11-16 20:06:24 +00:00
Samuel Newman
ebdbf55d14
manually implement drawertype logic ( #6419 )
2024-11-16 20:06:11 +00:00
Hailey
3bd1437133
[Statsig] Remove client downsampling ( #6153 )
2024-11-15 11:40:43 -08:00
dan
18aaa19b97
[Lightbox] Make the animation faster ( #6382 )
...
* [Lightbox] Make the animation faster
* Make it faster on Android too
2024-11-15 17:32:25 +00:00
Marc Rousavy
05312cce33
feat: Tweak shared element animation to make it much smoother ( #6336 )
2024-11-14 19:37:41 +00:00
Paul Frazee
9640f08b8d
Modify self labels for clarity
2024-11-13 21:54:24 +00:00
dan
4ca5267b98
[Lightbox] Small tweaks ( #6301 )
...
* Tweak lightbox springs
* Speed up dismiss speed
* Don't scroll to top while active lightbox
* Make Android a bit faster
2024-11-13 21:13:07 +00:00
Samuel Newman
017b7647b1
Add subtle web hover to treeview replies ( #6142 )
...
* add subtle web hover to treeview replies
* don't highlight indentation
* adjust position
* clean up some styles
2024-11-13 14:25:56 +00:00
Samuel Newman
6471e809aa
Add backdated post indicator ( #6156 )
...
* add backdate indicator
* pill style
* add indexedAt
* update indicator - new copy, date in pill
* complete alf migration
* accidentally committed the missing indexedAt *again*!
* copy tweak
2024-11-12 21:02:41 +00:00
Samuel Newman
f2916ce528
Slightly reduce rerenders in drawer ( #6270 )
...
* slightly reduce renders in drawer
* fix missing hook
2024-11-12 20:44:13 +00:00
Hailey
427f3a8bd7
Add email verification prompts throughout the app ( #6174 )
2024-11-12 11:18:53 -08:00
Samuel Newman
dd8d14e133
dedupe date parsing ( #6267 )
2024-11-12 18:50:37 +00:00
Samuel Newman
df3f71286d
add subtle web hover to "View full thread" ( #6256 )
2024-11-12 17:49:49 +00:00
Samuel Newman
b60629aff8
use hairline for feedlike ( #6257 )
2024-11-12 17:49:14 +00:00
Khuddite
ae97032c41
Increase bottom padding for mobile login/signup footer ( #6254 )
2024-11-12 17:26:13 +00:00
dan
b2e11d3171
Reduce Reanimated serialization traffic ( #6219 )
2024-11-12 17:19:52 +00:00
Trivikram Kamat
7008f61ea4
Update Node.js to 20.x in Dockerfile ( #6099 )
...
* Update Node.js to 20.x in Dockerfile
* Update Node.js types and engines entry to 20.x
* Update Node.js version in .nvmrc
* Use node version from .nvmrc in linting job
* Use Type Assertion for clearTimeout
2024-11-11 18:58:22 +00:00
JustSNguyen
2728de03d3
Fix unscrollable body when returning to desktop mode from mobile mode with navigation drawer open. ( #6201 )
...
* fix: only lock body when drawer is opened and not in desktop mode
* Reuse variable
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com >
2024-11-11 18:33:47 +00:00
dan
b4412f3333
Fix render loop on Android ( #6213 )
2024-11-10 20:30:31 +00:00
Hailey
89c93313a3
android scroll performance fixes pt. 1 ( #6196 )
2024-11-09 16:24:51 -08:00
dan
3aeee1e4aa
Fix web image layout ( #6195 )
2024-11-09 15:15:20 -08:00