about summary refs log tree commit diff
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* Remove new_user_progress_guide (#4895)Eric Bailey2024-08-081-1/+0
|
* Remove explore_page_profile_card_social_proof (#4894)Eric Bailey2024-08-081-1/+0
|
* Remove ungroup_follow_backs gate (#4893)Eric Bailey2024-08-081-1/+0
|
* Cleanup flags (#4891)dan2024-08-082-15/+2
| | | | | * Remove launched gates * Remove disabled gates
* ALF suggested follows in profile header (#4828)Eric Bailey2024-08-081-0/+4
| | | | | | | | | * Refactor ProfileHeaderSuggestedFollows * Load fresh data every time * Oops, missed a file * Update ProfileCard.Link usage, tweak copy
* Added trans (#4890)Minseo Lee2024-08-081-1/+1
|
* Add logging of selected feed preference when displaying the following feed ↵Hailey2024-08-071-0/+6
| | | | (#4789)
* [Video] Visibility detection view (#4741)Hailey2024-08-071-0/+1
| | | | Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* Tweak feed manip to show cases of A -> B without further children (#4883)Hailey2024-08-061-8/+10
|
* Show more replies in Following (different heuristic) (#4880)dan2024-08-061-15/+79
|
* Show replies in context of their threads (#4871)dan2024-08-052-184/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Don't reconstruct threads from separate posts * Remove post-level dedupe for now * Change repost dedupe condition to look just at length * Delete unused isThread * Delete another isThread field It is now meaningless because there's nothing special about author threads. * Narrow down slice item shape so it does not need reply * Consolidate slice validation criteria in one place * Show replies in context * Make fallback marker work * Remove misleading and now-unused property It was called rootUri but it was actually the leaf URI. Regardless, it's not used anymore. * Add by-thread dedupe to non-author feeds * Add post-level dedupe * Always count from the start This is easier to think about. * Only tuner state need to be untouched on dry run * Account for threads in reply filtering * Remove repost deduping This is already being taken care of by item-level deduping. It's also now wrong and removing too much (since it wasn't filtering for reposts directly). * Calculate rootUri correctly * Apply Following settings to all lists * Don't dedupe intentional reposts by thread * Show reply parent when ambiguous * Explicitly remove orphaned replies from following/lists * Fix thread dedupe to work across pages * Mark grandparent-blocked as orphaned * Guard tuner state change by dryRun * Remove dead code * Don't dedupe feedgen threads * Revert "Apply Following settings to all lists" This reverts commit aff86be6d37b60cc5d0ac38f22c31a4808342cf4. Let's not do this yet and have a bit more discussion. This is a chunky change already. * Reason belongs to a slice, not item * Logically feedContext belongs to the slice * Update comment to reflect latest behavior
* Only show replies in Following if following all involved actors (#4869)dan2024-08-021-27/+17
| | | | | | | * Only show replies in Following for followed root and grandparent * Remove now-unnecessary check * Simplify condition
* Always limit Following replies to the people you follow (#4868)dan2024-08-011-12/+2
| | | | | * Limit feed replies to people you follow * Remove dead code
* Move theme controls to its own screen (#4866)Samuel Newman2024-08-011-0/+1
|
* Remove unused NoopFeedTuner (#4856)dan2024-07-311-10/+0
|
* useDedupe callback (#4855)GSMT2024-07-301-2/+2
|
* [Video] Uploads (#4754)Hailey2024-07-302-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * state for video uploads * get upload working * add a debug log * add post progress * progress * fetch data * add some progress info, web uploads * post on finished uploading (wip) * add a note * add some todos * clear video * merge some stuff * convert to `createUploadTask` * patch expo modules core * working native upload progress * platform fork * upload progress for web * cleanup * cleanup * more tweaks * simplify * fix type errors --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* Refactor feed slices (#4834)dan2024-07-252-62/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Copy FeedViewPost into FeedSliceItem * Explicitly construct feed slice items by copying known fields * Type rootItem as FeedViewPost for now Mergefeed logic relies on that. * Unify reason and __source for slice items * Move feedContext out of FeedSliceItem * Remove slice.isFlattenedReply * Remove unnused slice.ts * Inline slice.isFullThread * Refactor condition for clarity * Extract slice.includesThreadRoot * Encapsulate more usages of slice.rootItem into slice * Rename slice.rootItem so semi-private slice._feedPost * Move reason into slice * Simplify slice ctor argument * Reorder getters to reduce diff * Make feedContext a getter to reduce diff
* Priority notifications (#4798)Samuel Newman2024-07-242-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * new settings screen * bring back the spinner * add experimental language * fix typo, change leading * integrate priority notifications API * update package * use refetch instead of invalidateQueries * fix read-after-write issue by polling for update * add spinner for initial load * rm onmutate, it's overcomplicated * set error state eagerly * Change language in description Co-authored-by: Hailey <me@haileyok.com> * prettier * add `Toggle.Platform` * extract out mutation hook + error state * rm useless cache mutation * disambiguate isError and isPending * rm unused isError --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com> Co-authored-by: Hailey <me@haileyok.com>
* Hack-modify avi path to use smaller thumbs behind gate (#4816)Paul Frazee2024-07-231-0/+1
| | | | | * Hack-modify avi path to use smaller thumbs behind gate * Only use small thumbs on smaller rendering
* Use appropriate icons for toasts (#4803)Samuel Newman2024-07-232-3/+3
| | | | | | | | | | | | | * use appropriate icons for toasts * use info for session expiry * tweak size * message -> safeMessage --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* Remove invalid labelers when subscribing/unsubscribing (#4771)Eric Bailey2024-07-121-0/+2
| | | | | | | * Remove invalid labelers when subscribing/unsubscribing * Let the async lock cook * Use link to associate, leave copy as is
* Make all referrer info sync (#4782)Hailey2024-07-121-9/+8
|
* referrers for all platforms (#4514)Hailey2024-07-113-22/+19
|
* Create shared preferences API (#4654)Hailey2024-07-111-0/+1
|
* [ALF] Theme & palette cleanup (#4769)Eric Bailey2024-07-112-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Invert primary scale * Invert negative palette * Replace theme specific styles in Toggle * Remove theme specific colors from Button, improves secondary solid on dark mode * TextField * Remove from MessageItem * Threadgate editor * IconCircle * Muted words * Generate themes from hues * Cleanup * Deprecate more values, fix circular import * Invert positive too, hardly use * Button tweaks, some theme diffs * Match disabled state for negative button * Fix unread noty bg
* [Session] Experiment: Don't use withProxy (#4762)dan2024-07-101-0/+1
| | | | | * Reorder statements * Remove withProxy() usage behind a gate
* Add social proof to suggested follows (#4602)Samuel Newman2024-07-091-0/+1
| | | | | | | | | | | | | * replace unused `followers` prop with social proof * Introduce 'minimal' version * Gate social proof one explore page, fix space if no desc * Use smaller avis for minimal --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Fix RTL text rendering for display names (#4747)Hailey2024-07-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * header display name rtl support * highlighted post rtl * move `NON_BREAKING_SPACE` to an external constant * rtl support in search dropdown * profile card rtl * old profile card rtl * hover card * wizard list card * new chat * account card * chat header * clean up notifications * just force LTR on meta display name
* Fix misplaced '@' in RTL post meta. (#4531)Joel2024-07-073-6/+16
| | | | | Co-authored-by: Joel <joel.garplind+github@gmail.com> Co-authored-by: Hailey <me@haileyok.com>
* Ensure `/start` navigates to `/starter-pack` when clicking a link internally ↵Hailey2024-07-071-0/+6
| | | | | | | (#4745) * remove temporary metadata removal * ensure proper navigation
* Video compression in composer (#4638)Samuel Newman2024-07-056-0/+102
| | | | | Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com> Co-authored-by: Hailey <me@haileyok.com>
* Update statsPaul Frazee2024-07-051-1/+1
|
* [D1X] Pull out follow-backs for higher signal (#4719)Eric Bailey2024-07-041-2/+3
| | | | | | | | | | | * Pull out follow-backs for higher signal * Gate it * Fix early gate check --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* New user progress guides (#4716)Paul Frazee2024-07-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add the animated checkmark svg * Add progress guide list and task components * Add ProgressGuide Toast component * Implement progress-guide controller * Add 7 follows to the progress guide * Wire up action captures * Wire up progress-guide persistence * Trigger progress guide on account creation * Clear the progress guide from storage on complete * Add progress guide interstitial, put behind gate * Fix: read progress guide state from prefs * Some defensive type checks * Create separate toast for completion * List tweaks * Only show on Discover * Spacing and progress tweaks * Completely hide when complete * Capture the progress guide in local state, and only render toasts while guide is active * Fix: ensure persisted hydrates into local state * Gate --------- Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Add starter pack embeds to posts (#4699)Hailey2024-07-043-6/+71
| | | | | | | | | | | | | | | | | | | | | | | * starter pack embeds * revert test code * Types * add `BaseLink` * precache on click * rm log * add a comment * loading state * top margin --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Guided tour for new users (#4690)Paul Frazee2024-07-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add home guided tour (WIP) * Add web handling of the tour * Switch to our fork of rn-tourguide * Bump guided-tour * Fix alignment on android * Implement home page tour trigger after account creation * Add new_user_guided_tour gate * Add a title line to the tour tooltips * A11y improvements: proper labels, focus capture, scroll capture * Silence type error * Native a11y * Use FocusScope * Switch to useWebBodyScrollLock() --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Don't follow self, blocks or mute when following all; don't show blocks in ↵Hailey2024-07-031-0/+17
| | | | | | | | | | | list (#4715) * don't follow self when following all * also filter blocks * add more filtering to follow all * extract logic to functions
* [D1X] Integrate interstitials (#4698)Eric Bailey2024-07-031-0/+2
| | | | | | | | | | | | | | | * Use discriminated union * Integrate interstitials * Add gates and handling for variants * Only show interstitials for logged in accounts since flags are based on user ID * Nit --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* [D1X] Add interstitials, component tweaks, placeholders (#4697)Eric Bailey2024-07-031-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add interstitials, component tweaks, placeholders * Tweak feed card styles * Port over same fix to ProfileCard * Add browse more link on desktop * Rm Gemfile * Update logContext * Update logContext * Add click metric to cards * Pass through props to ProfileCard.Link * 2-up grid for profile cards on desktop web * Add secondary_inverted button color * Use inverted button color * Adjust follow button layout * Update skeleton * Use round button * Translate
* [D1X] Minimum interest experiment (#4653)Eric Bailey2024-07-021-0/+1
| | | | | | | | | | | | | | | | | | | * Change up copy * Add min # prompt * Improve style * Add gate * Tweak padding * Translate * Revert string change --------- Co-authored-by: dan <dan.abramov@gmail.com>
* Add events to signup for captcha results (#4712)Hailey2024-07-011-0/+6
|
* Handle pressing all go.bsky.app links in-app w/ resolution (#4680)Hailey2024-06-273-5/+24
|
* Add some events to landing screen (#4664)Hailey2024-06-261-0/+6
|
* Better starterpack embed (#4659)Hailey2024-06-264-3/+43
|
* Remove starterpack gate (#4645)Hailey2024-06-251-1/+0
|
* Set up the global 'joined this week' (#4625)Paul Frazee2024-06-241-0/+9
|
* use granular permission of for media perm request (#4609)Hailey2024-06-241-1/+3
|
* Starter Packs (#4332)Hailey2024-06-2112-2/+377
| | | | | | | Co-authored-by: Dan Abramov <dan.abramov@gmail.com> Co-authored-by: Paul Frazee <pfrazee@gmail.com> Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* [Statsig] Send Discover aggregate interactions (#4599)dan2024-06-222-0/+19
|