| 06-new-backends |
03 |
ui |
| react |
| wizard |
| rclone |
| sftp |
| onedrive |
| gcs |
| b2 |
| vitest |
|
| phase |
provides |
| 06-new-backends/06-01 |
OneDrive, GCS, B2 registry entries and schemas |
|
| phase |
provides |
| 06-new-backends/06-02 |
SFTP registry entry, SftpAuthToggle component, RCLONE_TYPE_MAP and BACKEND_SCHEMAS extended for all 7 backends |
|
|
| RemoteConfigStep.tsx extended to handle all 7 BackendType values |
| SFTP branch with SftpAuthToggle (CSS-hidden password/private-key toggle) |
| OneDrive/GCS/B2 rendered via registry loop (no custom branch needed) |
| All four new backends visually verified in wizard UI by user |
|
| 07-validation-ux — RemoteConfigStep is the primary config form; any field-level validation work targets these same fields |
|
| added |
patterns |
|
|
| Three-branch JSX ternary in RemoteConfigStep (azureblob → sftp → registry loop) |
| Auth toggle subcomponent pattern (SftpAuthToggle mirrors AzureAuthToggle) |
|
|
| created |
modified |
|
|
| src/components/wizard/RemoteConfigStep.tsx |
|
|
| Three-branch ternary: azureblob (AzureAuthToggle), sftp (SftpAuthToggle), all others (registry loop) — minimal custom branching, maximal registry reuse |
| OneDrive/GCS/B2 render entirely via registry loop with zero custom JSX branches — registry is the single source of truth |
|
| New auth-toggle pattern: import toggle component, add named branch in ternary, render host/user via FieldRenderer then toggle for pass/key fields |
| Registry-loop default: any new backend that doesn't need a custom auth toggle is automatically handled by the else branch |
|
| BACK-01 |
| BACK-02 |
| BACK-03 |
| BACK-04 |
|
~10min |
2026-03-30 |