From adc1aef3dbc6b9d5f08f215d527a37e7cc59ddd9 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Tue, 6 May 2025 00:51:06 -0400 Subject: Un-nest `Message` from `MessageRun`. A `MessageRun` is a visual container with a specific layout - bordered, with a drop shadow, with a name badge on the top-left, which is either positioned to the left (`other-message`) or right (`own-message`). It is content-agnostic. This facilitates putting things besides live messages inside of a message run. As a side effect, this gets rid of ActiveChannel; most of what it was doing makes more sense living in the channel view's `+page.svelte`. --- ui/lib/components/ActiveChannel.svelte | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 ui/lib/components/ActiveChannel.svelte (limited to 'ui/lib/components/ActiveChannel.svelte') diff --git a/ui/lib/components/ActiveChannel.svelte b/ui/lib/components/ActiveChannel.svelte deleted file mode 100644 index 30b8385..0000000 --- a/ui/lib/components/ActiveChannel.svelte +++ /dev/null @@ -1,15 +0,0 @@ - - -{#each messageRuns as { sender, ownMessage, messages }} - -{/each} -- cgit v1.2.3