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
+7
View File
@@ -8,6 +8,7 @@
#include <optional>
#include "core/EnergyProfile.h"
#include "core/Project.h"
#include "core/ProposedDiff.h"
#include "core/Recurrence.h"
#include "core/SyncTypes.h"
@@ -46,6 +47,12 @@ public:
bool insertRecurrence(const Recurrence& recurrence);
std::optional<Recurrence> recurrenceForTask(const QString& taskId) const;
bool insertProject(const Project& project);
bool updateProject(const Project& project);
bool deleteProject(const QString& id);
std::optional<Project> projectById(const QString& id) const;
QVector<Project> projects(bool includeDone = false) const;
bool insertTimeBlock(const TimeBlock& block);
bool updateTimeBlock(const TimeBlock& block);
std::optional<TimeBlock> timeBlockById(const QString& id);