Repository navigation
Description
Summary
The Kitchen Display System (KDS) currently shows the table number, but it is visually buried and the overall font sizes are too small to be practical on a dedicated kitchen monitor or tablet — especially smaller screens (8–10").
Problem 1 — Table number is not prominent
Tabs view (KdsTabsView.tsx)
The table number is appended inline after the order type in a single text-xs text-gray-500 span:
// KdsTabsView.tsx ~L90-93
<span className="text-xs text-gray-500 ml-2">
{order.type.replace('_', ' ')}
{order.table && ` — ${order.table.name}`}
</span>Result: "dine in — 5" — the table number is not separated, not highlighted, and visually identical to the order type label. A chef glancing at 6+ cards cannot quickly identify which table an order belongs to.
Kanban view (KdsKanbanBoard.tsx)
Same problem — table name is a subdued text-xs text-gray-500 span next to the order number:
// KdsKanbanBoard.tsx ~L168-170
{order.table?.name && (
<span className="text-xs text-gray-500 ml-2">— {order.table.name}</span>
)}What to change
- Render the table number as a distinct visual element — a bold badge or pill (e.g.
Table 5) that is immediately distinguishable from the order number and order type. - Suggested: a small rounded badge with a contrasting background (e.g. amber/yellow, since that colour is not used for statuses), placed prominently next to or below the order number.
- The order type label ("dine in", "takeaway") and the table number should be separate elements, not concatenated into one string.
- For takeaway/delivery orders where
order.tableis null, the table badge simply does not render — this is already correct behaviour.
Problem 2 — Font sizes are too small for kitchen display
KDS is a dedicated screen. Staff read it from a distance. Current font sizes are optimised for a desktop UI, not a kitchen monitor.
| Element | Current class | Rendered size |
|---|---|---|
| Order number | text-sm (kanban) / text-base (tabs) |
14–16px |
| Table / order type | text-xs |
12px |
| Item quantity | text-sm / text-xs |
12–14px |
| Item name | text-sm |
14px |
| Add-on pills | text-[10px] |
10px |
| Special instructions | text-xs |
12px |
| Timer | text-xs |
12px |
| Column headers (kanban) | text-sm |
14px |
On an 8–10" kitchen tablet at arm's length, 12px text is effectively unreadable without getting close to the screen.
What to change
- Bump item names from
text-sm→text-lgortext-xlon small screens (use responsive classes, e.g.text-base md:text-sm). - Bump item quantity from
text-xs/text-sm→text-baseminimum. - Bump special instructions from
text-xs→text-smso chef notes are actually readable. - Bump the timer from
text-xs→text-sm. - Ensure the card grid layout still works at smaller sizes — fewer columns on small screens means cards are wider, so larger text fits.
- Consider a "large font" toggle in the KDS header that the chef can switch on the device without going into Settings, useful for wall-mounted displays vs. tablet stands.
Files to change
frontend/src/components/kds/KdsTabsView.tsx— table display (L89–93), font classes throughoutfrontend/src/components/kds/KdsKanbanBoard.tsx— table display (L167–170), font classes throughoutfrontend/src/components/kds/KdsColumn.tsx— column header fontfrontend/src/components/kds/KdsHeader.tsx— optionally add a font-size toggle
Context
- The backend already fetches the table number correctly via a
LEFT JOIN tablesin bothkds-server.ts(standalone) androutes/kds.ts(dashboard). No backend changes needed. - The data is available on
order.table.name— this is purely a UI/display issue. - Both the dashboard KDS (
/kds) and the standalone KDS (/kds-standalone) use the same sharedKdsTabsViewandKdsKanbanBoardcomponents, so any fix here applies to both.
Activity
fix(kds): bump undersized fonts for kitchen-tablet readability (#149)
fix(kds): populate table on the WS live-order push, not just REST (#149)
itsbkm commentedon Jul 25, 2026
Fixed in two parts:
main/services/kds.tswas building a flattable_namestring instead of the nestedtable: { name }object the frontend reads viaorder.table?.name. That's why the table badge stayed invisible even after the UI fix below — the data just wasn't shaped correctly on the hot path most sessions actually use.Table badge (Problem 1, from fdd81a9) and the font sizes (Problem 2) are both in on
mainnow. Closing.