Archived tickets disappear from every front-end surface for all users (staff included): helpdesk list, detail page 404s, dashboard widget, and project board/sprints/releases/search views. They remain fully visible in the Payload admin panel, where un-archiving restores them. The collection hook stamps archivedAt and appends an activity entry on each toggle; the archiveTicket server action is tickets:staff gated and emits a ticket:archive event. Edits and votes on archived tickets are rejected. |
||
|---|---|---|
| .. | ||
| lexical.ts | ||
| mutations.ts | ||
| staff.ts | ||
| ticketMeta.ts | ||
| voteState.ts | ||