From 663dcb13a5b5085b58ebb10ee5f5eff4bb3d07ce Mon Sep 17 00:00:00 2001 From: Kit La Touche Date: Sun, 30 Nov 2025 22:59:21 -0500 Subject: Show number of unread conversations in app badge --- ui/lib/components/ChannelMeta.svelte | 44 +++++++++++++++++++++++++++ ui/routes/(app)/c/[conversation]/+page.svelte | 15 +++++++++ ui/service-worker.js | 44 +++++++++++++++++++++++++++ ui/styles/app-bar.css | 2 ++ ui/styles/forms.css | 8 +++++ ui/styles/messages.css | 24 +++++++++++++++ 6 files changed, 137 insertions(+) create mode 100644 ui/lib/components/ChannelMeta.svelte (limited to 'ui') diff --git a/ui/lib/components/ChannelMeta.svelte b/ui/lib/components/ChannelMeta.svelte new file mode 100644 index 0000000..2ee13b6 --- /dev/null +++ b/ui/lib/components/ChannelMeta.svelte @@ -0,0 +1,44 @@ + + +
+   +
+ {#if !subscription} +
+ +
+ {/if} +
+
+
diff --git a/ui/routes/(app)/c/[conversation]/+page.svelte b/ui/routes/(app)/c/[conversation]/+page.svelte index 24baa47..be97737 100644 --- a/ui/routes/(app)/c/[conversation]/+page.svelte +++ b/ui/routes/(app)/c/[conversation]/+page.svelte @@ -1,6 +1,7 @@