Add "truly done" ticket archiving with auto-unhide

- Let the user mark closed tickets as really done and hide them, so
  tickets closed prematurely by an agent stay visible until confirmed
- User-side "archived" flag stored in the DB (independent of Zammad),
  added via a schema migration on existing databases
- Hide archived tickets from the overview by default with an
  "erledigte einblenden" toggle; archive/unarchive from the ticket
  detail page and via a per-row quick action
- Poller automatically un-hides an archived ticket when new activity is
  detected, so nothing is missed

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-01 17:34:09 +02:00
co-authored by Claude Opus 4.8
parent 1107a912bc
commit 528d66b2b0
6 changed files with 94 additions and 15 deletions
+7
View File
@@ -129,6 +129,13 @@ table.tickets tr.row-unseen td:first-child { box-shadow: inset 3px 0 0 var(--acc
background: var(--accent); color: #fff; border-radius: 999px;
font-size: .72rem; font-weight: 700; text-align: center; line-height: 18px;
}
table.tickets tr.row-archived { opacity: .55; }
table.tickets td.rowact { text-align: right; width: 34px; }
td.rowact button {
border: 1px solid var(--line); background: #f7f8fa; border-radius: 6px;
width: 26px; height: 26px; line-height: 1; cursor: pointer; font-size: .85rem; padding: 0;
}
td.rowact button:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.state { display: inline-block; padding: .1rem .5rem; border-radius: 6px; font-size: .78rem; background: #eef2f5; }
.state-closed { background: #e6eaed; color: #66727c; }