High Command
LibraryTemplatesGet startedPricing
Get Pro · $79

Guide

Browse everythingGetting startedThemingYour data

Site

HomeTemplatesPricingChangelog

Templates 4

Command centerProFleetProCustomer trackingProField servicePro

Ops and shell 9

App shellProOps modelProAttention queueProMorning briefProShift handoverProLane panelProOwn-fleet partsProAgent action barProCustomizable dashboardPro

Map 17

PMTiles basemapPMTiles routeTrip hologramProBasemap styleMap geometryMapLand texture and dot lensProException heatmap and risk contoursProLane arcsProShipment layerOwn fleet layerProFleet map layersCurated place labels and sitesRoute traceEdge chipsProMap key, filters and paddingMap kitPro

Time and trips 11

Time and trip modelsEvent fieldProIn-transit rowsProImpact lineProActivity barProReplay clockTime controlPlayback overlayProTrip timetableProStage rowWeek cursorPro

Figures, charts and tables 14

Sourced valueKey-figure tileFigure groupPart barBand sparklineKPI stripProChart kitPop barWaterfall cascadeMargin chartsPro13-week cash ladderProWork tableProField railProHorizon gridPro

Zones and dispatch 10

Zones modelDispatch modelProGeofence layerGeofence eventsGeofence drawProService ringsDensity heatmapJob queueProAssign dialogProStop listPro

Design system 3

ThemeShared helpersUI primitives

Routing 3

Offline road routerAustin road graphAustin areas

Libraries 2

Fleet coreRoute core
High Command

Map, fleet and ops-console components for React. Built in-house, copied into your app with the shadcn CLI.

Product

  • Library
  • Templates
  • Pricing
  • Changelog

Build

  • Get started
  • Accessibility
  • Trip hologram

Templates

  • Command center
  • Fleet
  • Field service

New pieces by email. A short note when a release lands.

One email per release. Unsubscribe any time.

© 2026 High Command Pro licenseTermsPrivacyRefundsMap data © OpenStreetMap contributors · OpenFreeMap
Library/Ops and shell

Attention queue

The queue of what needs attention: severity chips, money at stake and time to cost per row, bands (Now, Next 2 h...), grouped stories, assign / acknowledge / snooze / resolve, filters, keyboard selection, a status scroll rail, the folded 56px rail. AttentionQueue keeps its own state; Queue takes it all as props.

Pro · included in the $79 licenseBlock@highcommand/attention-queue1 file
Get Pro · $79
See it in context

Needs attention

12
≈ $161.1k at stake
Now4
$23.6k57 d over
MD
$18.6k57 d over
AssignedMarcus Doyle56d
$5.0k34 d over
33d
$10.1know
1h
$26.4k—
2h
Next 2 h3
≈ $49.4k30 min
$48.2k1 h 30 m
15m
≈ $1.1k30 min
36m
—48 min
24m
Later today1
JR
—4 h
AssignedYou12m
Beyond today3
≈ $31.4k13 h
Acknowledged10 h left2h
≈ $7.4k2 d
5h
$12.9k1 d
8h
Customize
Pro

Part of High Command Pro. The preview and props are open to everyone; installing it needs your license key. Set up your key · Pricing

Installation

$ npx shadcn@latest add @highcommand/attention-queue

Copies the source into your project and pulls in what it needs (5 other items). First time? Add the registry to components.json.

Props

<AttentionQueue />

The attention queue with its own state: give it every open item and a triage callback; it keeps the severity chips, sort, filters, stories (grouping and ungrouped stories remembered on this device), which stories are open, the selection and the fold, as the command center does around `Queue`.

PropTypeDefault
itemsrequiredQueueItem[]—

Every open item (snoozed ones included: the Snoozed filter shows them).

nowIsorequiredstring—

Now, as ISO (your clock or simulator).

onTriagerequiredTriage—

Runs a queue action (assign, acknowledge, snooze, unsnooze, resolve) on an item; reject with an Error to show its message.

peopleWho[][]

Who items can be assigned to.

mestring | nullnull

The signed-in person's id ("Mine", "Assign to me").

isNewReadonlySet<string>—

Keys (`itemKey`) of rows that just arrived (they flash once).

collapsiblebooleanfalse

Show a fold button; folded, the queue is the 56px rail of counts.

defaultCollapsedbooleanfalse

Start folded to the rail of counts (default false).

storagePrefixstring"hq-q"

localStorage key prefix for grouping and ungrouped stories.

footerReactNode—

Under the list, only when there is something to do: the shift handover's line.

onOpenItem(item: QueueItem) => void—

A row was opened (its record, or the agent decision behind it).

onOpenSource(item: QueueItem) => void—

A row's age was pressed: show the records the item came from. Without it the age is plain text.

onOpenHandover() => void—

The menu's "Shift handover".

tableHrefstring—

The queue as a full table (the title and the menu link to it).

healthHrefstring—

Queue health, for admins (in the menu).

renderLinkRenderLink—

Renders the links (default: a plain <a>).

popOutPopOut | null—

Pop the queue out into its own always-on-top window (where the browser can), or bring it back.

shipRef(id: string) => string | undefined—

