Skip to content

KDS: Table number is visually buried and fonts are too small for kitchen use #149

Closed

Description

@khaira777

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.table is 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-lg or text-xl on small screens (use responsive classes, e.g. text-base md:text-sm).
  • Bump item quantity from text-xs/text-sm → text-base minimum.
  • Bump special instructions from text-xs → text-sm so 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 throughout
  • frontend/src/components/kds/KdsKanbanBoard.tsx — table display (L167–170), font classes throughout
  • frontend/src/components/kds/KdsColumn.tsx — column header font
  • frontend/src/components/kds/KdsHeader.tsx — optionally add a font-size toggle

Context

  • The backend already fetches the table number correctly via a LEFT JOIN tables in both kds-server.ts (standalone) and routes/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 shared KdsTabsView and KdsKanbanBoard components, so any fix here applies to both.

Activity

  1. added
    enhancement
    area:frontend
    on Jul 24, 2026
  2. itsbkm commented on Jul 25, 2026

    @itsbkm
    Contributor

    Fixed in two parts:

    • 6f0fcec — the real root cause. The dashboard KDS connects over WebSocket first (REST is only a 5s fallback), and the WS live-order push in main/services/kds.ts was building a flat table_name string instead of the nested table: { name } object the frontend reads via order.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.
    • b8c20bc — font-size pass (Problem 2): item names, quantity, special instructions, timer, and column headers bumped for kitchen-tablet readability, plus reverted a size regression the table-badge fix (fdd81a9) had introduced on the order-number label.

    Table badge (Problem 1, from fdd81a9) and the font sizes (Problem 2) are both in on main now. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:frontendenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions