Skip to content
Back

Ticket routerPro

Sorts support requests into teams: mail, chat widget, Slack and GitHub issues arrive one by one, a model tags what they want, how they feel and how sure it is, and each lands in a lane; unsure ones wait for a person.

oxyn add ticket-router

Support inbox router

Classified by Claude Haiku 4.5 · review below 70%

Ines VargaCharged twice for October
Billing0
    Bugs0
      Sales0
        Needs review0
          70%
          The code is part of Oxyn Pro

          The preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.

          Get Pro

          Rendered from Rust at build time · goes live when visible

          When to use

          • Watch support messages from Gmail, Intercom, Slack and GitHub get labelled with intent, sentiment and confidence and move into team lanes; low confidence goes to review.

          When not to use

          Installation

          Ticket router is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.

          Terminal
          oxyn add ticket-router

          Usage

          Dioxus · rust
          The code is part of Oxyn Pro

          The preview is free. Pro opens the code of every Pro component, screen and template.

          Get Pro

          Examples

          Routing

          Tickets routed live.

          Support inbox router

          Classified by Claude Haiku 4.5 · review below 70%

          Ines VargaCharged twice for October
          Billing0
            Bugs0
              Sales0
                Needs review0
                  70%
                  Code Pro
                  The code is part of Oxyn Pro

                  The preview is free. Pro opens the code of every Pro component, screen and template.

                  Get Pro

                  Strict

                  A stricter threshold sends more to review (Oxyn extra).

                  Support inbox router

                  Classified by Claude Haiku 4.5 · review below 90%

                  Ines VargaCharged twice for October
                  Billing0
                    Bugs0
                      Sales0
                        Needs review0
                          90%
                          Code Pro
                          The code is part of Oxyn Pro

                          The preview is free. Pro opens the code of every Pro component, screen and template.

                          Get Pro

                          Paused

                          Paused before the first ticket.

                          Support inbox router

                          Classified by Claude Haiku 4.5 · review below 70%

                          Ines VargaCharged twice for October
                          Billing0
                            Bugs0
                              Sales0
                                Needs review0
                                  Code Pro
                                  The code is part of Oxyn Pro

                                  The preview is free. Pro opens the code of every Pro component, screen and template.

                                  Get Pro

                                  API reference

                                  TicketRouter

                                  PropTypeDefaultDescription
                                  nowrequiredClockMs—Host clock.
                                  pausedboolDefault::default()Start paused.
                                  thresholdu3270Review below this confidence, %.
                                  tuningbooltrueShow the threshold control (Oxyn extra).

                                  Read from the Rust signature and doc comments.

                                  Keyboard interactions

                                  KeyAction
                                  TabPause, restart, speed, review buttons, the threshold
                                  EnterorSpacePause or resume, move a ticket out of review
                                  ←or→On the threshold slider

                                  Accessibility

                                  • Labels are words (intent, sentiment, confidence), never colour alone; low confidence is also amber.
                                  • Lanes show a count and the latest tickets; review buttons are named with the ticket and lane.
                                  • Pause, resume, reviews and threshold changes are announced.
                                  From the spec

                                  Lanes are lists with counts in their headings; each routed ticket is announced. Every action returns the line the polite live region announces. The focus outline shows only for keyboard focus.

                                  Motion & interaction

                                  The incoming ticket shows its label chips, then slides into its lane; lane counts tick up.

                                  Timing

                                  Everything on screen is derived from the host clock now (no timers in the component), so playback, tests and the GPUI view agree.

                                  TransitionDurationEasing
                                  Per ticket2000 ms (TICKET_MS)ease-out slide

                                  Reduced motion: streamed text and moves appear at their end state; progress still advances, without travel animation.

                                  Responsive behaviour

                                  • Four lanes in a row; under 600 px two by two.
                                  • Ticket subjects ellipse; counts use tabular numerals.
                                  Edge cases (spec)

                                  Lanes scroll horizontally under 768 px; long subjects truncate. Checked at 1440, 768 and 390 px in light and dark with no text overlap. Chrome is monochrome grey; colour is semantic only (success, warning, danger, info) plus the providers' coloured brand marks.

                                  Notes for AI

                                  • Import TicketRouter from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
                                  • A GPUI version exists: AiKitView in oxyn_gpui.
                                  • Props to set first: now.
                                  • It reads a clock (now) for live timers; pass one clock for the whole page rather than one per component.
                                  • Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.

                                  Guides

                                  Oxyn · 74 free components · 264 Pro components · 96 screens · 20 blocks · Dioxus and GPUI