multica/server/pkg/db/queries
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
..
activity.sql fix(activity): address code review feedback and improve timeline UX 2026-03-29 00:21:46 +08:00
agent.sql Merge pull request #471 from multica-ai/agent/j/959392dd 2026-04-08 12:45:56 +08:00
attachment.sql fix(attachment): use UUIDv7 as S3 key and link attachments on issue/comment creation 2026-04-05 07:55:17 +08:00
comment.sql feat(comments): add pagination support to comment list API and CLI 2026-04-03 23:53:00 +08:00
daemon_token.sql feat(daemon): add authentication for daemon API routes 2026-03-31 16:19:02 +08:00
inbox.sql fix(inbox): archive all items for the same issue instead of just one 2026-04-04 00:18:14 +08:00
issue.sql feat(issues): add sub-issue support (#483) 2026-04-08 15:57:13 +08:00
issue_reaction.sql feat(reactions): add emoji reactions for comments and issue descriptions 2026-03-30 22:37:59 +08:00
member.sql feat(server): implement full REST API with JWT auth and real-time WebSocket 2026-03-22 11:50:03 +08:00
personal_access_token.sql feat(auth): email verification login and personal access tokens 2026-03-26 14:32:30 +08:00
reaction.sql feat(reactions): add emoji reactions for comments and issue descriptions 2026-03-30 22:37:59 +08:00
runtime.sql feat(tasks): add coalescing queue and task lifecycle guards 2026-03-29 17:52:35 +08:00
runtime_usage.sql feat(runtimes): add usage charts, activity heatmap, and hourly distribution 2026-03-29 15:44:10 +08:00
skill.sql feat(api): strict workspace isolation + agent parity fixes 2026-03-30 16:49:13 +08:00
subscriber.sql feat(notifications): replace hardcoded inbox notifications with subscriber-driven model 2026-03-28 19:33:20 +08:00
task_message.sql feat(agent): stream live agent output to issue detail page 2026-03-30 22:53:28 +08:00
task_usage.sql feat(usage): add per-task token usage tracking 2026-04-08 13:08:15 +08:00
user.sql feat(server): implement full REST API with JWT auth and real-time WebSocket 2026-03-22 11:50:03 +08:00
verification_code.sql feat(auth): email verification login and personal access tokens 2026-03-26 14:32:30 +08:00
workspace.sql feat(issues): add human-readable issue identifiers (e.g. JIA-1) 2026-03-29 16:49:55 +08:00