Repository navigation
Demote address picker to optional disclosure on Orca Relay - #12796
Conversation
Relay provides remote access without requiring a specific local address, so hide the picker behind a disclosure to keep the direct fast path accessible without visual clutter. Reposition Sign in between the Relay and LAN options to clarify it's Relay-specific. Keep custom addresses always visible and force the disclosure open when settings search targets the address picker.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (10)
🚧 Files skipped from review as they are similar to previous changes (9)
📝 WalkthroughWalkthroughMobile pairing now hides optional local network addresses behind Relay disclosures while keeping custom addresses and LAN controls visible. Settings search can force the address section open. Relay and LAN path options use a shared accessible radio component with nested sign-in controls. Relay-aware firewall messaging and localized copy were added. Address refresh no longer invalidates the initial QR selection. Virtual bridge interfaces receive lower address-selection priority. Tests cover the updated behavior. 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID: baee22a7-0698-44f1-80b9-cfcc759c164d
📒 Files selected for processing (21)
src/renderer/src/components/mobile/MobileHero.test.tsxsrc/renderer/src/components/mobile/MobileHeroPairingStep.tsxsrc/renderer/src/components/mobile/WindowsFirewallNotice.test.tsxsrc/renderer/src/components/mobile/WindowsFirewallNotice.tsxsrc/renderer/src/components/mobile/use-mobile-pairing-address-preference.test.tsxsrc/renderer/src/components/mobile/use-mobile-pairing-address-preference.tssrc/renderer/src/components/settings/MobilePairingConnectionOptions.test.tsxsrc/renderer/src/components/settings/MobilePairingConnectionOptions.tsxsrc/renderer/src/components/settings/MobilePairingPathOption.tsxsrc/renderer/src/components/settings/MobilePairingSetupSection.test.tsxsrc/renderer/src/components/settings/MobilePairingSetupSection.tsxsrc/renderer/src/components/settings/MobilePane.test.tsxsrc/renderer/src/components/settings/MobilePane.tsxsrc/renderer/src/components/settings/MobilePaneAddressSearch.test.tsxsrc/renderer/src/components/settings/mobile-pane-search.test.tssrc/renderer/src/components/settings/mobile-pane-search.tssrc/renderer/src/i18n/locales/en.jsonsrc/renderer/src/i18n/locales/es.jsonsrc/renderer/src/i18n/locales/ja.jsonsrc/renderer/src/i18n/locales/ko.jsonsrc/renderer/src/i18n/locales/zh.json
- Rank Docker/VirtualBox bridges below real LAN addresses so they're never auto-advertised as the default - Clarify UI copy: 'Local network address (optional)' → 'Direct connection on this network' - Better explain direct connection vs Relay roles and when each is used - Fix Relay unavailability to be a build property, not dependent on current selection
Demote the address picker from primary action styling to an optional disclosure with quieter visual treatment. Update messaging from "Direct connection on this network" to "Also use a faster local path" to clarify Relay is the default path and local addressing only applies when nearby. Add explanatory hint text to set expectations that Relay remains available when away.
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 9a5bf3b4-ce5a-4ec2-b9ab-ae9ebe84465b
📒 Files selected for processing (13)
src/main/ipc/mobile.test.tssrc/main/ipc/mobile.tssrc/renderer/src/components/mobile/MobileHero.test.tsxsrc/renderer/src/components/mobile/MobileHeroPairingStep.tsxsrc/renderer/src/components/settings/MobilePairingConnectionOptions.test.tsxsrc/renderer/src/components/settings/MobilePairingConnectionOptions.tsxsrc/renderer/src/components/settings/MobilePairingSetupSection.test.tsxsrc/renderer/src/components/settings/MobilePairingSetupSection.tsxsrc/renderer/src/i18n/locales/en.jsonsrc/renderer/src/i18n/locales/es.jsonsrc/renderer/src/i18n/locales/ja.jsonsrc/renderer/src/i18n/locales/ko.jsonsrc/renderer/src/i18n/locales/zh.json
🚧 Files skipped from review as they are similar to previous changes (11)
- src/renderer/src/components/mobile/MobileHeroPairingStep.tsx
- src/renderer/src/components/settings/MobilePairingSetupSection.test.tsx
- src/renderer/src/i18n/locales/ko.json
- src/renderer/src/components/settings/MobilePairingSetupSection.tsx
- src/renderer/src/i18n/locales/es.json
- src/renderer/src/components/mobile/MobileHero.test.tsx
- src/renderer/src/i18n/locales/en.json
- src/renderer/src/components/settings/MobilePairingConnectionOptions.tsx
- src/renderer/src/i18n/locales/zh.json
- src/renderer/src/i18n/locales/ja.json
- src/renderer/src/components/settings/MobilePairingConnectionOptions.test.tsx
…12796) * refactor(mobile): demote address picker to optional disclosure on Relay Relay provides remote access without requiring a specific local address, so hide the picker behind a disclosure to keep the direct fast path accessible without visual clutter. Reposition Sign in between the Relay and LAN options to clarify it's Relay-specific. Keep custom addresses always visible and force the disclosure open when settings search targets the address picker. * refactor(mobile): improve relay pairing guide and interface ranking - Rank Docker/VirtualBox bridges below real LAN addresses so they're never auto-advertised as the default - Clarify UI copy: 'Local network address (optional)' → 'Direct connection on this network' - Better explain direct connection vs Relay roles and when each is used - Fix Relay unavailability to be a build property, not dependent on current selection * refactor(mobile): reframe local network address as optional in relay pai Demote the address picker from primary action styling to an optional disclosure with quieter visual treatment. Update messaging from "Direct connection on this network" to "Also use a faster local path" to clarify Relay is the default path and local addressing only applies when nearby. Add explanatory hint text to set expectations that Relay remains available when away.
…12796) * refactor(mobile): demote address picker to optional disclosure on Relay Relay provides remote access without requiring a specific local address, so hide the picker behind a disclosure to keep the direct fast path accessible without visual clutter. Reposition Sign in between the Relay and LAN options to clarify it's Relay-specific. Keep custom addresses always visible and force the disclosure open when settings search targets the address picker. * refactor(mobile): improve relay pairing guide and interface ranking - Rank Docker/VirtualBox bridges below real LAN addresses so they're never auto-advertised as the default - Clarify UI copy: 'Local network address (optional)' → 'Direct connection on this network' - Better explain direct connection vs Relay roles and when each is used - Fix Relay unavailability to be a build property, not dependent on current selection * refactor(mobile): reframe local network address as optional in relay pai Demote the address picker from primary action styling to an optional disclosure with quieter visual treatment. Update messaging from "Direct connection on this network" to "Also use a faster local path" to clarify Relay is the default path and local addressing only applies when nearby. Add explanatory hint text to set expectations that Relay remains available when away.
Problem
When pairing via Orca Relay, the network address picker is prominently displayed even though Relay has its own built-in endpoint—the picker is only useful for the optional local fast path. This clutters the pairing UI. Additionally, the Sign in panel sits below the options, obscuring that it applies to Relay specifically, not LAN.
Solution
Testing
pnpm lintpnpm typecheckpnpm testpnpm buildNotes