A Gantt row per shipment under way and per own route on the road: left, arrives, window, status with how late, and its trip on the time scale (travelled solid, to come dashed, stops as ticks, now as a dot).
Part of High Command Pro. The preview and props are open to everyone; installing it needs your license key. Set up your key · Pricing
$ npx shadcn@latest add @highcommand/in-transit-rowsCopies the source into your project and pulls in what it needs (4 other items). First time? Add the registry to components.json.
The activity bar's "In transit" view as concept C's table: one readable row per shipment under way and per own-fleet route on the road, grouped Freight and Own fleet with their counts, worst first, scrolling inside the bar.
groupsrequiredTransitGroup[]—The rows to show, grouped (Freight, Own fleet) and ordered worst first; see transitGroups.
gutterrequirednumber—Width in px of the bar's label column; the table starts that far left of the scale.
widthrequirednumber—Width in px of the bar's time scale, to which the table adds the gutter and rcol.
startrequirednumber—Start of the bar's window, in epoch ms; the trip column's left edge.
endrequirednumber—End of the bar's window, in epoch ms; the trip column's right edge.
nowrequirednumber—Now in epoch ms: where the now line and each row's position dot sit.
toprequirednumber—Offset in px from the top of the bar to the table.
heightrequirednumber—Height in px of the table; it scrolls inside.
loadingrequiredboolean—True while the rows are still being read; shows a reading message instead of "Nothing in transit" when there are none.
onOpenrequired(r: TransitRow) => void—Fires with the row when it is clicked (not after a drag that panned the bar).
onHoverrequired(r: TransitRow | null) => void—Fires with the row on hover or focus, and with null when the pointer or focus leaves.
wasDragrequired() => boolean—The pointer went down here to pan the bar, not to click.
rcolnumber0The bar's right column, which the table spans too.