Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature - 3rd party labelers #2032

Merged
merged 305 commits into from Mar 6, 2024
Merged

Feature - 3rd party labelers #2032

merged 305 commits into from Mar 6, 2024

Conversation

dholms
Copy link
Collaborator

@dholms dholms commented Jan 9, 2024

dholms and others added 24 commits February 27, 2024 14:36
* Update sdk to support 3p labeler preferences

* Stick with intolerance instead of hate for the label group id

* wip expand labels and label groups

* Output moderationOpts (computed) and modsPref (unaltered)

* Add tests for enabling/disabling mod services

* Add atproto-labelers header config

* Expand labels and label groups in definitions

* Fix tests

* Tweaks to labels

* Remove label descriptions and improve output types on labels and label groups

* Add mocker to exported API

* Improve types of label and label group definitions

* Rework moderation prefs to continue using global labelgroup settings and only disable label groups per moderator

* Simplify encoding of the label preferences in definitions

* Add target constraints to labels

* Refactor the moderation sdk to derive more behaviors from the definition files

* Small cleanup

* Add hiding tool to modsdk

* Track filter causes

* Make mute state an alert

* Fix: dont blur profileview for blocks

* Prioritize causes by severity

* Add moderateNotification() and drop quote post moderation code

* Add mocker functions for notifications

* Improve mock data
* codegen

* clean up impl

* fix up tests
Add custom label definitions and tune various behaviors
@dholms dholms marked this pull request as ready for review March 6, 2024 22:32
@dholms dholms merged commit 3988543 into main Mar 6, 2024
10 checks passed
@dholms dholms deleted the 3p-labelers branch March 6, 2024 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants