Commit graph

3311 commits

Author SHA1 Message Date
dan
861804629a
[GIFs] Remove consent flow ()
* Remove tenor from settings

* Remove consent flow
2024-04-23 00:18:03 +01:00
Samuel Newman
76449fb6ef
[GIFs] Replace GIPHY with Tenor ()
* replace GIPHY with Tenor

* remove "directly" wording

* replace GIPHY wording

* remove log
2024-04-22 23:39:32 +01:00
Hailey
1a4e05e9f9
properly close the switch account dialog ()
* properly close the switch account dialog

* use it for switch account as well

* ensure dialog is closed on unmount

Revert "properly check if the ref is null"

This reverts commit 8f563808a5d39389b0bc47a31e73cd147d1e7e8b.

properly check if the ref is null

ensure dialog is closed on unmount

* Revert "ensure dialog is closed on unmount"

This reverts commit a48548fd8ed53ae3eb08a0e05bb89f641c112b95.
2024-04-22 22:46:05 +01:00
Samuel Newman
f49d73dd00
[GIFs] Reset scroll on query change ()
* scroll list to top on query change

* dismiss keyboard on swipe list

* don't need an effect
2024-04-22 22:18:39 +01:00
surfdude29
0b3cc59019
Update French translations ()
* Update French translations

* Apply suggestions from code review

Co-authored-by: Stanislas Signoud <signez@stanisoft.net>

---------

Co-authored-by: Stanislas Signoud <signez@stanisoft.net>
2024-04-22 14:13:10 -07:00
Samuel Newman
f4e72cc83c
[GIFs] Add error boundary to GIF picker ()
* error boundary on gif picker

* add dialog.close for web users

* fix size of dialog on web

* Safer coercion

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2024-04-22 22:07:48 +01:00
Samuel Newman
27c4054fcb
Revert "Add layout transitions to the composer photo gallery on iOS ()" ()
This reverts commit 1a5b8b2c94.
2024-04-22 21:56:40 +01:00
Jan-Olof Eriksson
94ea2a3e56
Update Finnish translations ()
* Update messages.po

Repostausten yhdenmukaistamista

* Update messages.po

* Update messages.po

* Update messages.po

Typos

* Update messages.po

Couple of typos

* Update messages.po

Removed strings that are obsolete and no longer used.

* Update messages.po
2024-04-22 13:48:48 -07:00
Takayuki KUSANO
c525974d51
Update Japanese translations ()
* Update Japanese translations

- Add GIPHY related messages
- Add a11y related messagges
- Update a message in empy search screen

* Updated Japanese translation.
2024-04-22 13:48:22 -07:00
Minseo Lee
0e082cb094
Update messages.po () 2024-04-22 13:47:49 -07:00
Hailey
551e3330b9
remove unnecessary padding from the right hand side of the post in threaded () 2024-04-22 21:44:01 +01:00
Samuel Newman
b09903e3b8
only open tag menu on long press () 2024-04-22 21:29:29 +01:00
Samuel Newman
bcd88b088a
add maxwidth to app language dropdown () 2024-04-22 21:24:50 +01:00
Hailey
243769e657
remove gate from updates () 2024-04-22 21:06:25 +01:00
Matthieu Sieben
0e3a13b6df
docs(build): update build instructions () 2024-04-22 10:44:44 -07:00
dan
ce1c1e1cbe
Search in PWI () 2024-04-20 00:29:35 +01:00
dan
d3c0b48da3
Top/Latest for hashtags ()
* Split HashtagScreen into two components

* Hashtag tabs

* Visual fixes
2024-04-19 23:37:11 +01:00
Hailey
c0ca891501
Player improvement pre-reqs ()
* add dims to type

* save

* add the dimensions to the embed info

* add a new case

* add a new case

* limit this case to giphy

* use gate

* flip mp4/webp

* fix tests

* add new test
2024-04-19 23:31:20 +01:00
Samuel Newman
22e86c9903
fix onEndReached issue by forcing flatlist to scroll () 2024-04-19 23:26:04 +01:00
Samuel Newman
edbb18afa4
Throttle gif search by 500ms ()
* debounce gif search by 300ms

* Throttle it instead

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2024-04-19 22:55:53 +01:00
Samuel Newman
8b33ffdfb5
Add disable autoplay preference and group related settings into a dedicated page ()
* add autoplay preference

* group accessibility settings into a dedicated page

* fix gray background on web

* Put a11y first

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2024-04-19 22:10:37 +01:00
dan
ade2ea6172
Ungate Top/Latest search () 2024-04-19 21:58:18 +01:00
dan
c42a557417
[Statsig] Send locale info () 2024-04-19 15:51:41 +01:00
dan
55aea348c2
[Statsig] Update experiments () 2024-04-19 15:23:47 +01:00
Hailey
f709fbcbdd
align center post meta in threaded ()
* align center post meta in threaded

* put `displayNameStyle` in correct place

* maybe?

* with mobile padding too?
2024-04-19 05:38:54 +01:00
Hailey
c91f065be5
add dimensions to data ()
* add dimensions to data

* keep alt text

* put it in the right url

* just send the original height and width instead
2024-04-18 21:32:25 -07:00
Samuel Newman
ba1c4834ab
Add GIF select to composer ()
* create dialog with flatlist in it

* use alf for composer photos/camera/gif buttons

