-
-
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
Add Editing for Link Share Labels #21357
Conversation
4286e9f
to
cd42f88
Compare
4709ec4
to
0dc383b
Compare
0dc383b
to
264ce21
Compare
I’m not sure we should right away go with such a detailed note. One thing we should for sure already do is to have a subline for the "Copy link" which shows the details about chosen options, like:
or
This already helps a lot to know what these links do and are for, without any further interaction needed. |
I was implementing a solution like this because, for example, my resume has 3 different share links that I have sent to different people, all read only and with no expiry. I needed to remove one of them but I had no way to know which one was for whom. This happens pretty often where I share multiple links for each file or folder, each with the same settings but for different people, but really struggle to know which share link went to whom. When I want to remove them. One idea, to maybe combine both options: could we have something where the note to self is more of a "share title"? If you don't put anything there, the message shown is what @jancborchardt came up with, but if you put a title, it shows that instead? Let me see if I can make a quick prototype of that idea. So usually, it would say something like
but if you put a message on it, for example, "for best friend", then it says:
|
Oh wait, didn't notice this, there's a label system for link shares already. Could we maybe just expose editing that to the user? server/apps/files_sharing/src/components/SharingEntryLink.vue Lines 415 to 417 in 264ce21
server/apps/files_sharing/lib/Controller/ShareAPIController.php Lines 1087 to 1089 in 264ce21
cc @skjnldsv |
yes please! The stuff that jan proposes is a next step I guess (having some context below the link) |
Oh cool, sure. :) Then we could just show that note in parentheses behind like:
This would then also work for the future if we get that subline with the further info. |
To do that properly, a change will be required in nextcloud-vue as well. I'll get on that. Also, I'm definitely not going to keep my messages short :) |
Hehe ;D You’re free to do that of course, I just think that we have to keep in mind where they would need to be displayed – and those will likely be 1-line displays only mostly. Of course people can write more in an input field. |
264ce21
to
a3477c9
Compare
Isn't this some kind of redundant? User sees via icon and as they created it themselves that it is a share link. Btw: I created a feature parity issue: #21593 |
Thanks @tobiasKaminsky Also, ping for reviews? |
Remember that not everyone spends so much time in Nextcloud as we do. :) So I would still say we should keep the "Share link" text and only put the label inside parentheses behind that. That is, @gary-kim in your example the "for" is outside of the parentheses but it should not be, basically it’s:
|
6ab1aa7
to
af08f70
Compare
Okie, fixed 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good design-wise! :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments :)
af08f70
to
7820e83
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good stuff! Seems to do the trick. I'm all for getting in and fixing small stuff later in followups!
7820e83
to
52b1b28
Compare
Okay, otherwise good? |
Signed-off-by: Gary Kim <gary@garykim.dev>
52b1b28
to
a2cedce
Compare
Rebased |
Great work @gary-kim - I think this will make a lot of users happy ;-) |
Closes #21265
Still a work in progress.Will need to be added separately to the mobile and desktop apps.
This is more just an idea at the moment so feel free to comment on what you think about the idea of having a "note to self" for shares. The idea is to have a place to put notes to yourself about the share. Found the need to do this often for marking down which link is shared where.The goal changed slightly. A entire note to self section is overkill so we are now giving the user the ability to edit the label for link shares.