Commit Graph

7 Commits

Author SHA1 Message Date
433874d11e fix(frontend): keep entity and message deletes in sync 2026-03-27 03:38:41 -03:00
ebcea643c4 feat(backend): persist tasks and generated message history
- add EntityTask domain and CRUD API backed by PostgreSQL

- relate generated messages directly to tasks and delete on task removal

- move preview generation to backend Llama endpoint

- migrate frontend task APIs from localStorage to backend endpoints

- update tests and CLAUDE rules for backend-owned LLM/persistence
2026-03-27 02:46:56 -03:00
f2a16b5cf6 feat(frontend): streamline task creation and preview workflows
- remove prompt and preview generation from task creation

- create tasks as inactive and route directly to edit page

- add generated message history UX to edit task

- update entity/task views and related test coverage
2026-03-27 02:23:56 -03:00
a83ea85857 feat(frontend): generate task previews with local ollama
Replace the local preview stub with a real Ollama-backed test message flow using the configured local model.

Show the exact final prompt live on create and edit task pages, render generated output below it, and cover the integration with frontend tests.
2026-03-27 01:28:29 -03:00
10c83d4e5a feat(frontend): toggle task activation state
Add task reactivation support to the local task API and update the edit task page to switch between Activate and Inactivate based on the current task state.

Keep the separate entity-page inactive-visibility changes out of this commit so they can be reviewed independently.
2026-03-27 01:09:43 -03:00
766b13fbb2 feat(frontend): add task inactivate and delete actions
Extend the local task store with active state, inactivation, and hard delete support.

Update the edit task page and tests so inactive tasks are hidden from normal lists and task lifecycle actions are available from the details view.
2026-03-27 00:58:58 -03:00
6538c1783d feat(frontend): add task details edit flow
Add a task details action from the entity page and route it to a prefilled edit task page.

Extend the local task API with single-task read and update helpers, and cover the new flow with frontend tests.
2026-03-27 00:48:14 -03:00