about summary refs log tree commit diff
path: root/src/lib/labeling
Commit message (Collapse)AuthorAgeFilesLines
* Eric/preferences (#1873)Eric Bailey2023-11-122-107/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add initial preferences query, couple mutations * Remove unused * Clean up labels, migrate getModerationOpts * Add birth date handling * Migrate feed prefs * Migrate thread view prefs * Migrate homeFeed to use existing key name * Fix up saved feeds in response, no impl yet * Migrate saved feeds to new hooks * Clean up more of preferences * Fix PreferencesThreads load state * Fix modal dismissal * Small spacing fix --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Moderation settings fixes (#1336)Paul Frazee2023-08-302-488/+1
| | | | | | | | | | | | | | | | | | | * Default isAdultContentEnabled to false on all devices. The original intent of setting the default based on the device was to make the maximally-permissive choice. It turns out this was a mistake as it created sync issues between devices; users would be confused by the lack of congruity between them. We have to go with false by default to ensure sync is retained. * Update preferences model to use new sdk api * Delete dead code * Dont show the iOS adult content warning in content filtering settings if adult content is enabled * Bump @atproto/api@0.6.8 * Codebase style consistency
* [APP-736] Clarify hate-group moderation as it's currently used (#985)Paul Frazee2023-07-061-2/+3
| | | | | | | | | | | | * Clarify hate-group moderation as it's currently used * Update src/lib/labeling/const.ts Co-authored-by: Emily Liu <emilyliu7321@gmail.com> --------- Co-authored-by: Ansh <anshnanda10@gmail.com> Co-authored-by: Emily Liu <emilyliu7321@gmail.com>
* Various case and text fixes. (#757)Markus Amalthea Magnuson2023-06-131-1/+1
| | | | | | | | | * Various case and text fixes. * Update some labels per requested changes. --------- Co-authored-by: Ansh <anshnanda10@gmail.com>
* labels: add 'corpse' to 'violent' category (#802)bnewbold2023-05-301-1/+1
| | | Overlooked this when the label was added earlier.
* [APP-635] Mutelists (#601)Paul Frazee2023-05-112-4/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* small label updates (#612)bnewbold2023-05-111-5/+5
| | | | | | | | | | | * labels: fix 'consentual' typo This label has never been applied, so safe to just change it. * labels: new 'nsfl' label, under both porn and gore categories * labels: new account-security label (always warn) * labling: re-word spam subtitle
* [APP-639] Improve nsfw handling & force hidden on iOS (#605)Paul Frazee2023-05-093-23/+15
| | | | | | | | | | | * Identify adult content labels and handle them more specifically * Change adult content defaults to more conservative settings * Add an adultcontentenabled override that prohibits access on iOS * Improve usability of the content hider * Fix lint
* Add the !filter and !warn imperative labels (#580)Paul Frazee2023-05-043-2/+31
|
* Add icon-intolerant and behavior-intolerant to the political hategroup ↵Paul Frazee2023-05-041-1/+1
| | | | category (#579)
* Implement blocks (#554)Paul Frazee2023-04-282-5/+93
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix to embed labels lookup (#550)Paul Frazee2023-04-271-12/+10
| | | | | | | * Fix to embed labels lookup * Fix lint * Fix lint
* Refactor moderation to apply to accounts, profiles, and posts correctly (#548)Paul Frazee2023-04-273-9/+372
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* [APP 513] Label tuning (#496)Paul Frazee2023-04-191-3/+28
| | | | | * Label updates: break out sexual into 3 categories; tune defaults; improve descriptions * Fix misapplication of warning in notifications
* Add first round of labeling tools (#467)Paul Frazee2023-04-122-0/+69
* 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