In the app
The Support screen (views/pages/support/Support.vue, route /support, signed-in only)
shows the user’s tickets with their status, a new ticket form — subject, topic and message —
and each thread, where the user can reply. Link it from your side menu or settings wherever your
users should find it.
In the admin panel
Support is the inbox: tickets from signed-in users, filtered by status and topic and searchable by subject. Opening one shows the thread and who raised it, and lets you:- Reply — the message is stored first, then sent to the user by email (with a link back
to the ticket in the app’s web build,
SITE_URL) and by push. If neither channel reaches them, the reply is still saved and the panel tells you it wasn’t delivered. - Change the status —
open,answeredorclosed. - Delete the ticket and its thread.
Ticket lifecycle
Email notifications answer to
MAIL_REPLY_TO, so set it to your support inbox and configure
SMTP_* on the API (Deployment). Push needs OneSignal configured
(Push & VoIP).
Retention
Tickets don’t live forever. Each one is deletedTICKET_RETENTION_MONTHS (default 12) after
its last message — every new message renews the clock. The daily purge job
(node dist/jobs/purge.js) removes expired tickets; Admin → Ops can run the same sweep by
hand.
Topics
Tickets carry a topic —general, bug, billing or account — used for filtering in the
inbox. The list lives in three places; change them together:
- API —
TICKET_TOPICSinsrc/config/constants.ts(validates new tickets and the admin filter). - App —
TicketTopicinsrc/types/common.ts, the<ion-select-option>s insrc/views/pages/support/Support.vue, and thesupport.topic.*strings. - Admin — the filter
<option>s insrc/views/TicketsView.vueand thetickets.topic*strings.
The website’s support form
Visitors without an account write through the marketing site’s form, which posts to the API’s publicPOST /v1/support: no session, 5 messages per IP per 10 minutes, a honeypot field and a
minimum fill time against bots. Each message is emailed to MAIL_REPLY_TO with Reply-To set
to the sender, so you answer from your mail client — it isn’t stored and doesn’t appear in the
admin inbox. Setup: Website.