Monorepo for Tangled tangled.org
2

Configure Feed

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

bobbin: allow sh.tangled.string to be used when trying to list comments

Signed-off-by: dawn <dawn@mm.st>

author
ptr.pet
committer
Tangled
date (May 31, 2026, 9:06 AM +0300) commit 587215db parent 6bf3194e
+5 -5
+1 -1
bobbin/crates/xrpc/src/lib.rs
··· 1006 1006 } 1007 1007 impl HasSubject for FeedCommentRecord { 1008 1008 const SHAPE: SubjectShape = 1009 - SubjectShape::OneOfCollections(&["sh.tangled.repo.issue", "sh.tangled.repo.pull"]); 1009 + SubjectShape::OneOfCollections(&["sh.tangled.repo.issue", "sh.tangled.repo.pull", "sh.tangled.string"]); 1010 1010 } 1011 1011 impl HasSubject for LabelDefinitionRecord { 1012 1012 const SHAPE: SubjectShape = SubjectShape::BareDid;
+4 -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"), 1317 - "{endpoint} input={input}: {msg}", 1318 - ); 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 + ); 1319 1319 } 1320 1320 }) 1321 1321 .await;