Skip to content

feat(pos): move table button to the top bar and add a more-actions menu - #1326

Merged
itsbkm merged 7 commits into
mainfrom
feat/pos-table-button-overflow-menu
Oct 25, 2026
Merged

itsbkm merged 7 commits into
mainfrom
feat/pos-table-button-overflow-menu

Conversation

@itsbkm

@itsbkm itsbkm commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • The table button replaces Cash Movement in the POS top bar: yellow table icon plus the table name in the theme's foreground colour, so it reads in light and dark mode. The F2 hint stays.
  • The "Select Table" state is gone. The first available table without a held order is selected automatically for dine-in, including after an order is placed. If none is free, the picker still opens on order preflight.
  • A three-dot menu before the fullscreen button now holds Cash movement, Open/Close shift and Print menu.
  • The old table button is removed from the cart panel. Adds pos.moreActions to all locales.

Verification

  • npm run i18n:check, oxlint, tsc --noEmit pass.
  • Not checked in the running app. E2E not run.

🤖 Generated with Claude Code

The table button replaces Cash Movement in the POS top bar with a yellow
table icon and a high-contrast table name. The next free table is selected
automatically, so the Select Table state is gone. Cash movement, shift and
print menu move into a three-dot dropdown before the fullscreen button.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Oct 23, 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

Comment @coderabbitai help to get the list of available commands.

@itsbkm
itsbkm enabled auto-merge (squash) October 23, 2026 14:04

@khaira777 khaira777 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Request changes: three reproduced POS behavior regressions and incomplete E2E updates are detailed in the four inline threads.

Reviewed all 33 changed files from the actual merge base main@44d63b528e4f352c177984c359864f40a7310f68 to 9a1209eb56e3f2533b744b62795dc127609dfa4d. The menu/Space submission, stale occupied-table selection, and takeaway table inheritance were reproduced in an isolated app with disposable fixture data and verified through the saved orders.

Validation on this head:

  • npm run lint passed (existing warnings).
  • npm run build, npm run build:frontend, and npm run i18n:check passed.
  • git diff --check passed.
  • npm run test:e2e:browser: 319 passed, 5 failed. The failures are the two shift-close flows, two menu-printing flows, and reservation-customer flow identified inline. These match the three failing Playwright CI shards; CI also has failing E2E and Required Checks gates (15 passed, 5 failed, 3 skipped overall).

Existing review triage: no prior review findings to duplicate. CodeRabbit skipped its review because automatic reviews are disabled; its successful status is not a code approval. No source files were changed.

itsbkm and others added 4 commits October 24, 2026 01:33
Suspend POS shortcuts while the actions menu is open, drop an occupied
selection when no free table remains, and clear the automatic table when
the order leaves dine-in.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@itsbkm
itsbkm dismissed khaira777’s stale review October 25, 2026 16:32

Findings addressed in later commits: shortcuts suspended while the actions menu is open, stale occupied table cleared when none is free, automatic table cleared when leaving dine-in, and E2E specs updated for the new controls.

@itsbkm
itsbkm merged commit 98ab818 into main Oct 25, 2026
23 checks passed
@itsbkm
itsbkm deleted the feat/pos-table-button-overflow-menu branch October 25, 2026 16:33
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.

2 participants