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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user