about summary refs log tree commit diff
path: root/src/state/models/feeds
Commit message (Collapse)AuthorAgeFilesLines
* [APP-705] Metrics revamp pt2 (#896)Ansh2023-06-275-142/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * export track function from analytics.tsx * fix create account tracking * fix tracking sign in * add custom feed events * fix type errors * refactor create post event * add profile follow & unfollow events * refactor PostsFeedSliceModel into its own file * refactor PostThreadItemModel into its own file * reorganize code a lil bit * refactor post-thread-item to use post-feed-item model under the hood * add post events * add post reply tracking * track custom feed load more * track list subscribe and unsubscribe
* Bump @types/react to ^18 and adjust types (#889)Logan Rosen2023-06-221-7/+19
|
* feat: add home feed preferences settings modal and tunersEric Bailey2023-06-161-1/+13
|
* Fix a bunch of type errors and add a type-check to the github workflows (#837)Paul Frazee2023-06-021-1/+1
| | | | | | | | | | | | | | | * Add yarn type-check * Rename to yarn typecheck * Fix a collection of type errors * Add typecheck to automated tests * add `dist` to exluded folders tsconfig --------- Co-authored-by: Ansh Nanda <anshnanda10@gmail.com>
* More custom-feed behavior fixes [APP-678] (#831)Paul Frazee2023-06-022-38/+22
| | | | | | | | | | | | | | | | | | | | | * Remove extraneous custom-feed health check * Fixes to custom feed preference sync * Fix lint * Remove dead code (client-side suggested posts constructor) * Enforce the feed-fetch limit in the client if the generator fails to observe the parameter * Bump the number of items fetched in the multifeed per feed from 5 to 10 * Reset the currently active feed when the pinned feeds change * Some fixes to icons * Add a prompt to load latest to the multifeed * Remove debug
* Fixes to feed preference and state sync [APP-678] (#829)Paul Frazee2023-06-011-17/+0
| | | | | | | | | * Remove extraneous custom-feed health check * Fixes to custom feed preference sync * Fix lint * Fix to how preferences are synced to enable membership modifications
* Spelling (#772)Josh Soref2023-05-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * spelling: account Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: activated Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: additional Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: appropriate Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: bskyweb Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: description Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: display Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: highlighted Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: javascript Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: locally-hosted Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: notification Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: occurring Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: parenthetical Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: preexisting Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: prefetched Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: punctuation Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: simplicity Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --------- Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* error for custom feed when it is not valid or offlienAnsh Nanda2023-05-251-0/+17
|
* add empty state for custom feedAnsh Nanda2023-05-251-0/+8
|
* Add feeds tabPaul Frazee2023-05-253-265/+486
|
* Update load latest to show when there's new activity with an indicatorPaul Frazee2023-05-251-1/+3
|
* optimistic updates for liking custom feedsAnsh Nanda2023-05-221-12/+24
|
* Fix lintPaul Frazee2023-05-181-1/+0
|
* Drop the hard-coded what's hot algoPaul Frazee2023-05-181-54/+2
|
* Update saved feeds to use preferencesPaul Frazee2023-05-181-16/+4
|
* Clean up the custom-feed modelPaul Frazee2023-05-171-77/+38
|
* Unify the display name fallback behaviorPaul Frazee2023-05-171-0/+8
|
* Reorganize custom-feed state models and add the missing _reactKey attributePaul Frazee2023-05-173-372/+3
|
* Merge branch 'main' into custom-algosPaul Frazee2023-05-172-0/+5
|\
| * [APP-635] Mutelists (#601)Paul Frazee2023-05-112-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add lists and profilelist screens * Implement lists screen and lists-list in profiles * Add empty states to the lists screen * Switch (mostly) from blocklists to mutelists * Rework: create a new moderation screen and move everything related under it * Fix moderation screen on desktop web * Tune the empty state code * Change content moderation modal to content filtering * Add CreateMuteList modal * Implement mutelist creation * Add lists listings * Add the ability to create new mutelists * Add 'add to list' tool * Satisfy the hashtag hyphen haters * Add update/delete/subscribe/unsubscribe to lists * Show which list caused a mute * Add list un/subscribe * Add the mute override when viewing a profile's posts * Update to latest backend * Add simulation tests and tune some behaviors * Fix lint * Bump deps * Fix list refresh after creation * Mute list subscriptions -> Mute lists
* | allow changing pinned feed order on webAnsh Nanda2023-05-161-1/+38
| |
* | fix unlikingAnsh Nanda2023-05-161-1/+1
| |
* | make sure state is being synced across componentsAnsh Nanda2023-05-162-25/+21
| |
* | allow for pinning saved feedsAnsh Nanda2023-05-162-0/+46
| |
* | like/unlike improvements WIPAnsh Nanda2023-05-151-7/+41
| |
* | new design for custom feed previewAnsh Nanda2023-05-151-15/+62
| |
* | remove tab bar underline animationAnsh Nanda2023-05-151-0/+30
| |
* | saved feeds in tab barAnsh Nanda2023-05-151-0/+10
| |
* | custom feed screenAnsh Nanda2023-05-152-7/+44
| |
* | view all saved algos in settingsAnsh Nanda2023-05-132-9/+8
| |
* | create algo-item model and redefine data modelsAnsh Nanda2023-05-133-36/+74
| |
* | show algos by user on profileAnsh Nanda2023-05-121-7/+9
| |
* | remove unncessary code from actorFeedModelAnsh Nanda2023-05-121-17/+1
| |
* | actor feeds modelAnsh Nanda2023-05-121-0/+135
| |
* | bookmarked feeds modelAnsh Nanda2023-05-121-0/+134
|/
* [APP-549] Language controls for Whats Hot (#563)Paul Frazee2023-05-021-0/+12
| | | | | | | | | | | * Add a content-language preference control * Update whats hot to only show the selected languages and to refresh on lang pref changes * Fix lint * Fix tests * Add missing accessibility role
* Implement blocks (#554)Paul Frazee2023-04-282-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | * Quick fix to prompt * Add blocked accounts screen * Add blocking tools to profile * Blur avis/banners of blocked users * Factor blocking state into moderation dsl * Filter post slices from the feed if any are hidden * Handle various block UIs * Filter in the client on blockedBy * Implement block list * Fix some copy * Bump deps * Fix lint
* Refactor moderation to apply to accounts, profiles, and posts correctly (#548)Paul Frazee2023-04-272-10/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add ScreenHider component * Add blur attribute to UserAvatar and UserBanner * Remove dead suggested posts component and model * Bump @atproto/api@0.2.10 * Rework moderation tooling to give a more precise DSL * Add label mocks * Apply finer grained moderation controls * Refactor ProfileCard to just take the profile object * Apply moderation to user listings and banner * Apply moderation to notifications * Fix lint * Tune avatar & banner blur settings per platform * 1.24
* Fix: dont request more than 25 posts at a time (close [APP-561]) (#534)Paul Frazee2023-04-251-4/+10
|
* If adding the user's post when empty, just refresh (#530)Paul Frazee2023-04-241-0/+3
|
* Rework how recently-created posts are added to the feed (repeat posts issue) ↵Paul Frazee2023-04-241-24/+23
| | | | | | | | | (#527) * Rework new-post behavior to just add the user's created post to the top * Only add post to top when not a reply * Fix: run update in action
* Performance fixes with new getPosts (#525)Paul Frazee2023-04-241-32/+44
| | | | | | | | | * Update notifications to fetch in a batch using getPosts * Improve search perf with getPosts * Bump @atproto/api@0.2.9 * Just use post uri for key
* Feed fixes: repeat posts & nonreplies showing up in the wrong place (#516)Paul Frazee2023-04-221-6/+4
| | | | | * Fix the repeat posts issue on the home feed * Fix: replies no longer show up in the no-replies feed
* Thread muting [APP-29] (#500)Paul Frazee2023-04-202-11/+54
| | | | | | | * Implement thread muting * Apply filtering on background fetched notifs * Implement thread-muting tests
* Feed and notifs improvements (#498)Paul Frazee2023-04-192-120/+75
| | | | | | | | | | | | | | | | | * Reduce frequency of the notifications sync * Reduce frequency of home feed polling * Ensure loading spinner is visible in notifications * Render notifications loading spinner in the flatlist * Fixes and performance improvements to notifications * Render 30+ on notifications if at max * Fix issue with repeating posts in home feed * Dont check for unread notifs if we're already at max
* #420: add updateDataOptimistically utility to disallow like counter out of ↵Ansh2023-04-191-31/+43
| | | | | | | | | | | | | | | sync (#446) * add isLikedPressed flag to disallow like counter out of sync * create revertible helper for updateDataOptimistically * test implementation * Update updateDataOptimistically() and apply to reposts --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Add first round of labeling tools (#467)Paul Frazee2023-04-121-139/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rework notifications to sync locally in full and give users better control * Fix positioning of load more btn on web * Improve behavior of load more notifications btn * Fix to post rendering * Fix notification fetch abort condition * Add start of post-hiding by labels * Create a standard postcontainer and improve show/hide UI on posts * Add content hiding to expanded post form * Improve label rendering to give more context to users when appropriate * Fix rendering bug * Add user/profile labeling * Implement content filtering preferences * Filter notifications by content prefs * Update test-pds config * Bump deps
* Fix repost rendering (#405)Paul Frazee2023-04-061-1/+1
|
* Rework the me.follows cache to reduce network load (#384)Paul Frazee2023-04-031-0/+4
|
* Improve "Load more" error handling in feeds (#379)Paul Frazee2023-04-032-17/+48
| | | | | | | * Add explicit load-more error handling to posts feed * Add explicit load-more error handling to notifications feed * Properly set hasMore to false after an error