multica/apps/web/shared/api
Bohan Jiang a8a8ff6eca
feat(issues): add sub-issue support (#483)
* feat(issues): add sub-issue support

- Backend: Add ListChildIssues SQL query, add parent_issue_id to UpdateIssue,
  add GET /api/issues/{id}/children endpoint
- Frontend: Display parent issue breadcrumb and link in issue detail sidebar,
  show child issues list with status icons, add "Create sub-issue" action in
  dropdown menu and sidebar, pass parent_issue_id through create issue modal
- Update test mocks for new API method

* fix(issues): add parent validation, cycle detection, and improve child refresh

- CreateIssue: validate parent issue exists in the same workspace
- UpdateIssue: validate parent exists, prevent self-referencing, detect
  circular parent chains (up to 10 levels deep)
- Frontend: derive child issues from store when available instead of
  refetching on every global issue count change
2026-04-08 15:57:13 +08:00
..
client.ts feat(issues): add sub-issue support (#483) 2026-04-08 15:57:13 +08:00
index.ts merge: resolve conflicts with main 2026-03-31 16:25:20 +08:00
ws-client.ts fix(web): replace actor_id self-event filtering with idempotent cache updates 2026-04-08 13:57:24 +08:00