Home

dev / openkara

publicthedavidweng/OpenKara· sync paused
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix(library): name the destination on the remote-repository connect button (#238) (#244)

2 months ago

c8d36ba
Authored
Davy7/26/2026, 2:49:09 AM
The wizard's primary action always read "Open Remote Repository" because its
label was derived from `mode` and `isReauthorizeFlow` only — the selected
provider never took part. Picking Google Drive, Dropbox, or WebDAV left the most
prominent button in the panel saying nothing about where it was about to send
you.

Resolve the label from the provider instead: "Connect to Google Drive",
"Connect to Dropbox", plain "Connect" for WebDAV. The reauthorize and
create-and-mirror branches keep their own copy, and the "Open Remote Repository"
mode card keeps its title (it shares the key the button used to borrow).

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

Parent46da356

5 files changed
  • src/components/Settings/RemoteLibraryWizard.test.tsx+33−6
  • src/components/Settings/RemoteLibraryWizard.tsx+6−8
  • src/components/Settings/remote-library-copy.ts+20−0
  • src/locales/en.json+4−1
  • src/locales/zh-CN.json+4−1