Skip to content
Calm motion: animations on this site only fade, with no movement

Ticket view ​

A help desk ticket with the customer, the messages, the state, and a reply box

Shows one support request in a help desk. An agent reads the thread, writes a reply or an internal note, and sets the state. For the time limit of the ticket, add the SLA timer.

Basic
#4012

The microphone hums on the charger

Eka Lestari · eka@example.com Priority: High
  1. Eka Lestari16 Nov, 08:41

    My new USB mic makes a low hum when my laptop is on its charger. It stops on battery.

  2. Ana PutriInternal note16 Nov, 08:55

    Sounds like a ground loop. Ask if the charger has a third pin.

  3. Ana Putri16 Nov, 09:02

    Hi Eka, thanks for the clear report! Does your charger plug have three pins?

  • subject, number, customer, and messages are required. The customer has a name and an optional email.
  • Each message has an id, from, a role, a time as text, and a body. The role is customer, agent, or note.
  • An internal note has a dashed edge, a tint, and the words "Internal note". It must never look like a reply, because the customer does not see it.
  • priority is low, normal (default), high, or urgent. It shows as a mark and a word.
  • v-model:status is open, pending, or solved, in a native menu.
  • The reply box has two modes: Reply and Internal note. In note mode, the box is dashed and says that only the team sees it. The button emits reply with the text and true for a note.
  • Change the words with labels or a label pack: the three states, the four priorities, status, priority, reply, note, send, addNote, internal, and placeholder.

Usage ​

ts
import { BlessTicketView } from "blessing-ui";

API ​

Props

NameTypeDefaultDescription
subject*string—
number*string—
customer*{ name: string; email?: string | undefined; }—
priorityBlessTicketPriority"normal"
messages*BlessTicketMessage[]—
labelsPartial<Record<BlessTicketStatus, string> & Record<BlessTicketPriority, string> & { status: string; priority: string; reply: string; note: string; send: string; addNote: string; internal: string; placeholder: string; }>—
statusBlessTicketStatus"open"

Events

NamePayloadDescription
reply[body: string, internal: boolean]
update:status[value: BlessTicketStatus]

Released under the MIT License. Character names and artwork belong to their owners.