Feature/kitchen live operations#30
Merged
Merged
Conversation
Order dates were taken from created_at, which is stamped when the DRAFT cart is first created -- often long before the order is actually placed. A cart created weeks ago but checked out today showed the weeks-old date. - Add orders.placed_at (Flyway V14), stamped at checkout; backfill existing non-draft orders from created_at - Expose placedAt on OrderResponse; kitchen board, My Orders and the table "last order time" now use placed time (falling back to created_at) - Sort the DISTINCT fetch-queries in Java instead of SQL: ordering by COALESCE(placed_at, created_at) is rejected by Postgres under SELECT DISTINCT, which 500'd My Orders and the kitchen board Customers also could not see the floor plan: GET /api/v1/walls was WAITER/MANAGER-only, so customers got 403 and tables.js required both the tables AND walls fetch to succeed, blanking the whole plan. - Permit authenticated GET /api/v1/walls (read-only), mirroring GET /api/v1/tables/map - Render tables and walls independently so one failing fetch no longer blanks the floor plan Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
🤖 Hi @ModernityRejecter, I've received your request, and I'm working on it now! You can track my progress in the logs for more details. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.