* add gif icons

* focus textinput on gif dialog close

* add giphy API + gif grid

* web support

* add consent confirmation

* track gif select

* desktop web consent styles

* use InlineLinkText instead of Link

* add error/loading state

* hide sideborders on web

* disable composer buttons where necessary

* skip cardyb and set thumbnail directly

* switch legacy analytics to statsig

* remove autoplay prop

* disable photo/gif buttons if external media is present

* memoize listmaybeplaceholder

* fix pagination

* don't set `value` of TextInput, clear via ref

* remove console.log

* close modal if press escape

* pass alt text in the description

* Fix typo

* Rm dialog

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2024-04-19 03:42:26 +01:00
Takayuki KUSANO
2090738185
Update Japanese translation ()
* Remove obsoleted entries

* Add new translation messages.

* Fix one translation

* Update Japanese translation
2024-04-18 14:28:49 -07:00
Frudrax Cheng
bf5363c7dc
Update zh-TW localization ()
* Fix file format, punctuations and wording

* Some minor adjustments

* Update messages.po

* Remove superseded strings

* Some minor adjustments
2024-04-18 14:28:08 -07:00
Frudrax Cheng
2fb41566e9
Update zh-CN localization ()
* Some minor adjustments

* Update messages.po

* Remove superseded strings
2024-04-18 14:27:19 -07:00
Ivan Beà
bf2dccd2a2
Update catalan messages.po ()
New lines translated again, just a few

You can check it @jordimas @darccio @ferranrego @MiquelAdell @mvdan @johnnydement @Mejans @surfdude29
2024-04-18 14:25:45 -07:00
Mary
08c6014751
Fix splash screen language picker appearance on Chrome ()
* fix: correct language picker appearance on Chrome

* fix: prevent chevron shrink on long language names
2024-04-18 14:21:09 -07:00
Gildásio Filho
3beb4ec63d
Update messages.po () 2024-04-18 13:54:23 -07:00
Dovgonosyk
91190e11e2
Update Ukrainian translation ()
Co-authored-by: Ukrainians <github-actions@github.com>
2024-04-18 13:53:54 -07:00
Minseo Lee
7e72a73bee
Update Korean localization ()
* Update messages.po

* Update messages.po

* Update messages.po
2024-04-18 13:44:14 -07:00
Samuel Newman
1a5b8b2c94
Add layout transitions to the composer photo gallery on iOS ()
* add layoutanimation + transition to images

* make iOS-only

* use useLayoutEffect

* make iOS only (again)
2024-04-18 12:37:22 -07:00
dan
bef7d8a325
[Statsig] Slightly block the UI on gates () 2024-04-18 17:53:51 +01:00
dan
6101c32bd9
[Statsig] Prefetch configs for other accounts ()
* Poll both current and other accounts

* Make createStatsigOptions a function

* Pass prefetchUsers with the initial request

* Add initializeCalled check

* Be resilient to object identity changes

* Decrease poll interval to 1 minute
2024-04-18 16:26:05 +01:00
dan
41b5b5b283
Add our own cache in front of Statsig () 2024-04-18 15:28:24 +01:00
dan
02becdf449
[Statsig] Make gate checks lazily () 2024-04-18 04:39:29 +01:00
Hailey
086dc93a7a
don't underline handle in post meta ()
* alignment

remove the unnecessary styles now

seriously?

flex-end everything

flex shrink

test

test

rm unneeded flex

flex the text

don't underline handle in post meta

* use `paddingLeft`

* use `paddingLeft` but with `4`

* Fix overflow color

* Use nbsp to make mobile work

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2024-04-18 03:09:10 +01:00
bnewbold
7e16276c04
embedr: return null width () 2024-04-17 14:41:29 -07:00
Jake Gold
56828c088d NOOP deploy test 2024-04-17 14:05:08 -07:00
Hailey
410f155988
Cleanup files after upload on native ()
* cleanup images after uploading from the composer

cleanup external embed images as well

cleanup files after upload

add `expo-file-system`

* remove test log

* await

* Revert "await"

This reverts commit 771814b40ce1395cac4f56853d8a9e793ca92c2f.

* just log an error if it throws
2024-04-17 12:49:22 -07:00
Samuel Newman
a2df81416b
delete useMyFollowsQuery () 2024-04-17 19:39:37 +01:00
Hailey
d5982891fa
properly animate the profile hover card ()
* properly implement with `isOpen` and `isPositioned`

* well, this works just as well

* add `willChange`
2024-04-17 02:51:25 +01:00
dan
480fa10e0b
Add hovercards to "Reply To" ()
* Add hovercard for Reply To

* Tweak durations
2024-04-16 23:44:41 +01:00
dan
1e26654a9b
Scrolling while target is hovered and card is visible should hide the card ()
* Don't remove the effect, it's not needed here (and wrong)

* Differentiate between hovering target and card

* Group related code closer

* Hide on scroll away

* Use named arguments

* Inline defaults

* Track reason we're showing

* Only hide on scroll away while hovering target
2024-04-16 23:32:49 +01:00
Jaz
4a771b9350
Merge pull request from bluesky-social/download_url
Add a handler for /download that directs you to the device-appropriat…
2024-04-16 17:29:50 -05:00
dan
8864e9aefe
Restructure feed hover state machine code () 2024-04-16 22:47:33 +01:00