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.
This commit is contained in:
2026-03-27 00:48:14 -03:00
parent b6ff8ee16e
commit 6538c1783d
7 changed files with 658 additions and 0 deletions

View File

@@ -67,6 +67,14 @@ export default function EntityDetailPage() {
<p className="text-sm text-slate-400">
Email context: {getEmailLookbackLabel(task.emailLookback)}
</p>
<div className="pt-2">
<Link
to={`/entities/${entityId}/tasks/${task.id}`}
className="inline-flex rounded-md border border-slate-700 px-3 py-1.5 text-sm text-slate-200 hover:border-cyan-500 hover:text-cyan-300"
>
Details
</Link>
</div>
</li>
))}
{tasks.length === 0 && (