From c13d844416c8d91dc48757f6c94a5bc565eab419 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 27 Apr 2026 14:37:08 +0000 Subject: [PATCH] feat(threadview): render Nest cards in NoteMaster MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When the thread-screen master note is a kind:30312 MeetingSpaceEvent (Nest) or kind:30313 MeetingRoomEvent, route through RenderMeetingSpaceEvent / RenderMeetingRoomEvent — same path NoteCompose uses for non-master entries (NoteCompose.kt:1034-1040). Without this, the master note in the ThreadFeedView's FullBleedNoteCompose fell through to the generic note body and showed neither the Nest card nor the Join CTA. Users who landed on a Nest via search, quote, or naddr deep-link saw a blank-looking thread; tapping the in-feed card now (since the routing fix in 98202b6) opens NestActivity directly, but the thread view itself was the remaining gap. https://claude.ai/code/session_01RDpuki4t8StSg1CZcXnV5b --- .../ui/screen/loggedIn/threadview/ThreadFeedView.kt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/threadview/ThreadFeedView.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/threadview/ThreadFeedView.kt index f15309b04..f79e2c3a6 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/threadview/ThreadFeedView.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/threadview/ThreadFeedView.kt @@ -164,6 +164,8 @@ import com.vitorpamplona.amethyst.ui.note.types.RenderHighlight import com.vitorpamplona.amethyst.ui.note.types.RenderInteractiveStory import com.vitorpamplona.amethyst.ui.note.types.RenderLiveActivityChatMessage import com.vitorpamplona.amethyst.ui.note.types.RenderLnZap +import com.vitorpamplona.amethyst.ui.note.types.RenderMeetingRoomEvent +import com.vitorpamplona.amethyst.ui.note.types.RenderMeetingSpaceEvent import com.vitorpamplona.amethyst.ui.note.types.RenderMintRecommendation import com.vitorpamplona.amethyst.ui.note.types.RenderNamedSiteEvent import com.vitorpamplona.amethyst.ui.note.types.RenderPinListEvent @@ -262,6 +264,8 @@ import com.vitorpamplona.quartz.nip51Lists.relaySets.RelaySetEvent import com.vitorpamplona.quartz.nip52Calendar.appt.day.CalendarDateSlotEvent import com.vitorpamplona.quartz.nip52Calendar.appt.time.CalendarTimeSlotEvent import com.vitorpamplona.quartz.nip53LiveActivities.chat.LiveActivitiesChatMessageEvent +import com.vitorpamplona.quartz.nip53LiveActivities.meetingSpaces.MeetingRoomEvent +import com.vitorpamplona.quartz.nip53LiveActivities.meetingSpaces.MeetingSpaceEvent import com.vitorpamplona.quartz.nip54Wiki.WikiNoteEvent import com.vitorpamplona.quartz.nip57Zaps.LnZapEvent import com.vitorpamplona.quartz.nip57Zaps.splits.hasZapSplitSetup @@ -830,6 +834,10 @@ private fun FullBleedNoteCompose( accountViewModel, nav, ) + } else if (noteEvent is MeetingSpaceEvent) { + RenderMeetingSpaceEvent(baseNote, accountViewModel, nav) + } else if (noteEvent is MeetingRoomEvent) { + RenderMeetingRoomEvent(baseNote, accountViewModel, nav) } else if (noteEvent is TorrentEvent) { RenderTorrent( baseNote,