A shipment's reference for its row ("SHP-48213"), by shipment id.

onPeek(key: string | null) => void—

Linked views: the row under the pointer or the keyboard's focus (its key), or null once neither is on a row; the map rings its thing.

handoverDueboolean—

The rail only: a shift handover waits for this person.

domIdstring—

The region's id (the rail and the queue it opens stand together on the page, so one of them takes another).

totalAllnumber | undefined—

How many items need attention in all when the list is capped to the most urgent (`total`); omit when it is not capped.

Also in this item 1

<Queue />42 propsAttention queue.
PropTypeDefault
entriesrequiredQueueEntry[]—

`entries` is what is shown (filtered, sorted, related items folded into stories); `total` and `totalCritical` count the whole queue.

totalrequirednumber—

How many items the whole queue holds (the header count); `entries` may be a filtered or capped part of it.

totalCriticalrequirednumber—

How many of those items are critical.

levelsrequired{ level: string; count: number }[]—

Severity levels present with their counts, one filter button each.

hiddenrequiredReadonlySet<string>—

Severity levels switched off by their filter buttons (a pressed button shows its level).

onToggleLevelrequired(level: string) => void—

Fires with a severity level when its filter button is pressed, to hide or show it.

onResetFilterrequired() => void—

Fires from the "All severities hidden" empty state to clear the severity filter (the other filters go through `onFilters`).

sortrequiredQueueSort—

The sort order in use.

onSortrequired(s: QueueSort) => void—

Fires with the new order when one is picked from the sort menu.

selectedrequiredstring | null—

The key of the selected row (an item's or a story's), and how a row becomes it (focus or the arrow keys inside the list).

isNewrequiredReadonlySet<string>—

Keys of rows that just arrived; they flash once.

compactrequiredboolean—

Folded: show only the counts, as a button that unfolds it; `onCollapse` folds it. In layout A the folded queue is the 56px rail: the counts stacked, the money at stake, a dot when a handover is due.

onExpandrequired() => void—

Fires when the folded queue's button is pressed to unfold it.

nowIsorequiredstring—

Now (ISO): the clock for impact times, snoozes and the handover prompt.

filtersrequiredQueueFilters—

The filters in force besides severity (type, account, owner, status and minimum stake).

onFiltersrequired(f: QueueFilters) => void—

Fires with the full new filter set when any filter is changed.

optionsrequired{ types: string[]; accounts: { id: string; name: string }[] }—

The choices the type and account filters offer.

peoplerequiredPerson[]—

Who items can be assigned to, offered in the owner filter and the assign actions.

merequiredstring | null—

The signed-in person's id, for the Mine filter and "Assign to me"; null disables them.

onTriagerequiredTriage—

Runs a queue action (assign, acknowledge, snooze, unsnooze, resolve) on an item.

expandedrequiredReadonlySet<string>—

Keys of the stories that are open to show their items.

onToggleStoryrequired(key: string) => void—

Fires with a story's key when it is opened or closed.

onUngrouprequired(key: string) => void—

Fires with a story's key when the person ungroups it into its separate items.

groupingrequiredboolean—

Fold related items into stories (on unless the person switched it off; remembered on this device).

onGroupingrequired() => void—

Fires when the "Group related items" checkbox is toggled.

allItemsQueueItem[]—

Every open item the queue holds (the header's money at stake), and how many need attention in all when the list is capped.

totalAllnumber | undefined—

How many items need attention in all when the list is capped to the most urgent (`total`); omit when it is not capped.

onSelect(key: string) => void—

Fires with a row's key when it is selected (focus, press or the arrow keys inside the list).

onCollapse() => void—

Fires when the fold button is pressed; without it the queue has no fold button.

shipRef(id: string) => string | undefined—

A shipment's reference for its row ("SHP-48213"), by shipment id.

popOutPopOut | null—

Pop the queue out into its own always-on-top window (where the browser can), or bring it back.

footerReactNode—

Under the list, only when there is something to do: the shift handover's line.

onOpenItem(item: QueueItem) => void—

A row was opened (its record, or the agent decision behind it).

onOpenSource(item: QueueItem) => void—

A row's age was pressed: show the records the item came from. Without it the age is plain text.

onOpenHandover() => void—

The menu's "Shift handover".

tableHrefstring—

The queue as a full table (the title and the menu link to it).

healthHrefstring—

Queue health, for admins (in the menu).

renderLinkRenderLinkplainLink

Renders the links (default: a plain <a>).

onPeek(key: string | null) => void—

Linked views: the row under the pointer or the keyboard's focus (its key), or null once neither is on a row; the map rings its thing.

railOpenboolean—

The rail only: the whole queue is open beside it (peeked or pinned), so the rail is not the queue's own region any more.

handoverDueboolean—

The rail only: a shift handover waits for this person.

domIdstring'cmd-queue'

The region's id (the rail and the queue it opens stand together on the page, so one of them takes another).

Dependencies

npm
lucide-react
Builds on
ThemeUI primitivesShared helpersOps modelField rail
Used by
Command center
PreviousOps modelNext Morning brief

On this page

PreviewInstallationPropsDependencies