No description
The default task fetch (/api/clients/[id]/tasks) already excludes completed/cancelled/NA tasks older than a 7-day cutoff server-side. The "Show Completed" button only filtered the in-memory task list, so if all completed tasks were older than a week, toggling it revealed nothing — they were never fetched. Wire the toggle to re-fetch with archived=true (bypasses the cutoff) when turning it on, and revert to the default filtered fetch when turning it back off, so it doesn't leak dead-policy tasks into the non-completed view. |
||
|---|---|---|
| .claude | ||
| dev | ||
| ondeck | ||
| tasks | ||
| .gitignore | ||