feat: Archive tab — role-scoped list of archived tasks with search

New /archive page (nav link for all roles) backed by GET /api/v1/archive:
- admins see every archived task;
- consultants see archived tasks for customers they're assigned to;
- developers see archived tasks they were assigned to, claimed, or acted on.
Supports full-text ?q= search; cards link to the task detail view.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
etalon
2026-06-13 12:12:52 +02:00
parent b232b4b3d3
commit f54c557e70
5 changed files with 112 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
{{define "content"}}
<h1>Archive</h1>
<div class="error-box" id="error" role="alert"></div>
<input type="search" id="archive-search" class="mt"
placeholder="Search archived tasks…" aria-label="Search archived tasks"
style="max-width:440px; width:100%">
<p class="muted" style="margin-top:6px">Archived tasks you can access.</p>
<div class="grid mt" id="archive-list"></div>
{{end}}