about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* properly close the switch account dialog (#3558)Hailey2024-04-222-22/+13
| | | | | | | | | | | | | | | | | | | * 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.
* [GIFs] Reset scroll on query change (#3642)Samuel Newman2024-04-222-11/+18
| | | | | | | * scroll list to top on query change * dismiss keyboard on swipe list * don't need an effect
* Update French translations (#3644)surfdude292024-04-221-696/+292
| | | | | | | | | | | * Update French translations * Apply suggestions from code review Co-authored-by: Stanislas Signoud <signez@stanisoft.net> --------- Co-authored-by: Stanislas Signoud <signez@stanisoft.net>
* [GIFs] Add error boundary to GIF picker (#3643)Samuel Newman2024-04-222-4/+45
| | | | | | | | | | | | | * 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>
* Revert "Add layout transitions to the composer photo gallery on iOS (#3609)" ↵Samuel Newman2024-04-222-27/+10
| | | | | (#3649) This reverts commit 1a5b8b2c94ce1e66bff7e7295b799ae5b0613988.
* Update Finnish translations (#3630)Jan-Olof Eriksson2024-04-221-760/+60
| | | | | | | | | | | | | | | | | | | | | | | * 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
* Update Japanese translations (#3632)Takayuki KUSANO2024-04-221-14/+85
| | | | | | | | | * Update Japanese translations - Add GIPHY related messages - Add a11y related messagges - Update a message in empy search screen * Updated Japanese translation.
* Update messages.po (#3639)Minseo Lee2024-04-221-227/+299
|
* remove unnecessary padding from the right hand side of the post in threaded ↵Hailey2024-04-221-1/+0
| | | | (#3645)
* only open tag menu on long press (#3553)Samuel Newman2024-04-221-3/+13
|
* add maxwidth to app language dropdown (#3635)Samuel Newman2024-04-221-0/+1
|
* remove gate from updates (#3646)Hailey2024-04-222-4/+1
|
* Search in PWI (#3628)dan2024-04-201-92/+52
|
* Top/Latest for hashtags (#3625)dan2024-04-192-72/+177
| | | | | | | * Split HashtagScreen into two components * Hashtag tabs * Visual fixes
* Player improvement pre-reqs (#3618)Hailey2024-04-193-23/+53
| | | | | | | | | | | | | | | | | | | | | * 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
* fix onEndReached issue by forcing flatlist to scroll (#3623)Samuel Newman2024-04-192-3/+19
|
* Throttle gif search by 500ms (#3622)Samuel Newman2024-04-192-8/+30
| | | | | | | | | * debounce gif search by 300ms * Throttle it instead --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Add disable autoplay preference and group related settings into a dedicated ↵Samuel Newman2024-04-199-82/+262
| | | | | | | | | | | | | | | page (#3626) * 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>
* Ungate Top/Latest search (#3627)dan2024-04-192-68/+38
|
* [Statsig] Send locale info (#3621)dan2024-04-191-0/+6
|
* [Statsig] Update experiments (#3617)dan2024-04-196-26/+30
|
* align center post meta in threaded (#3615)Hailey2024-04-192-3/+11
| | | | | | | | | * align center post meta in threaded * put `displayNameStyle` in correct place * maybe? * with mobile padding too?
* add dimensions to data (#3616)Hailey2024-04-181-1/+1
| | | | | | | | | * add dimensions to data * keep alt text * put it in the right url * just send the original height and width instead
* Add GIF select to composer (#3600)Samuel Newman2024-04-1917-106/+904
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Update Japanese translation (#3557)Takayuki KUSANO2024-04-181-905/+16
| | | | | | | | | * Remove obsoleted entries * Add new translation messages. * Fix one translation * Update Japanese translation
* Update zh-TW localization (#3564)Frudrax Cheng2024-04-181-42/+34
| | | | | | | | | | | * Fix file format, punctuations and wording * Some minor adjustments * Update messages.po * Remove superseded strings * Some minor adjustments
* Update zh-CN localization (#3565)Frudrax Cheng2024-04-181-184/+67
| | | | | | | * Some minor adjustments * Update messages.po * Remove superseded strings
* Update catalan messages.po (#3595)Ivan Beà2024-04-181-16/+16
| | | | | New lines translated again, just a few You can check it @jordimas @darccio @ferranrego @MiquelAdell @mvdan @johnnydement @Mejans @surfdude29
* Fix splash screen language picker appearance on Chrome (#2952)Mary2024-04-181-16/+20
| | | | | * fix: correct language picker appearance on Chrome * fix: prevent chevron shrink on long language names
* Update messages.po (#3610)Gildásio Filho2024-04-181-17/+17
|
* Update Ukrainian translation (#3552)Dovgonosyk2024-04-181-257/+258
| | | Co-authored-by: Ukrainians <github-actions@github.com>
* Update Korean localization (#3551)Minseo Lee2024-04-181-105/+85
| | | | | | | * Update messages.po * Update messages.po * Update messages.po
* Add layout transitions to the composer photo gallery on iOS (#3609)Samuel Newman2024-04-182-10/+27
| | | | | | | | | * add layoutanimation + transition to images * make iOS-only * use useLayoutEffect * make iOS only (again)
* [Statsig] Slightly block the UI on gates (#3608)dan2024-04-182-1/+40
|
* [Statsig] Prefetch configs for other accounts (#3607)dan2024-04-181-21/+46
| | | | | | | | | | | | | * 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
* Add our own cache in front of Statsig (#3604)dan2024-04-181-32/+45
|
* [Statsig] Make gate checks lazily (#3594)dan2024-04-1813-62/+66
|
* don't underline handle in post meta (#3591)Hailey2024-04-182-31/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Cleanup files after upload on native (#3597)Hailey2024-04-171-6/+25
| | | | | | | | | | | | | | | | | | | * 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
* delete useMyFollowsQuery (#3529)Samuel Newman2024-04-172-80/+3
|
* properly animate the profile hover card (#3590)Hailey2024-04-171-6/+6
| | | | | | | * properly implement with `isOpen` and `isPositioned` * well, this works just as well * add `willChange`
* Add hovercards to "Reply To" (#3587)dan2024-04-163-15/+20
| | | | | * Add hovercard for Reply To * Tweak durations
* Scrolling while target is hovered and card is visible should hide the card ↵dan2024-04-161-36/+78
| | | | | | | | | | | | | | | | | | | (#3586) * 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
* Restructure feed hover state machine code (#3550)dan2024-04-161-57/+77
|
* Better dist strings for Sentry (#3584)Hailey2024-04-162-12/+6
| | | | | | | * better version codes for sentry * use a `.` to follow the same intended format as before * ignore dist build number
* Automatically add a link card for URLs in the composer (#3566)Hailey2024-04-164-79/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * automatically add a link card for urls in the composer simplify was paste check use a set simplify the cross platform reuse web implementation remove log pasting in the middle of a block of text proper regex dont re-add immediately after paste and remove don't use `byteIndex` lfg automatically add link card * `mayBePaste` * remove accidentally pasted url from comment
* Make ref_ always strings (#3583)dan2024-04-161-6/+18
| | | | | * Make ref_ always strings * Harden types
* Use the existing `ExternalLinkEmbed` for embed previews in the composer (#3579)Hailey2024-04-161-85/+63
| | | | | * use existing `ExternalLinkEmbed` for showing previews * cleanup
* Always send ref_ params (#3582)dan2024-04-161-4/+4
|
* add sort to searchPosts request (#3581)Samuel Newman2024-04-161-12/+7
|