about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* android: fix navigation bar always being bright even in dark mode (#3464)Kisaragi Hiu2024-04-121-0/+10
| | | | | | | | | | | | Right now both light mode and dark mode get light navigation bar, and looks jarring in the dark modes. This commit applies a more appropriate color before the UI thread runs (in app config), as well as applying the current theme background after the UI shell is mounted. This should fix #3332. Co-authored-by: Hailey <me@haileyok.com>
* Remove vertical scrollbars from views on native (#3429)Hailey2024-04-127-50/+87
| | | | | | | | | | | | | * remove vertical scrollbars * add to a few missing lists * gate this change * use `hide_vertical_scroll_indicators` * fix gate lint * fix bool
* Zhuzh sign in dialog (#3512)Eric Bailey2024-04-121-2/+13
|
* Profile card hover preview (#3508)Eric Bailey2024-04-1215-141/+542
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: initial user card hover * feat: flesh it out some more * fix: initialize middlewares once * chore: remove floating-ui react-native * chore: clean up * Update moderation apis, fix lint * Refactor profile hover card to alf * Clean up * Debounce, fix positioning when loading * Fix going away * Close on all link presses * Tweak styles * Disable on mobile web * cleanup some of the changes pt. 1 * cleanup some of the changes pt. 2 * cleanup some of the changes pt. 3 * cleanup some of the changes pt. 4 * Re-revert files * Fix handle presentation * Don't follow yourself, silly * Collapsed notifications group * ProfileCard * Tree view replies * Suggested follows * Fix hover-back-on-card edge case * Moar --------- Co-authored-by: Mary <git@mary.my.id> Co-authored-by: Hailey <me@haileyok.com>
* Enable updates for `production` behind `receive_updates` gate (#3496)Hailey2024-04-125-36/+41
| | | | | | | | | | | * add gate type * gate the updates * enable updates in `production` * web placeholder for `useOTAUpdates()` * update comment
* Remove obsolete strings from `en` message catalog (#3462)surfdude292024-04-121-697/+0
|
* Update German translations (#3466)imbstt2024-04-121-90/+90
| | | | | | | | | | | | | | | * Change occurrences of "likt" to "liked" * Improve existing German translations * Translate new strings for German translation * Apply suggestions from code review Co-authored-by: Felix Siebeneicker <felix.siebeneicker@outlook.de> --------- Co-authored-by: Felix Siebeneicker <felix.siebeneicker@outlook.de>
* Update pt-BR localization to latest version (#3472)Gildásio Filho2024-04-121-546/+28
| | | | | * Update messages.po * Update messages.po