-
Notifications
You must be signed in to change notification settings - Fork 554
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
Add custom label definitions and tune various behaviors #2237
Conversation
@@ -64,29 +46,22 @@ | |||
}, | |||
"modServicePolicies": { | |||
"type": "object", | |||
"required": ["reportReasons", "labelValues"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm dropping the custom report reasons for now, we'll FF with it but I think we gotta eject for now
"type": "array", | ||
"description": "The label values which this labeler publishes. Be sure to prefix custom labels with 'x-'.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just to check - we're doing away with both descriptions?
* codegen * clean up impl * fix up tests
d41cda1
to
343927e
Compare
…abel precedence rules
This PR updates the
3p-labelers
with custom label definitions and some simplifications to labeler declarations and label management. This PR leaves multiple TODOs but it's at a good stopping-point to review the approach being taken.com.atproto.label.defs#labelValueDefinition
labelerDid?: string
to the label preferencedetailed
flag (still needs backend implementation)