-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Allow multiple share links #11169
Comments
See discussion and mockups here: #5336 |
FYI I'm on vacation – please never only @-mention me, always the whole @nextcloud/designers team. :) As for the design:
|
And the link, after it was created, looks then the same way as the first one (with the checkbox and so on). Do they all have the same name? Or do you just add a number? How will people distinguish the different links? Also on link removal. Unchecking the checkbox will then remove the complete entry as long as there is one more link and if it is the last one we keep the entry and just uncheck it so that the user can again create the first public link? Not sure if I understand it completely but sounds quite clumsy and more complicated then what I suggested. Btw, your mockup here looks quite similiar to what I suggested: #5336 (comment) You also have always a "new share link" action on the top and below the existing shares, including already created public links. |
You should definitely be able to give share links a name (maybe we should make this mandatory at all ...) |
I am unsure how many sharing links are done on one file, but if you only have one, there is no need to have a name for it (of course you should be able to name it, if you want). |
I agree, that's why my mockup gives you directly a input field, where you can just press enter or focus out to accept the default or give it a custom name without a lot of hassle. |
Is this a feature that should also be available on clients? |
Would make sense 👍 |
would be nice if to be able for make a "public" folder to share it to have a public-sharing like as example : therewith it is possible for provide directories and files in public for download, therewith it is also possible to put videos on this public-sharing folders best regards |
Once there is a PR, I'll open up an issue on all clients (prior does not make sense, as we cannot implement/test it) |
@schiessle the main issue with the flow you suggest is that people are faced with an input field first. This is a barrier – you want to simply share a link, not think of a name. There’s a reason we designed it like we did. ;) Also because the most common case is only having 1 single share link, which in your design would take up 2 rows already – confusing people.
No, it could simply be "Share link 2" for example. Or even better, name it like the settings it uses "Read-only link", "Files drop link", etc. The default is "Share link" and is editable. You need a fallback for that too even when using an input field. Also DO NOT use the wording "Public link" as the link is not publicized anywhere. TL;DR: There is a design we discussed among the design team, I described it above and it’s in the linked issue #5336. Let’s please go with what we agreed on as a group, ok? 🙂 |
@jancborchardt Honestly I don't see a final conclusion here #5336 There is one mockup by @MariusBluem and your drawing which are quite different. Also as pointed out here #11169 (comment) my proposal seems to be quite similar to your drawing. The only thing I might need to skip is the input field. Personally I consider it a nice workflow, if you are fine with the default lable you press just enter of focus out. If not you can set up the complete link, including a nice label like "for jan" in one run without having to go back to the '...' menu, etc. But time is running. So I don't want to discuss this to dead. Do we agree that if we skip the part with the entry field my suggestion is in line with your drawing? If not please be more concrete. |
Yes, we need to skip the entry field. And yes, we should also not disrupt the current flow. And yes, when you only have a single shared link, there should not be 2 entries in the links related to link sharing. There should be one default entry in the list for "Share link" exactly like now. And additional links you should be able to create by:
(If you only think one is good, decide for one.) Then that entry appears and the link is immediately copied into the clipboard. And the 3-dot menu is opened as well. (As per @skjnldsv pull request.) Ok? |
@skjnldsv did you had a chance to look in the UI part of this? You can commit directly here and also drag over the commits from your other pr if you want. |
@schiessle I'm on it until the feature freeze, this is the only task left for me :) I'm very disappointed that we did not wait for the new sidebar standard so we could at least know the code we're working on :'( |
thanks a lot @skjnldsv ! So it is at least not only me who felt lost in the code... |
@schiessle unfortunately no. We'll have to talk about this at the next hackweek :) |
Before starting on the implementation of multiple share links I would like to get some feedback from @nextcloud/designers how this should look like.
I already thought about it a little bit and this is my suggestion:
If you click on "create new public link" you get a text input field which is pre-filled with "share link 1", the next one "share link 2", and so on, so that the user can give the link a name.
If the link was created it will look like this, the user sees the new share link, with the '...' menu and again a option to create another public link:
To the '...' menu I would add the two new additional option "rename" and "unshare".
Opionions? cc @jancborchardt
Steps to complete it
The text was updated successfully, but these errors were encountered: