Monorepo for Tangled tangled.org
2

Configure Feed

Select the types of activity you want to include in your feed.

*: fmt

Lewis: May this revision serve well! <lewis@tangled.org>

author
Lewis
date (May 31, 2026, 10:54 AM +0300) commit f73a82be parent 587215db change-id wwqpquvw
+11 -6
+5 -2
bobbin/crates/xrpc/src/lib.rs
··· 1005 1005 const SHAPE: SubjectShape = SubjectShape::BareDid; 1006 1006 } 1007 1007 impl HasSubject for FeedCommentRecord { 1008 - const SHAPE: SubjectShape = 1009 - SubjectShape::OneOfCollections(&["sh.tangled.repo.issue", "sh.tangled.repo.pull", "sh.tangled.string"]); 1008 + const SHAPE: SubjectShape = SubjectShape::OneOfCollections(&[ 1009 + "sh.tangled.repo.issue", 1010 + "sh.tangled.repo.pull", 1011 + "sh.tangled.string", 1012 + ]); 1010 1013 } 1011 1014 impl HasSubject for LabelDefinitionRecord { 1012 1015 const SHAPE: SubjectShape = SubjectShape::BareDid;
+6 -4
bobbin/crates/xrpc/tests/aggregation.rs
··· 1312 1312 let (status, body) = json_response(resp).await; 1313 1313 assert_eq!(status, StatusCode::BAD_REQUEST, "{endpoint} input={input}"); 1314 1314 let msg = body["message"].as_str().unwrap_or_default(); 1315 - assert!( 1316 - msg.contains("sh.tangled.repo.issue") && msg.contains("sh.tangled.repo.pull") && msg.contains("sh.tangled.string"), 1317 - "{endpoint} input={input}: {msg}", 1318 - ); 1315 + assert!( 1316 + msg.contains("sh.tangled.repo.issue") 1317 + && msg.contains("sh.tangled.repo.pull") 1318 + && msg.contains("sh.tangled.string"), 1319 + "{endpoint} input={input}: {msg}", 1320 + ); 1319 1321 } 1320 1322 }) 1321 1323 .await;