about summary refs log tree commit diff
path: root/src/state/models/content/post-thread.ts
Commit message (Collapse)AuthorAgeFilesLines
* Remove post thread (#1920)Eric Bailey2023-11-151-342/+0
| | | | | | | * Delete post-thread model * Remove post-thread-item * Remove unused types
* Move muted threads to new persistence + context (#1838)Paul Frazee2023-11-081-12/+0
|
* Replace all logs with new loggerEric Bailey2023-11-041-1/+2
|
* Fix other error logs while I'm at itEric Bailey2023-11-041-1/+1
|
* Fix: only use scroll-positioning control on thread when looking at replies ↵Paul Frazee2023-10-031-0/+8
| | | | (#1587)
* Move home feed and thread preferences to server (#1507)Paul Frazee2023-09-211-12/+8
| | | | | | | | | | | * Move home feed and thread preferences to server * Fix thread usage of prefs * Remove log * Bump @atproto/api@0.6.16 * Improve type usage
* Add thread sort settings (#1475)Paul Frazee2023-09-191-7/+30
| | | | | | | | | * Add thread sorting preferences * UI tweaks * Tweak settings * Tune the copy
* Sort thread replies by likes (#1356)Paul Frazee2023-09-011-1/+5
| | | | | * Sort replies by likes * Types fix
* Labeling & moderation updates [DRAFT] (#1057)Paul Frazee2023-08-031-14/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First pass moving to the new labeling sdk (it compiles) * Correct behaviors around interpreting label moderation * Improve moderation state rendering * Improve hiders and alerts * Improve handling of mutes * Improve profile warnings * Add profile blurring to profile header * Add blocks to test cases * Render labels on profile cards, do not filter * Filter profiles from suggestions using moderation * Apply profile blurring to ProfileCard * Handle blocked and deleted quote posts * Temporarily translate content filtering settings to new labels * Fix types * Tune ContentHider & PostHider click targets * Put a warning on profilecard label pills * Fix screenhider learnmore link on mobile * Enforce no-override on user avatar * Dont enumerate profile blur-media labels in alerts * Fixes to muted posts (esp quotes of muted users) * Fixes to account/profile warnings * Bump @atproto/api@0.5.0 * Bump @atproto/api@0.5.1 * Fix tests * 1.43 * Remove log * Bump @atproto/api@0.5.2
* Use a post and handle-resolution cache to enable quick postthread loading ↵Paul Frazee2023-08-031-3/+42
| | | | | | | | | | | (#1097) * Use a post and handle-resolution cache to enable quick postthread loading * Fix positioning of thread when loaded from cache and give more visual cues * Include parent posts in cache * Include notifications in cache
* [APP-705] Metrics revamp pt2 (#896)Ansh2023-06-271-226/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Spelling (#772)Josh Soref2023-05-301-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* [APP-635] Mutelists (#601)Paul Frazee2023-05-111-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Remove some confusing horizontal lines in threads (#566)Paul Frazee2023-05-021-2/+2
|
* Implement blocks (#554)Paul Frazee2023-04-281-2/+41
| | | | | | | | | | | | | | | | | | | | | | | | | * 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-271-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Performance fixes with new getPosts (#525)Paul Frazee2023-04-241-37/+21
| | | | | | | | | * 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
* Thread muting [APP-29] (#500)Paul Frazee2023-04-201-0/+40
| | | | | | | * Implement thread muting * Apply filtering on background fetched notifs * Implement thread-muting tests
* #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>
* Update AtUri import to use official package with fix for usernames that ↵Paul Frazee2023-04-071-1/+1
| | | | start with numbers (close #414) (#418)
* Small fix: run in actionPaul Frazee2023-04-071-1/+3
|
* Reorganize state models for clarity (#378)Paul Frazee2023-04-031-0/+372