Skip to content

feat(ui): default the local folder to the documents for OpenCloud - #332

Merged
gnacho merged 1 commit into
mainfrom
fix/opencloud-local-default
Nov 8, 2026
Merged

gnacho merged 1 commit into
mainfrom
fix/opencloud-local-default

Conversation

@gnacho

@gnacho gnacho commented Nov 8, 2026

Copy link
Copy Markdown
Owner

The "Local folder" field defaulted to ~/NextCloud and the chooser was titled "Choose NextCloud Folder" for every account, which reads wrong on an OpenCloud one.

  • default_sync_root_for(provider): Nextcloud keeps ~/NextCloud, OpenCloud starts from the documents folder (Documentos when that localized directory exists, Documents otherwise).
  • Both the Add Folder dialog and the setup wizard use it, and pass the provider to the folder chooser so its title matches the account.

Gates: 785 tests (0 failed, 3 ignored), cargo clippy --all-targets -- -D warnings, cargo fmt --check, translation catalog regenerated (542 entries).

Closes #331

Nextcloud accounts keep $HOME/NextCloud. OpenCloud ones start from the
documents folder and the chooser title follows the provider.
@gnacho
gnacho merged commit dd78d84 into main Nov 8, 2026
2 checks passed
@gnacho
gnacho deleted the fix/opencloud-local-default branch November 8, 2026 23:23
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.

Add Folder: default local folder says NextCloud for OpenCloud accounts

1 participant