xtablo-source/backend/static
Arthur Belleville 681c094b0c
fix(17): skip own-user SSE messages in JS to eliminate left-then-right flash
The server-side flush didn't eliminate the race because browser HTMX and SSE
event processing are inherently async.

Real fix: embed data-current-user-id on #discussion-tab (from DiscussionTabData.
CurrentUserID). The SSE handler now skips any event whose authorUserId matches
the current user — those messages are always delivered via HTMX (IsOwn=true,
right-aligned). SSE only appends messages from other users.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-05-17 12:47:21 +02:00
..
.gitkeep feat(01-01): create directory skeleton and per-package doc.go placeholders 2026-05-14 17:53:55 +02:00
discussion-sse.js fix(17): skip own-user SSE messages in JS to eliminate left-then-right flash 2026-05-17 12:47:21 +02:00
logo_dark.png feat(14-01): copy logo assets and replace auth.css with full auth card + animation CSS 2026-05-16 19:04:44 +02:00
logo_white.png feat(14-01): copy logo assets and replace auth.css with full auth card + animation CSS 2026-05-16 19:04:44 +02:00
sortable.min.js chore(04-01): Sortable.js bootstrap and soft-danger button CSS 2026-05-15 09:24:44 +02:00