about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* bump api, remove `as number` from types (#3580)Hailey2024-04-161-4/+3
| | | | | * bump api, remove `as number` from types * bump dev env
* Allow a post to contain only a quote (#3577)Hailey2024-04-161-1/+6
| | | | | * allow posts with only a quote * bump version while we're at it
* Hide translate/copy text options when `!no-unauthenticated` (#3573)Samuel Newman2024-04-161-17/+21
| | | | | | | | | * hide translate/copy text options when no-pwi * only do this for no-unauth * always show if logged in * swap order of OR
* Add icons for onboarding (#3571)Eric Bailey2024-04-1620-0/+102
|
* Fix error getting through by primary feed sort (#3562)Paul Frazee2024-04-151-9/+3
|
* Release 1.77.0 (#3549)Paul Frazee2024-04-1321-8298/+9471
| | | | | * A couple test fixes * Intl extract
* Improve the language behaviors around the PWI (#3545)Paul Frazee2024-04-136-14/+111
| | | | | | | | | * Handle leftnav overflow with longer languages' copy * Update the language dropdown to set ALL language prefs * Add hackfix to language cachebusting on PWI * Reset feeds on language change
* fix: only close drawer if directly tapping backdrop (#3534)Mary2024-04-141-7/+13
|
* Fix Android in-app browser closing when switching apps (#3546)Nick Manos2024-04-131-3/+5
|
* Cache DID and profile basic on profile card presses (#3523)Hailey2024-04-131-2/+14
| | | | | | | | | | | * cache profiles add onPress back rm log cache profile and did when pressing profile card * minimal diff
* Remove extra wrapper on notification user links (#3548)Hailey2024-04-131-24/+23
|
* Fix hover card animation with a reducer (#3547)dan2024-04-141-85/+138
|
* Update Ukrainian translation (#3537)Dovgonosyk2024-04-131-812/+116
| | | Co-authored-by: Ukrainians <github-actions@github.com>
* Increase hit slop for web's app language picker (#3535)Mary2024-04-132-2/+13
| | | | | | | | | * fix: make app language picker tap region larger * fix: add right padding on drawer signup card noticeable on portuguese language * fix: mimic hitSlop
* Update Japanese translation (#3425)Takayuki KUSANO2024-04-131-37/+50
| | | | | | | | | | | | | * Updated Japanese translation and removed obsolete messages * Forgot to add trailing question mark * Unified translation of "birthday"/"birthdate"/"birth date", undo unnecessary entries to reduce the difference * Translated new strings * Unified translation of 'copyright violation' * Sync with main latest, unified translation of 'people'
* Fix oopsie (#3538)dan2024-04-131-0/+1
|
* Fade in animation for card (#3521)Hailey2024-04-131-59/+107
| | | | | | | | | | | | | | | | | | | | | | | | | * fade in and out the card one more fix dont leave an invisible card behind okay just about there move styles glitch clear hide timeouts on card enter about there * Tweak timings * Rewrite with explicit states --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* add ref_src (#3532)Samuel Newman2024-04-131-2/+6
|
* [Statsig] Send ref source (#3531)dan2024-04-131-0/+11
| | | | | | | * [Statsig] Send ref source * Add is web check * Fix types
* Profile hovers (#3518)Eric Bailey2024-04-135-49/+64
| | | | | | | | | * Add hover card for mentions * Reposted by * Fix key * Add to composer reply to
* [Embeds] "Embed post" post dropdown option (#3513)Samuel Newman2024-04-135-1/+229
| | | | | | | | | | | | | | | | | | | | | | | | | * add embed option to post dropdown menu * put embed post button behind a gate * increase line height in dialog * add gate to gate name union * hide embed button if PWI optout * Ungate embed button * Escape HTML, align implementations * Make dialog conditionally rendered * Memoize EmbedDialog * Render dialog lazily --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* cache fix for search post results (#3520)Hailey2024-04-122-21/+36
|
* wait a sec before showing card (#3516)Hailey2024-04-121-9/+13
|