milestone-sse: scope count choke points, render sites, event taxonomy #9

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

Research/design issue (no code).

  • Find the model/service choke point(s) where Gitea recomputes milestone open/closed counts (e.g. milestone counter update on issue state change / milestone reassignment / issue deletion). Identify the single best insertion points that cover all callers.
  • Enumerate every template that renders a milestone progress bar: milestone list page, single milestone view, issue sidebar, issues-list milestone header, any org/user aggregate. Note the DOM structure + selectors for each.
  • Draft the event taxonomy + payloads (e.g. milestone.progress {repo_id, milestone_id, open_issues, closed_issues, completeness, session_tag}; milestone.updated; milestone.deleted).
  • Decide: new services/milestone_events package vs extend services/project_events. Recommend.
  • Output a blueprint a follow-on implementation issue can execute.
Research/design issue (no code). - Find the model/service choke point(s) where Gitea recomputes milestone open/closed counts (e.g. milestone counter update on issue state change / milestone reassignment / issue deletion). Identify the single best insertion points that cover all callers. - Enumerate every template that renders a milestone progress bar: milestone list page, single milestone view, issue sidebar, issues-list milestone header, any org/user aggregate. Note the DOM structure + selectors for each. - Draft the event taxonomy + payloads (e.g. milestone.progress {repo_id, milestone_id, open_issues, closed_issues, completeness, session_tag}; milestone.updated; milestone.deleted). - Decide: new services/milestone_events package vs extend services/project_events. Recommend. - Output a blueprint a follow-on implementation issue can execute.
oleks added this to the Milestone progress SSE — live-updating progress bars milestone 2026-05-16 00:16:03 +03:00
oleks added this to the (deleted) project 2026-05-16 00:16:23 +03:00
oleks added the area/milestone-ssekind/research labels 2026-05-16 00:20:44 +03:00
oleks added this to the Milestone SSE project 2026-05-16 00:22:12 +03:00
oleks moved this to In Progress in Milestone SSE on 2026-05-16 00:24:00 +03:00
oleks moved this to Done in Milestone SSE on 2026-05-16 00:29:26 +03:00
oleks closed this issue 2026-05-16 10:39:45 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: oleks/gitea#9