Skip to content

fix(mobile): Test the draft settings URL#381

Open
Gujiassh wants to merge 2 commits intoruvnet:mainfrom
Gujiassh:refresh/settings-draft-url-test-20260411
Open

fix(mobile): Test the draft settings URL#381
Gujiassh wants to merge 2 commits intoruvnet:mainfrom
Gujiassh:refresh/settings-draft-url-test-20260411

Conversation

@Gujiassh
Copy link
Copy Markdown

Summary

  • rebase the previous settings draft URL fix on current main
  • validate status checks against the unsaved draft URL instead of only persisted config
  • add focused tests for draft URL behavior and one-off status URL overrides

Testing

  • npm --prefix ui/mobile test -- --runInBand src/__tests__/screens/SettingsScreen.test.tsx -t "draft"
  • npm --prefix ui/mobile test -- --runInBand src/__tests__/services/api.service.test.ts

Context

Replacement for closed PR #236 with still-real diff on current main.

Gujiassh and others added 2 commits April 11, 2026 18:35
Let the mobile API client probe a draft server URL without mutating the saved base URL so settings checks can target the address currently being edited.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Use the current Settings draft URL for connection checks so the UI validates what the user is editing rather than the last saved server address.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
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