feat: add notify icon read

This commit is contained in:
engigu
2026-03-09 18:10:23 +08:00
parent e7da316c90
commit 77cf12c9b6
46 changed files with 1347 additions and 252 deletions
+1 -1
View File
@@ -235,7 +235,7 @@ const shellExample = computed(() => `curl -s -X POST "http://${host.value}/api/v
<div v-for="ch in channels" :key="ch.id"
class="flex items-center gap-2 text-xs bg-zinc-100/80 dark:bg-zinc-900 px-2 py-1.5 rounded border border-zinc-200 dark:border-zinc-800 hover:border-zinc-300 dark:hover:border-zinc-700 transition-colors group">
<code class="text-primary font-bold tracking-tighter font-code"
:title="ch.id">{{ ch.id.slice(0, 8) }}</code>
:title="ch.id">{{ ch.id.slice(0, 8) }}...</code>
<span class="text-zinc-600 dark:text-zinc-500 truncate max-w-[100px]">{{ ch.name }}</span>
<Button variant="ghost" size="icon"
class="h-5 w-5 ml-auto text-zinc-400 hover:text-zinc-800 dark:hover:text-zinc-200 hover:bg-zinc-200 dark:hover:bg-zinc-800 opacity-0 group-hover:opacity-100 transition-all rounded"