Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI: Improves texts displayed to the user when picking the wrong location for syncing #7596

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

camilasan
Copy link
Member

@camilasan camilasan commented Dec 2, 2024

⚠️ It depends on #7636 ⚠️

Improves texts displayed to the user when picking the wrong location for syncing:

  • User has no permissions to write to local folder:

noperms

  • The sync folder in the network:

network-location

  • Local folder does not exist:

doesnotexist

  • Trying to sync to the same folder locally:

double-sync

  • Folder contained in sync folder:

contained

  • Network drive/root:

drive2

  • Folder is already syncing to:

already-synced2

  • Root folder is already syncing:

root-synced

src/common/vfs.cpp Outdated Show resolved Hide resolved
@camilasan camilasan marked this pull request as ready for review December 4, 2024 21:42
@nextcloud-desktop-bot
Copy link

AppImage file: nextcloud-PR-7596-f57f894fee3403f640a494ea57c6ddb3cd339d8c-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

@camilasan camilasan self-assigned this Dec 9, 2024
@camilasan camilasan added this to the 3.16.0 milestone Dec 10, 2024
@camilasan camilasan changed the title Bugfix network sync folder detection Improves texts displayed to the user when picking the wrong location for syncing Dec 11, 2024
@camilasan camilasan changed the title Improves texts displayed to the user when picking the wrong location for syncing UI: Improves texts displayed to the user when picking the wrong location for syncing Dec 11, 2024
Copy link
Member

@nilsding nilsding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just two nits

src/common/vfs.cpp Outdated Show resolved Hide resolved
src/gui/folderwizard.cpp Outdated Show resolved Hide resolved
@mgallien mgallien force-pushed the bugfix/network branch 2 times, most recently from 82f2e8e to de26055 Compare February 10, 2025 10:58
@camilasan camilasan force-pushed the bugfix/network branch 5 times, most recently from d8c9f2e to 8871233 Compare February 10, 2025 18:24
- Display more clear error when adding local sync folder and when selecting remote folder.
- Modernize FolderWizardRemotePath::isComplete().
- Display the local folder path when warning that folder is already being synced.

Signed-off-by: Camila Ayres <hello@camilasan.com>
@camilasan camilasan merged commit f2ac24d into master Feb 11, 2025
11 of 14 checks passed
@camilasan camilasan deleted the bugfix/network branch February 11, 2025 08:08
Copy link

Artifact containing the AppImage: nextcloud-appimage-pr-7596.zip

SHA256 checksum: 9de92de9ad279f65afdbef5302576be19c27733a2e331042686cf0a1b3937f72

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

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.

5 participants