* Integrate new reporting reasons * Update bnn to BNR, prefix all with reason* to match previous * Remap deprecations * Update naming, add notes about Bluesky-only reasons * Update reason * Move new defs to tools.ozone namespace * Add ozone lexicons to app view * Copy known values to merge defs * Update comments * Add reasonAppeal to new ozone namespace defs * Changeset * ❇️ Support new reporting categories in ozone (#3974) * ✨ Validate report reason using labeler service profile * ✅ Rename test * :rotating_lights: Fix lint issue * ✨ Use both appeal reason type for materialized views * ✨ Add old to new reason mapping for fallback * ✅ Update test snapshot * :rotating_lights: Fix lint issue * 🧹 Cleanup * :rotating_lights: Fix lint issue * ✨ Adjust report reason tagging * 📝 Additional comment for new migration --------- Co-authored-by: Foysal Ahamed <foysal@blueskyweb.xyz>
15 lines
381 B
Plaintext
15 lines
381 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`report reason createReport only passes for allowed reason types 1`] = `
|
|
Object {
|
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
"id": 1,
|
|
"reasonType": "tools.ozone.report.defs#reasonHarassmentTroll",
|
|
"reportedBy": "user(0)",
|
|
"subject": Object {
|
|
"$type": "com.atproto.admin.defs#repoRef",
|
|
"did": "user(1)",
|
|
},
|
|
}
|
|
`;
|