Skip to content

ux(quick-connect): hint custom server username path (#23)#25

Merged
dzianisv merged 1 commit into
mainfrom
fix/quick-connect-username-hint-23
Jun 9, 2026
Merged

ux(quick-connect): hint custom server username path (#23)#25
dzianisv merged 1 commit into
mainfrom
fix/quick-connect-username-hint-23

Conversation

@dzianisv

@dzianisv dzianisv commented Jun 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds a one-line hint under the Quick Connect password field: states username defaults to `opencode` and links to Advanced options for servers with a custom `OPENCODE_SERVER_USERNAME`.
  • Tap on "Advanced options" inside the hint switches the screen to advanced mode (same handler as the existing link).

Why

Per #23 — the Quick Connect auth fix (defaulting username to `opencode`) covers most users, but custom-username servers were silently unreachable from the simple flow. A small hint surfaces the escape hatch without bloating Quick Connect.

Changes

  • `app/connection/add.tsx`: hint under the password input + new `usernameHint`/`usernameHintLink` styles.

Verification

  • `npx tsc --noEmit` — clean.
  • Manual UI check pending on next CUA / device pass.

Closes #23

…23)

Quick Connect now shows a one-line hint under the password field stating
that username defaults to 'opencode' and pointing to Advanced options for
servers using a custom OPENCODE_SERVER_USERNAME. Tap-target to switch
modes is included.

Closes #23
@dzianisv dzianisv merged commit a982204 into main Jun 9, 2026
3 checks passed
@dzianisv dzianisv deleted the fix/quick-connect-username-hint-23 branch June 9, 2026 10:31
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.

UX: support non-default server username in Quick Connect

1 participant