Skip to content

fix(server-app): mobile layout and product images - #1108

Merged
khaira777 merged 2 commits into
mainfrom
fix/server-app-mobile-responsive
Oct 13, 2026
Merged

khaira777 merged 2 commits into
mainfrom
fix/server-app-mobile-responsive

Conversation

@khaira777

@khaira777 khaira777 commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add min-w-0 to <main> and sections in Server Standalone page to prevent CSS Grid blow-out on narrow viewports (<768px).
  • Set table selector buttons to grid-cols-2 sm:grid-cols-3 lg:grid-cols-1 so table pills wrap cleanly on screens down to 320px.
  • Enable showImages={true} on mobile waiter app with responsive image badges.
  • Add E2E responsive viewport test across 320px, 375px, 390px, 430px, and 768px viewports.

Summary by CodeRabbit

  • Bug Fixes
    • Improved the server app layout on narrow screens to prevent horizontal overflow and keep the product grid visible.
    • Adjusted the table selector layout for smaller screens and displayed product images.

@coderabbitai

coderabbitai Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

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
  • Configuration used: Repository: FreeOpenSourcePOS/FloCafe/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 99261ded-7a7a-44bc-84d2-e109b9d8c165

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

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: FreeOpenSourcePOS/FloCafe/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 72649cb9-6c90-4b55-ad1e-94bd29e6f47d
📥 Commits

Reviewing files that changed from the base of the PR and between ead4564 and 563f9a6.

📒 Files selected for processing (2)
  • frontend/e2e/server-app-ordering.spec.ts
  • frontend/src/app/server-standalone/page.tsx

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

Walkthrough

The server standalone page now constrains layout widths, adjusts the table selector columns, and displays product images. An end-to-end test checks product-grid visibility and horizontal overflow at five viewport widths.

Changes

Server app responsive layout

Layer / File(s) Summary
Responsive layout and viewport validation
frontend/src/app/server-standalone/page.tsx, frontend/e2e/server-app-ordering.spec.ts
The page applies min-w-0 to the main grid and panels, uses two table columns by default and three at sm, and enables product images. The test checks product-grid visibility and document width at viewport widths 320, 375, 390, 430, and 768 pixels.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to 563f9

The page now constrains the responsive layout and displays product images. The browser test remains unexecuted, but no merge-blocking failure attributable to these changes was established.

Pre-merge checks · Passed 3 · Failed 2

Failed Failed checks (2 warnings)

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 2 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check Warning The description provides a useful summary, but it omits most required template sections, including related work, scope, verification results, compatibility and data safety, screenshots, cross-cutting … Complete the required template sections. Document the exact tests and results, including the responsive E2E test, and state the impact for each applicable compatibility and cross-cutting surface.
Passed Passed checks (3 passed)
Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed The title clearly summarizes the main changes: fixing the server app mobile layout and enabling product images.
Full details: Description check

Explanation

The description provides a useful summary, but it omits most required template sections, including related work, scope, verification results, compatibility and data safety, screenshots, cross-cutting surfaces, developer documentation, and the contributor checklist.

✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • 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.

khaira777 added a commit that referenced this pull request Oct 13, 2026
@khaira777 khaira777 changed the title fix(server-app): prevent mobile horizontal overflow and enable product images fix(server-app): mobile layout and product images Oct 13, 2026
@khaira777
khaira777 force-pushed the fix/server-app-mobile-responsive branch from c98920b to f15c3aa Compare October 13, 2026 16:37
@khaira777
khaira777 merged commit 8c0f95e into main Oct 13, 2026
23 checks passed
@khaira777
khaira777 deleted the fix/server-app-mobile-responsive branch October 13, 2026 16:47
khaira777 added a commit that referenced this pull request Oct 13, 2026
khaira777 added a commit that referenced this pull request Oct 13, 2026
khaira777 added a commit that referenced this pull request Oct 13, 2026
* docs: add animated feature showcase to README

- Add automated headless Playwright recording harness with simulated cursor
- Add ffmpeg media transcoding pipeline for compact GIFs (<1.5MB) and MP4s
- Seed realistic isolated 'Harbor & Bean Café' demo catalog and tickets
- Embed 2-column alternating Orca-style key features table in README.md
- Add 'Also in the box' capabilities and showcase regeneration guide

* fix(showcase): format demo scripts with oxfmt and ensure clean process exit

* docs(showcase): refresh media assets, align layout, and polish café-owner copy

* fix(showcase): resolve warning toasts, proxy mobile images, and polish recordings

* fix(showcase): decouple production files to PR #1108 and address review feedback
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