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

Wizard: Create a new directory name, don't always use "ownCloud" #5597

Closed
guruz opened this issue Mar 10, 2017 · 14 comments
Closed

Wizard: Create a new directory name, don't always use "ownCloud" #5597

guruz opened this issue Mar 10, 2017 · 14 comments
Assignees
Labels
Design & UX ReadyToTest QA, please validate the fix/enhancement
Milestone

Comments

@guruz
Copy link
Contributor

guruz commented Mar 10, 2017

Only use "ownCloud" (or whatever $THEMENAME) for a new install, for existing installs we want users consciously decide that they really want to sync into an existing directory
(Especially now where we allow to sync same directory to multiple servers)

@guruz guruz added this to the 2.4.0 milestone Mar 10, 2017
@phil-davis
Copy link
Contributor

phil-davis commented Mar 10, 2017

I agree, it could be too easy to accidentally put multiple sync connections mapped into the same local folder.
It would be possible to have logic so that if the "owncloud" folder is not yet used by any sync connection then it is made the default. But actually if someone already has 1 ormore sync connections that do not use the "owncloud" local folder, then probably when they add another sync connection they likely do not want to use the (unused) "owncloud" folder anyway.

@ckamm
Copy link
Contributor

ckamm commented Mar 15, 2017

@guruz @phil-davis This applies to the folder wizard and the account wizard. Should we default to offer syncing to a previously non-existing folder? E.g. owncloud/, owncloud2/, owncloud3/, ... whatever doesn't exist yet.

@phil-davis
Copy link
Contributor

phil-davis commented Mar 15, 2017

I would find a rule like this to be reasonable:

  1. If the existing accounts are all synced in the "default" home folder owncloud/, owncloud2/,... then offer the next owncloud_n_/ as the default for a new sync connection.
  2. Otherwise (i.e. if there is any sync connection that the was explicitly chosen non-default in the past by the user) offer no default - so the user cannot "accidentally" click through and end up with what the (probably) do not want.

But such a rule might be a bit surprising to users who notice and ask about why a default was or wasn't presented.

@guruz
Copy link
Contributor Author

guruz commented Mar 15, 2017

Could even have ownCloud_$PARTOFHOSTNAME like ownCloud_UniversityOfBiesdorf or ownCloud_philscloud automagically

@phil-davis
Copy link
Contributor

That sounds good. It might be a bit tricky depending on the domain name of the cloud instance.

  1. Probably want to have the username in there also? Keep dots in usernames like "phil.davis"?
  2. Some people will have a domain like davis.mycloudhoster.com and so you can grab the "davis" part. But others will have cloud.universityofxyz.edu and if you just grab "cloud" then that is of little use.

and if you take the whole thing (and maybe replace dots with "-" or "_"?) then you get long things like:
ownCloud_davis-mycloudhoster-com_phil-davis

Hmmm - is there a nice algorithm possible here?

@ckamm
Copy link
Contributor

ckamm commented Mar 20, 2017

I'll take care of the first incremental step: Never default to a folder that is already in use.

For nicer defaults: How about we use the second level domain ("uni-abc", "mycloudhoster", ...), disambiguated by username if necessary? I'd not try to put magic into it.

Similar logic might want to be applied to our account display names.

@ckamm
Copy link
Contributor

ckamm commented Mar 21, 2017

Pull request for first part: #5638

ckamm added a commit to ckamm/owncloud-client that referenced this issue Mar 21, 2017
@guruz guruz added the ReadyToTest QA, please validate the fix/enhancement label Mar 21, 2017
@SamuAlfageme
Copy link
Contributor

See #5756 for some related issue, otherwise is working as expected 👍

@ckamm
Copy link
Contributor

ckamm commented May 25, 2017

@SamuAlfageme Why reopen?

@SamuAlfageme
Copy link
Contributor

@ckamm I accidentally clicked on close, sorry.

I still want to test some branded scenarios and address some comments from @pmaier1 on the folder naming convention, nothing big.

@ckamm
Copy link
Contributor

ckamm commented Jun 6, 2017

@SamuAlfageme Okay :)

@SamuAlfageme
Copy link
Contributor

@pmaier1 we discussed this one a really long time ago. It was about using more clear names for the sync folders on the multiaccount scenario to distinguish. Only problem is the length of the names when not syncing the root (see example below)

If I understood correctly #5295 that would be helpful to organize all the accounts in the client(s). Imagine the scenario with both a branded and unbranded client that displays 2 top-level dropdowns on the explorer's sidebar (1 per client):

@ckamm
Copy link
Contributor

ckamm commented Oct 12, 2017

@SamuAlfageme I think I'm missing context for your comment. If this is about further refinements for folder name selection in the wizard, I'd strongly recommend making a new ticket to not conflate it with the change we did for 2.4 here.

@guruz
Copy link
Contributor Author

guruz commented Oct 16, 2017

ACK, this is "good enough" now for 2.4.. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Design & UX ReadyToTest QA, please validate the fix/enhancement
Projects
None yet
Development

No branches or pull requests

5 participants