You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ui): give the onboarding wizard a real Drive folder browser
The first-run setup wizard's "Choose Drive folder" button called
pick_drive_folder(account, null), which the backend resolves to the My
Drive root and returns with current_folder_id="root" and an always-empty
current_folder_path. The wizard rendered its confirmation via
v-if="setup.driveFolderPath" (always empty), so the click produced no
visible feedback and the button looked broken; there was also no folder
navigation at all - it silently targeted the entire My Drive root with no
way to pick a subfolder.
The working breadcrumb folder browser lived only in AddSourceWizard, so
the two flows had drifted and only the setup-wizard copy was broken.
Extract that browser into a shared DriveFolderPicker (breadcrumb
navigation + folder list + a live "Backing up to: My Drive / ..."
destination line) and use it in BOTH the setup wizard and the Settings
"Add source" wizard. Onboarding now has real folder navigation and
visible feedback, and the duplication that caused the drift is gone.
- new ui/src/components/DriveFolderPicker.vue (v-model:folderId/folderPath,
emits raw errors so each parent maps them in its own style)
- SetupWizard.vue + AddSourceWizard.vue both consume it; ~60 lines of
duplicated crumb logic removed from AddSourceWizard
- drivePicker.* i18n keys (rootName "My Drive", destinationLabel
"Backing up to", empty-folder hint)
- tests updated; full ui suite (204) + vue-tsc + eslint + prettier green
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MZQh3ZfwtZsM6c5qnTuWZP
0 commit comments