Bring back room item comments #188

Closed
opened 2026-04-10 21:19:59 +00:00 by hodlbod · 0 comments
Owner

This is a follow up to #187, which removed non-kind-9 content from rooms. However, we still want to show the UI we used to have for embedded non-chat comment. Here's how it used to look:

Screenshot 2026-04-10 at 2.13.18 PM.png

And here's how it looks now:

Screenshot 2026-04-10 at 2.13.51 PM.png

To do this:

  • In RoomItem.svelte, detect whether a chat message is simply a quote of some other event
  • If so, show the quoted event's comment summary badge, and pass the quoted event to RoomItemContent
  • Also pass the quoted event to ReactionSummary as innerEvent to merge zaps and reactions.
This is a follow up to https://gitea.coracle.social/coracle/flotilla/pulls/187, which removed non-kind-9 content from rooms. However, we still want to show the UI we used to have for embedded non-chat comment. Here's how it used to look: ![Screenshot 2026-04-10 at 2.13.18 PM.png](/attachments/452853ae-b705-4aec-b650-8bb712c44577) And here's how it looks now: ![Screenshot 2026-04-10 at 2.13.51 PM.png](/attachments/2a1485ae-f3f2-4dec-b70f-7f6acb11ec96) To do this: - [ ] In `RoomItem.svelte`, detect whether a chat message is simply a quote of some other event - [ ] If so, show the quoted event's comment summary badge, and pass the quoted event to `RoomItemContent` - [ ] Also pass the quoted event to ReactionSummary as `innerEvent` to merge zaps and reactions.
hodlbod added this to the Current milestone 2026-04-10 21:19:59 +00:00
hodlbod added the prioritydev labels 2026-04-10 21:19:59 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coracle/flotilla#188