Discord-style reaction tooltips

Tooltips now show a large emoji on the left with reactor names
stacked vertically, instead of a comma-separated name list.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
2026-10-04 03:05:41 +02:00
co-authored by Devin
parent c34e551708
commit fab086d17e
2 changed files with 12 additions and 2 deletions
+6 -1
View File
@@ -70,7 +70,12 @@ async function pick(emoji: string) {
<span class="text-sm font-medium tabular-nums" :class="r.me ? 'text-foreground' : 'text-muted-foreground'">{{ r.count }}</span> <span class="text-sm font-medium tabular-nums" :class="r.me ? 'text-foreground' : 'text-muted-foreground'">{{ r.count }}</span>
</button> </button>
</TooltipTrigger> </TooltipTrigger>
<TooltipContent>{{ r.names.join(', ') }}</TooltipContent> <TooltipContent class="flex items-center gap-2.5 px-3 py-2">
<span class="text-5xl leading-none">{{ r.emoji }}</span>
<span class="flex flex-col leading-snug">
<span v-for="n in r.names" :key="n">{{ n }}</span>
</span>
</TooltipContent>
</Tooltip> </Tooltip>
</div> </div>
</template> </template>
+6 -1
View File
@@ -73,7 +73,12 @@ async function pick(emoji: string) {
<span class="text-sm font-medium tabular-nums" :class="r.me ? 'text-foreground' : 'text-muted-foreground'">{{ r.count }}</span> <span class="text-sm font-medium tabular-nums" :class="r.me ? 'text-foreground' : 'text-muted-foreground'">{{ r.count }}</span>
</button> </button>
</TooltipTrigger> </TooltipTrigger>
<TooltipContent>{{ r.names.join(', ') }}</TooltipContent> <TooltipContent class="flex items-center gap-2.5 px-3 py-2">
<span class="text-5xl leading-none">{{ r.emoji }}</span>
<span class="flex flex-col leading-snug">
<span v-for="n in r.names" :key="n">{{ n }}</span>
</span>
</TooltipContent>
</Tooltip> </Tooltip>
</div> </div>
</template> </template>