about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Update Catalan messages.po (#3476)Ivan Beà2024-04-121-26/+26
| | | | | | | | | | | | | * Update messages.po new lines translated * Update messages.po change {nom} by {name} * Update messages.po update changes by @jordimas
* Update zh-TW Localization (#3478)Frudrax Cheng2024-04-121-964/+300
| | | | | | | | | * Update messages.po * Fix typo * Update messages.po * Remove superseded strings
* Update Korean localization (#3491)Minseo Lee2024-04-121-322/+307
| | | | | * Update messages.po * Update messages.po
* Remove report post option from PWI (#3510)Paul Frazee2024-04-121-21/+25
|
* PWI improvements (#3489)Paul Frazee2024-04-1223-477/+518
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Enable home and feeds on the PWI * Add global SigninDialog to drive useRequireAuth() * Tweak desktop styles * Make the logo in leftnav PWI a clickable home link * Add label * Improve dialog on web * Fix query key * Go to home after signout from settings screen * Filter out feeds from the discover listing for logged out users which are known to break without auth * Update profile header follow/subscribe to give signin prompt * Show profile feeds tabs on pwi * Add language selector to account creation footer and pwi left nav desktop --------- Co-authored-by: dan <dan.abramov@gmail.com>
* Store QP authors in the DID cache (#3509)Hailey2024-04-121-17/+26
| | | | | | | | | * store qp author in did cache * organize * this seems nicer * move outside of jsx
* Fix stale Notifications after push (#3507)dan2024-04-122-7/+31
|
* Fix: dont let notifications count go behind the icon (#3505)Paul Frazee2024-04-121-1/+1
|
* QT Jump Pt. 2 - Remove code duplication (#3506)Hailey2024-04-122-47/+34
| | | | | * remove code duplication * now it's safe to remove shimmer
* Fix optimistic like/repost (#3503)dan2024-04-121-14/+18
|
* Dont apply the content-language filter if it will remove all content (#3492)Paul Frazee2024-04-121-5/+15
| | | | | * Dont apply the content-language filter if it will remove all content * Improve code
* add `likeCount` etal. to `embedViewRecordToPostView` (#3500)Hailey2024-04-121-1/+5
| | | | | | | | | | | | | | | | | | | * fix qt jumps Revert "don't show loading placeholder if we don't need it" This reverts commit 406f801f217b2733fdd82732c0af74186fc47464. don't show loading placeholder if we don't need it add `likeCount` etal. to `embedViewRecordToPostView` * lint * Revert the shimmer change --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Use getSuggestions endpoint behind the gate (#3499)dan2024-04-123-5/+66
| | | | | | | | | * Move suggested follows out of the component * Add new suggestions implementation * Put new endpoint behind the gate * Make bottom less weird
* Added `new_profile_scroll_component` to `Gate` type (#3487)Hailey2024-04-111-0/+1
| | | | | | | | | * added to the types * alphabetical pls --------- Co-authored-by: dan <dan.abramov@gmail.com>
* Make bio area scrollable on iOS (#2931)Hailey2024-04-115-58/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix dampen logic prevent ghost presses handle refreshes, animations, and clamps handle most cases for cancelling the scroll animation handle animations save point simplify remove unnecessary context readme apply offset on pan find the RCTScrollView send props, add native gesture recognizer get the react tag wrap the profile in context create module * fix swiping to go back * remove debug * use `findNodeHandle` * create an expo module view * port most of it to expo modules * finish most of expomodules impl * experiments * remove refresh ability for now * remove rn module * changes * cleanup a few issues allow swipe back gesture clean up types always run animation if the final offset is < 0 separate logic update patch readme get the `RCTRefreshControl` working nicely * gate new header * organize
* Improve Android haptic, offer toggle for haptics in the app (#3482)Hailey2024-04-1112-200/+207
| | | | | | | | | | | | | | | * improve android haptics, offer toggle for haptics * update haptics.ts * default to false * simplify to `playHaptic` * just leave them as `feedInfo` * use a hook for `playHaptic` * missed one of them
* Search - only enable queries once tab is active (#3471)Samuel Newman2024-04-103-16/+61
| | | | | | | * only enable queries once tab is active * remove hasBeenTrue hook * make enabled optional
* [Statsig] Mark Testflight as staging tier (#3470)dan2024-04-101-1/+7
|
* [Statsig] Typecheck gates (#3467)dan2024-04-103-6/+12
| | | | | | | * Typecheck gates * Lint against untyped useGate() * Alphabetic
* Search - extra tabs (#3408)Samuel Newman2024-04-103-24/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | * add extra tab to search and translate tab names * add feature gate * flatten pager children * Revert "flatten pager children" This reverts commit 0050d42558c2c9b7bc4f2ad2df4ae2908fa26f65. * have pager children as array * move gate to custom hook * bundle titles and pages together * remove comment * Fix a crash * Use Views as children --------- Co-authored-by: dan <dan.abramov@gmail.com>
* 1.76 release preparations (#3459)Paul Frazee2024-04-0921-13777/+18445
| | | | | | | * Run intl:extract * Update dev-env to 0.3.4 * Test fixes
* Update zh-CN translation (#3433)Frudrax Cheng2024-04-091-824/+269
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update messages.po * Update messages.po by reviewer suggestions Co-authored-by: Leonid <kasumi@bangdream.moe> * Update messages.po by reviewer suggestions Co-authored-by: Leonid <kasumi@bangdream.moe> * Update messages.po by reviewer suggestions Co-authored-by: Leonid <kasumi@bangdream.moe> * Update messages.po by reviewer suggestions Co-authored-by: Leonid <kasumi@bangdream.moe> * Update messages.po by reviewer suggestions * Remove superseded strings * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po --------- Co-authored-by: Leonid <kasumi@bangdream.moe>
* Italian Localization (#3388)Gabriella2024-04-091-1158/+888
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Italian Localization New strings translated for v.1.75 * Update messages.po Changed two expressions following the revision of @marcomaroni * Update messages.po Additional changes to text applied following the suggestion of external translators. * Update messages.po Deleted extra stop and corrected a gramatical error * Update messages.po Added a correction on string 414 which had a grammatical error. * Update messages.po String with Labeler updated. * Update messages.po Additional changes made to wordings in traduced strings
* [Statsig] Send prev route name (#3456)dan2024-04-091-1/+6
|
* [Statsig] Instrument feed display (#3455)dan2024-04-094-15/+71
| | | | | * [Statsig] Instrument feed display * Back out leftover change
* Small logic cleanups (#3449)Eric Bailey2024-04-096-54/+213
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Small logic cleanups * Small logic cleanups (#3451) * remove a few things * oops * stop swallowing the error * queue callbacks * oops * log error if caught * no need to be nullable * move isClosing=true up * reset `isClosing` and `closeCallbacks` on close completion and open * run queued callbacks on `open` if there are any pending * rm unnecessary ref and check * ensure order of calls is always correct * call `snapToIndex()` on open * add tester to storybook --------- Co-authored-by: Hailey <me@haileyok.com>
* Use ALF for the embed consent modal (#3336)Samuel Newman2024-04-097-281/+250
|
* Onboarding tweaks (#3447)Eric Bailey2024-04-083-17/+7
| | | | | * Remove feed * Follow bsky.app
* [Experiment] Ignore the persisted tab (#3442)dan2024-04-081-7/+14
|
* [Experiment] Show "Follow Back" label (#3439)dan2024-04-081-7/+18
|
* [Statsig] Track like/follow metadata (#3435)dan2024-04-084-11/+75
| | | | | | | | | | | * Track becoming mutuals * Track poster/liker status * Track post and followee clout * Track follower and liker clout * Extract utility
* [Experiment] Turn off interval polling for Discover (#3431)dan2024-04-083-34/+54
| | | | | * Include feed URL in feed events * [Experiment] Turn off polling interval for Discover
* Auto-expand follow suggestions on web (#3432)dan2024-04-082-0/+12
|
* [Experiment] Disable min shell on foregrounding (#3430)dan2024-04-081-13/+31
|
* Implement back button fix for all places in the app (#3434)Hailey2024-04-081-1/+2
|
* fix dialog back button for android (#3428)Hailey2024-04-053-22/+38
| | | | | | | * fix types * remove unused async * add try/catch
* Enforce that text is wrapped in <Text>, remaining cases (#3421)dan2024-04-0512-57/+55
| | | | | | | | | | | | | | | | | | | | | * Toggle.Button -> Toggle.ButtonWithText * Simplify Prompt.Cancel/Action * Move lines down for better diff * Remove ButtonWithText * Simplify types * Enforce Button/ButtonText nesting * Add suggested wrapper in linter error * Check <Trans> ancestry too * Also check literals * Rm ts-ignore
* Remove special cases for some buttons with text (#3412)dan2024-04-058-96/+106
| | | | | | | | | | | * Toggle.Button -> Toggle.ButtonWithText * Simplify Prompt.Cancel/Action * Move lines down for better diff * Remove ButtonWithText * Simplify types