feat(web): redesign remote access setup - #169
Merged
Merged
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (13)
📝 WalkthroughWalkthroughThe PR introduces a remote access landing page, updates cloud login URL handling, refreshes localized cloud copy, adds responsive styling and tests, binds Tauri development to loopback, and enables PATCH in CORS preflight responses. ChangesRemote access experience
Connectivity setup
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant CloudMobileView
participant ReduxStore
participant CloudTab
CloudMobileView->>ReduxStore: Dispatch cloud settings navigation
ReduxStore->>CloudTab: Render Settings → Cloud
CloudTab->>CloudTab: Open verification URI through desktop helper
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
cnjack
marked this pull request as ready for review
July 24, 2026 14:27
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.
Summary
PATCHin local CORS preflight responses and align Tauri development URLs on127.0.0.1Why
Remote access setup was embedded directly in the feature surface and the device-login link did not reliably open through the desktop shell. The Vite/Tauri host mismatch and missing
PATCHpreflight method could also block account-preference requests during desktop development.Impact
Users get a clearer explanation of remote access, a direct setup path, and a more reliable browser-based device authorization flow. Desktop development uses one loopback origin, and account preference updates can complete across that origin.
Validation
pnpm --dir web exec vitest run src/components/CloudMobileView.test.tsx src/components/settings/CloudTab.test.tsxpnpm --dir web typecheckgo test ./internal/webgo build ./...,go vet ./..., incrementalgolangci-lint, andgo test ./...Summary by CodeRabbit
New Features
PATCHrequests for account preferences.Updates