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