@julian @angus @nutomic i'm not sure what exactly you mean, but the exact types don't really matter (and shouldn't matter). for `context` you would just match against the id. after grouping by context, you are free to present in whichever way you want -- you can present in a flat chronological list, or in a nested reply tree sorted by some algorithmic scoring, it's all the same.
Conversation
Notices
-
Embed this notice
infinite love ⴳ (trwnh@mastodon.social)'s status on Sunday, 21-Apr-2024 01:05:37 JST infinite love ⴳ -
Embed this notice
Evan Prodromou (evan@cosocial.ca)'s status on Sunday, 21-Apr-2024 01:05:37 JST Evan Prodromou @trwnh @julian @angus @nutomic the `inReplyTo` property and `replies` collection give you what you need to build a tree structure.
-
Embed this notice
infinite love ⴳ (trwnh@mastodon.social)'s status on Sunday, 21-Apr-2024 01:32:12 JST infinite love ⴳ @evan @julian @angus @nutomic yeah, i'm just saying that crawling the tree is optional if you already have context. pleroma for example presents things in a flat chronological list, like an imageboard.
example: post 3 is a reply to post 1, it has replies in posts 4 5 and 87. post 6 is in reply to post 2. there's an option to show the tree as indentation. if that option is disabled, you see posts in order 1 2 3 4 5 ... 87. if that option is enabled you see posts in order 1 2 6 3 4 5 87 and so on
-
Embed this notice
infinite love ⴳ (trwnh@mastodon.social)'s status on Sunday, 21-Apr-2024 01:32:12 JST infinite love ⴳ @evan @julian @angus @nutomic similarly, a chat app might not have `inReplyTo` on every single message. in fact, the vast majority of chat messages probably won't have `inReplyTo`. in this case, building a tree would fail spectacularly. all the chat messages are grouped together by the context of being in the same room, not by being in a reply tree. the reply is just metadata, like in discord or indieweb reply-contexts or the old youtube "video replies" feature.
-
Embed this notice
Evan Prodromou (evan@cosocial.ca)'s status on Sunday, 21-Apr-2024 01:32:12 JST Evan Prodromou @trwnh @julian @angus @nutomic I think you'd need to reify the room as a `Group`, not leave it in `context`.
-
Embed this notice
infinite love ⴳ (trwnh@mastodon.social)'s status on Sunday, 21-Apr-2024 02:25:40 JST infinite love ⴳ @evan @julian @angus @nutomic i dont see why you would. there can be multiple rooms/channels in a guild/server/group. just like there can be multiple topics in a forum category.
-
Embed this notice
Evan Prodromou (evan@cosocial.ca)'s status on Sunday, 21-Apr-2024 02:25:40 JST Evan Prodromou
-
Embed this notice