my prefect server setup prefect-metrics.waow.tech
python orchestration
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add 'you' badge to briefing items authored by the user

matches card meta.user against known handles (zzstoatzz, zzstoatzz.io).
small sky-colored label between the issue number and note text.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

zzstoatzz a415a8fb bfb72a5b

+19 -1
+19 -1
web/src/lib/components/Briefing.svelte
··· 11 11 /** cap at 4 sections for 2x2 grid */ 12 12 let sections = $derived(briefing?.sections.slice(0, 4) ?? []); 13 13 14 + const MY_HANDLES = new Set(['zzstoatzz', 'zzstoatzz.io']); 15 + 16 + function cardFor(item: BriefingItem): Card | undefined { 17 + return cardMap.get(item.item_id); 18 + } 19 + 14 20 function urlFor(item: BriefingItem): string | null { 15 - return cardMap.get(item.item_id)?.url ?? null; 21 + return cardFor(item)?.url ?? null; 22 + } 23 + 24 + function isMine(item: BriefingItem): boolean { 25 + const user = cardFor(item)?.meta?.user; 26 + return typeof user === 'string' && MY_HANDLES.has(user); 16 27 } 17 28 18 29 interface ParsedItemId { ··· 79 90 {#each section.items as item (item.item_id)} 80 91 {@const url = urlFor(item)} 81 92 {@const parsed = parseItemId(item.item_id)} 93 + {@const mine = isMine(item)} 82 94 <li class="text-sm flex items-center gap-2 text-gray-300"> 83 95 {#if parsed} 84 96 <a ··· 111 123 <span class="font-mono text-xs opacity-60 shrink-0"> 112 124 {item.item_id} 113 125 </span> 126 + {/if} 127 + {#if mine} 128 + <span 129 + class="shrink-0 text-[10px] px-1 py-px rounded bg-sky-400/15 text-sky-400 font-medium" 130 + >you</span 131 + > 114 132 {/if} 115 133 {#if url} 116 134 <a