Skip to content

feat(kds): adopt borderless ticket layout - #1544

Merged
khaira777 merged 4 commits into
mainfrom
fm/flocafe-kds-2026-borderless-redesign
Nov 10, 2026
Merged

khaira777 merged 4 commits into
mainfrom
fm/flocafe-kds-2026-borderless-redesign

Conversation

@khaira777

@khaira777 khaira777 commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Intent

Make order-type badges borderless in dark mode by adding dark:border-transparent

What Changed

  • Replaced 4-sided border-2 outlines on KDS columns and order cards with tonal surface lanes, elevated ticket cards with top status accent borders (border-t-4), hairline item dividers, and borderless order-type and add-on badges in light and dark mode.
  • Converted order and item special instructions and modal detail sections to border-start accent callout strips (border-s-4/border-s-3), and updated the KDS Tabs view to a segmented container with elevated active tabs.
  • Updated tests/kds-frontend-conflict.test.ts to assert the borderless layout, dark-mode badge transparency, callout styling, and absence of legacy border-2 outlines.

Risk Assessment

✅ Low: The changes are strictly scoped UI styling refinements for KDS ticket cards and order-type badges with no business logic or authorization modifications.

Testing

Executed end-to-end product validation using Chromium and the full isolated FloCafe server suite with live orders spanning dine_in, takeaway, delivery, and online types. Verified that order-type badges in both KDS Kanban and Tabs views resolve to transparent borders (rgba(0, 0, 0, 0)) in both dark and light modes, captured high-resolution visual evidence in all states, and verified markup contracts via npm run test:kds-frontend-conflict. All 4 scenarios passed.

  • Live validation: ✅ go - 4 of 4 scenarios driven live against the product
Scenario Result Live Evidence
KDS Kanban order cards render borderless order-type badges in dark mode ✅ pass live ~/.no-mistakes/evidence/01M72AP2GDWDZZ002PZ7HA72M4/kds-dark-kanban-borderless-badges.png
KDS Tabs view order cards render borderless order-type badges in dark mode ✅ pass live ~/.no-mistakes/evidence/01M72AP2GDWDZZ002PZ7HA72M4/kds-dark-tabs-borderless-badges.png
KDS Kanban and Tabs order-type badges maintain borderless styling in light mode ✅ pass live ~/.no-mistakes/evidence/01M72AP2GDWDZZ002PZ7HA72M4/kds-light-kanban-borderless-badges.png, ~/.no-mistakes/evidence/01M72AP2GDWDZZ002PZ7HA72M4/kds-light-tabs-bor…
All fulfillment order types (dine-in, takeaway, delivery, online) override dark variant borders with transparent borders ✅ pass live Playwright DOM evaluation showing computed borderTopColor === 'rgba(0, 0, 0, 0)' across all badge types in dark mode, overcoming .dark selector specificity

KDS Dark Mode Kanban View - Borderless Order Badges
KDS Dark Mode Tabs View - Borderless Order Badges
KDS Light Mode Kanban View - Borderless Order Badges
KDS Light Mode Tabs View - Borderless Order Badges

Pipeline

Updates from git push no-mistakes

✅ **intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

✅ **Review** - passed

✅ No issues found.

✅ **Test** - passed

✅ No issues found.

  • Live validation: ✅ go - 4 of 4 scenarios driven live against the product
Scenario Result Live Evidence
KDS Kanban order cards render borderless order-type badges in dark mode ✅ pass live ~/.no-mistakes/evidence/01M72AP2GDWDZZ002PZ7HA72M4/kds-dark-kanban-borderless-badges.png
KDS Tabs view order cards render borderless order-type badges in dark mode ✅ pass live ~/.no-mistakes/evidence/01M72AP2GDWDZZ002PZ7HA72M4/kds-dark-tabs-borderless-badges.png
KDS Kanban and Tabs order-type badges maintain borderless styling in light mode ✅ pass live ~/.no-mistakes/evidence/01M72AP2GDWDZZ002PZ7HA72M4/kds-light-kanban-borderless-badges.png, ~/.no-mistakes/evidence/01M72AP2GDWDZZ002PZ7HA72M4/kds-light-tabs-bor…
All fulfillment order types (dine-in, takeaway, delivery, online) override dark variant borders with transparent borders ✅ pass live Playwright DOM evaluation showing computed borderTopColor === 'rgba(0, 0, 0, 0)' across all badge types in dark mode, overcoming .dark selector specificity
  • npm run test:kds-frontend-conflict
  • npm run build
  • npm run build:frontend
  • cd frontend && CI=1 E2E_TASK_LOCAL_PORTS=1 E2E_BASE_URL=http://127.0.0.1:3101 E2E_KDS_BASE_URL=http://127.0.0.1:3102 E2E_SERVER_APP_BASE_URL=http://127.0.0.1:3103 npx playwright test e2e/kds-dark-borderless-badges.spec.ts
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because your trial has ended. Ask your workspace admin to add credits to resume reviews. Manage billing

@coderabbitai

coderabbitai Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@khaira777

Copy link
Copy Markdown
Contributor Author

@greptile review

@greptile-apps

greptile-apps Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 4/5

[Low impact] The changes affect the kitchen display's visual presentation only.

The PR appears safe to merge, with a non-blocking dark-mode badge styling issue.

Findings

  1. P2 Dark badges keep their borders ▶

Summary

Updates the KDS ticket layout across Kanban and Tabs.

  • Kanban lanes and tickets use softer surfaces with clear status accents.
  • Tabs group kitchen stages in a segmented bar above borderless tickets.
  • Item details show add-ons and instructions with slim color strips.

One non-blocking issue remains: order-type badges retain colored borders in dark mode.

Runtime tests and visual capture were not run because this checkout has no installed dependencies.

Reviews (1) · Last reviewed commit: "no-mistakes(document): format KdsKanbanB..." · Reviewed by Greptile

@khaira777 khaira777 changed the title feat(kds): adopt borderless ticket layout across Kanban and Tabs views feat(kds): adopt borderless ticket layout Nov 10, 2026
@khaira777
khaira777 force-pushed the fm/flocafe-kds-2026-borderless-redesign branch from 9548ae2 to e4c030e Compare November 10, 2026 09:10
@khaira777 khaira777 changed the title feat(kds): adopt borderless ticket layout feat(kds): adopt borderless ticket redesign and segmented tabs Nov 10, 2026
@khaira777 khaira777 changed the title feat(kds): adopt borderless ticket redesign and segmented tabs feat(kds): adopt borderless ticket layout Nov 10, 2026
@khaira777
khaira777 merged commit 0d77bb3 into main Nov 10, 2026
23 checks passed
@khaira777
khaira777 deleted the fm/flocafe-kds-2026-borderless-redesign branch November 10, 2026 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant