feat(tasks): support subtasks with inline creation, checklist and title progress bar
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 54s

This commit is contained in:
sandrodach committed 2026-10-25 01:43:14 +02:00
1 parent 537b916533
commit 0ec1a8b7f7
7 files changed
+388 -58

No files matched your search

+8
View File
@@ -77,6 +77,13 @@ const (
StatusConverted ThoughtStatus = "converted"
)
type SubTask struct {
ID string `json:"id"`
Title string `json:"title"`
IsCompleted bool `json:"isCompleted"`
CreatedAt string `json:"createdAt,omitempty"`
}
type Thought struct {
ID string `json:"id"`
UserID string `json:"userId"`
@@ -92,6 +99,7 @@ type Thought struct {
TaskListID string `json:"taskListId,omitempty"`
KanbanStatus string `json:"kanbanStatus,omitempty"` // todo | in_progress | done
Notes string `json:"notes,omitempty"`
Subtasks []SubTask `json:"subtasks"`
AlarmSent bool `json:"alarmSent,omitempty"`
CreatedAt string `json:"createdAt"`
TriagedAt string `json:"triagedAt,omitempty"`