milestone-sse: frontend subscribe + progress-bar DOM patch (all render sites) #12

Closed
opened 2026-05-16 00:16:12 +03:00 by oleks · 0 comments
Owner

Frontend, mirroring the repo-projects.ts SSE wiring:

  • Subscribe via UserEventsSharedWorker to the per-entity event name on every page that renders a milestone bar.
  • Per-event DOM patch: animate bar width, update open/closed counts + percentage text, on all surfaces (milestone list, single milestone view, issue sidebar mini-bar, issues-list milestone header).
  • Generate a per-tab session tag, attach as X-Session-Tag on mutation requests, skip events whose session_tag matches own.
  • Add the needed data-* attributes (repo id, milestone id, scope) to the relevant templates.

Blocked by Issue B (needs the event names/payloads stable).

Frontend, mirroring the repo-projects.ts SSE wiring: - Subscribe via UserEventsSharedWorker to the per-entity event name on every page that renders a milestone bar. - Per-event DOM patch: animate bar width, update open/closed counts + percentage text, on all surfaces (milestone list, single milestone view, issue sidebar mini-bar, issues-list milestone header). - Generate a per-tab session tag, attach as X-Session-Tag on mutation requests, skip events whose session_tag matches own. - Add the needed data-* attributes (repo id, milestone id, scope) to the relevant templates. Blocked by Issue B (needs the event names/payloads stable).
oleks added this to the Milestone progress SSE — live-updating progress bars milestone 2026-05-16 00:16:12 +03:00
oleks added this to the (deleted) project 2026-05-16 00:16:24 +03:00
oleks added the area/milestone-ssekind/frontend labels 2026-05-16 00:20:48 +03:00
oleks added this to the Milestone SSE project 2026-05-16 00:22:13 +03:00
oleks moved this to In Progress in Milestone SSE on 2026-05-16 00:29:26 +03:00
oleks moved this to Done in Milestone SSE on 2026-05-16 10:40:49 +03:00
oleks closed this issue 2026-05-16 14:24:22 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: oleks/gitea#12