feat: add long-term projects with AI creation

- Add project model, schema v4, sync triggers, and server support\n- Add project panel, deadline countdown, manual create/edit/complete/delete\n- Parse AI project operations and show them in the proposal diff\n- Sync projects to Android and display them read-only\n- Rebuild AppImage and update validation docs and screenshots
This commit is contained in:
Misaki
2026-10-31 15:52:48 +08:00
parent 9dae003b93
commit 35cabb37b2
54 changed files with 1722 additions and 41 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ func validateChange(change *model.ChangeInput) error {
change.EntityID = strings.TrimSpace(change.EntityID)
change.Op = strings.TrimSpace(change.Op)
change.UpdatedAt = strings.TrimSpace(change.UpdatedAt)
if change.EntityType != "task" && change.EntityType != "timeblock" {
if change.EntityType != "task" && change.EntityType != "timeblock" && change.EntityType != "project" {
return errors.New("unsupported entity_type")
}
if change.EntityID == "" || len(change.EntityID) > 128 {