Skip to content

fix(settings): clarify network pairing choices - #939

Merged
khaira777 merged 3 commits into
mainfrom
codex/settings-vpn-mesh-polish
Oct 1, 2026
Merged

khaira777 merged 3 commits into
mainfrom
codex/settings-vpn-mesh-polish

Conversation

@khaira777

@khaira777 khaira777 commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Clarify local network and VPN/mesh QR code choices in the POS, KDS, and Server App pairing cards.
  • Add localized helper hints across all 24 registered locales.
  • Add browser coverage for tooltip focus, responsive layout, and Spanish, German, and Arabic rendering.

Validation

  • npm run i18n:check
  • npm run lint (passes with existing warnings)
  • npm run build:frontend
  • npm run build
  • Settings Playwright suite: 31 passed

Summary by CodeRabbit

  • New Features
    • Network pairing cards now distinguish local-network and VPN/mesh addresses, with guidance to help choose the right connection.
    • The guidance is available in multiple languages.
  • Tests
    • Added coverage for network guidance, responsive layouts, and right-to-left display.

@coderabbitai

coderabbitai Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

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: c124cce5-478c-4c59-b60f-fd3d892e8529

📥 Commits

Reviewing files that changed from the base of the PR and between 264d7c5 and da42a7e.

📒 Files selected for processing (26)
  • frontend/e2e/settings-request-budget.spec.ts
  • frontend/src/app/(dashboard)/settings/page.tsx
  • frontend/src/lib/i18n/messages/ar.json
  • frontend/src/lib/i18n/messages/bn.json
  • frontend/src/lib/i18n/messages/de.json
  • frontend/src/lib/i18n/messages/en.json
  • frontend/src/lib/i18n/messages/es.json
  • frontend/src/lib/i18n/messages/fa.json
  • frontend/src/lib/i18n/messages/fil.json
  • frontend/src/lib/i18n/messages/fr.json
  • frontend/src/lib/i18n/messages/hi.json
  • frontend/src/lib/i18n/messages/id.json
  • frontend/src/lib/i18n/messages/it.json
  • frontend/src/lib/i18n/messages/ja.json
  • frontend/src/lib/i18n/messages/ko.json
  • frontend/src/lib/i18n/messages/ne.json
  • frontend/src/lib/i18n/messages/nl.json
  • frontend/src/lib/i18n/messages/pt.json
  • frontend/src/lib/i18n/messages/ru.json
  • frontend/src/lib/i18n/messages/sq.json
  • frontend/src/lib/i18n/messages/th.json
  • frontend/src/lib/i18n/messages/tr.json
  • frontend/src/lib/i18n/messages/ur.json
  • frontend/src/lib/i18n/messages/vi.json
  • frontend/src/lib/i18n/messages/zh-tw.json
  • frontend/src/lib/i18n/messages/zh.json

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

POS, KDS, and server-app pairing cards now show local-network or VPN/mesh labels and guidance based on the IP address. New translations and an end-to-end test cover the guidance, tooltip, VPN link, responsive layout, and selected languages.

Changes

Pairing network guidance

Layer / File(s) Summary
Network labels and localized hints
frontend/src/app/(dashboard)/settings/page.tsx, frontend/src/lib/i18n/messages/*.json
The three pairing cards classify addresses beginning with 100. as VPN/mesh and display the matching label, tooltip, and hint. Translation files add local-network and VPN/mesh guidance.
Pairing guidance end-to-end coverage
frontend/e2e/settings-request-budget.spec.ts
The test checks the hints, tooltip text, VPN address link, responsive grid columns, and Spanish, German, and Arabic guidance, including Arabic right-to-left direction.

Priority: ⬇️ Low

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

Change: Bug fix

Merge Risk: ⚪ Minimal · up to da42a

This change clarifies network pairing guidance in the settings cards and adds translations and tests. No merge-blocking risk was identified.

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description includes a clear summary and validation commands, but it omits most required template sections, including related work, scope, compatibility and data safety, screenshots, cross-cutting… Complete the required template sections. State related work, scope, compatibility and data impact, applicable screenshots, cross-cutting surface status, documentation status, and contributor checklist confirmations.
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. (24 skipped: 2… Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: clarifying network pairing choices in settings.
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.
Full details: Description check

Explanation

The description includes a clear summary and validation commands, but it omits most required template sections, including related work, scope, compatibility and data safety, screenshots, cross-cutting surfaces, developer documentation, and the contributor checklist.

Full details: Docstring Coverage

Explanation

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. (24 skipped: 24 unsupported.)

  • Fix all pre-merge checks with AI
✨ 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
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.

Warning

Some tools did not complete. Review the errors below.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

frontend/e2e/settings-request-budget.spec.ts

ESLint skipped: missing config or dependency (missing-dependency). The ESLint configuration references a package that is not available in the sandbox.

frontend/src/app/(dashboard)/settings/page.tsx

ESLint skipped: the matched ESLint configuration already failed (missing-dependency).


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

khaira777 commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor Author

Superseded by the current #939 WIP status comment at #939 (comment). This earlier note referred to head 65aaeb0e and Wi-Fi/Ethernet-only wording; the VPN/mesh correction is now on exact head da42a7edd09399eaaf65b06979b19365ab8386aa, with green exact-head CI. Final stack-wide automated review remains pending; PR #939 remains open and unmerged. Please do not merge yet.

@khaira777

khaira777 commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor Author

Pairing guidance now covers devices that can reach the displayed address over Wi-Fi, Ethernet, or a VPN/mesh network, including private VPN addresses such as 10.42.0.25. Browser coverage verifies the QR target and VPN/mesh guidance for a non-100 VPN address alongside the LAN and 100.64.* cases. Head da42a7edd09399eaaf65b06979b19365ab8386aa has green exact-head CI (14 passed, 0 failed, 2 skipped); local lint, lint budget, i18n, frontend build, and browser E2E (109 passed) also pass. Final stack-wide automated review is pending; PR #939 remains open and unmerged. Please do not merge yet.

@khaira777

Copy link
Copy Markdown
Contributor Author

@greptile review

@greptile-apps

greptile-apps Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Low risk] Settings page adds clarifying hints for network pairing choices.

The PR appears safe to merge; no outstanding finding or new actionable issue was identified.

Summary

The PR adds pairing guidance to the POS, KDS, and Server App settings cards, translates it across the registered languages, and adds browser coverage. The latest changes clarify that a non-100.* address can be reachable through a VPN or mesh network.

Reviews (2) · Last reviewed commit: "fix(settings): include VPN reachability ..."

@khaira777

Copy link
Copy Markdown
Contributor Author

@greptile review

@khaira777

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@khaira777
khaira777 merged commit ae3edc1 into main Oct 1, 2026
17 checks passed
@khaira777
khaira777 deleted the codex/settings-vpn-mesh-polish branch October 1, 2026 20: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