Repository navigation
adding share owner information to the file list - #7012
Conversation
|
Test passed. |
|
Awesome. 👍 @PVince81 @schiesbn |
|
@DeepDiver1975 the »Shared by « does not need to introduce a new element. Instead we should just put it in the »Share« action (replace the text) and put a .permanent class on it to have it show all the time. @karlitschek can we please only use thumbs up for when a pull request was tested and alright? Otherwise it gets very confusing for our review process which we all agreed on. |
|
@DeepDiver1975 that is, it probably needs to be added somewhere in the fileactions.js instead of the PHP. |
|
@jancborchardt Who said that I didn't test it? ;-) |
|
@karlitschek I just looked at it and it doesn’t look like something I would thumbs up yet because of overlay etc. Hence Tom mentioned it needs some design. ;) |
as discussed - I'll try to move it to the share button location ... |
|
@jancborchardt True. But I saw that you are mentioned to look into the design. Beside that it is clear that this is only a first step. We have to work more and the share overview side for ownCloud 7 anyways. |
|
@karlitschek yes, I know you use the »thumbs up« to mean »I agree with this change«. :) But since we agreed to use it for our two-thumbs-up review process, that makes it seem like you tested and reviewed the change and deemed it to be mergable. In essence, it would just be cool if the thumbs up symbol is reserved to mean »tested and reviewed« and would only be used if that is the case. If we wash down the meaning of it, not-really-reviewed stuff will be merged and the quality will suffer. ;) (Sorry for the seemingly off-topic discussion.) @DeepDiver1975 thanks! |
|
@jancborchardt There are perhaps two different understandings. One is "works perfectly and there is absolutely nothing to improve" and "Works and is a huge step into the right direction and the polishing can be done later in the ownCloud 7 release schedule." |
|
@jancborchardt Any another factor is that I know that this code will be touched anyways soon because of other upcoming changes in the files app. :-) |
|
@karlitschek @jancborchardt please have a look - THX |
|
FYI: this change shall be used for backporting to stable6 - this is decoupled from OC7 sharing/files app re-doing |
|
@DeepDiver1975 nice! That’s what I’m talking about. :) Just some issues:
|
|
@jancborchardt fixed |
|
👍 Looks all good from my side, also within shared folders. If you reshare something, the label changes to »Shared« and I think that’s ok for now. @PVince81 @owncloud/designers second review please. :) |
There was a problem hiding this comment.
Can we use a more specific selector here to avoid going through the whole page ?
For example: $('#fileList [data-share-owner]')
There was a problem hiding this comment.
|
I'm fine with that. It's a bit weird that you have to click on the "Shared by abcdef" to share something and then if you share it this is replaced by a "Shared". But if there will be the avatars of the users it's easier to understand. 👍 @PVince81 Feel free to merge or to request your jQuery selector change. ;) |
Hmm - I guess we did not think about the reshare scenario @jancborchardt |
|
As mentioned above I tried the reshare and I’m ok with what happens for now. Because currently still everything is in the »Shared« folder – and if everything just says »Shared by« you can’t distinguish. If on reshare it changes, it’s easier to identify. A follow-up should be to have the share logo plus the avatars of the people who are part of the share (max 3–5, additional ones would be visible in the dropdown). No text like »Shared«, and who is the specific »owner« is less important than showing everyone who has access to it. What do you think about this: Maybe actually we should already do something similar now with the text. Say Thomas shared a file with Morris and me, the text next to the sharing icon (which should be the group icon) should say »Thomas, Morris«. Then when I reshare it with Raghu, it should say »Thomas, Morris, Raghu«. After the 3rd person we should just say »Thomas, Morris, Raghu, …« and all the additional people you would see in the share dialog. How’s that sound? |
|
@jancborchardt Sounds great |
|
@PVince81 @DeepDiver1975 I hijacked this and fixed the jQuery selector. |
|
Just tried it out and there is a bug:
Expected: "Shared by user1" should reappear |
see https://github.com/owncloud/core/pull/7012/files#r9337198 http://24ways.org/2011/your-jquery-now-with-less-suck/
|
Quick-tested, still works after the rebase. As discussed with @jancborchardt , the issue above will be addressed in a separate issue. Let's wait for Jenkins before merging. |
|
Raised #7334 in advance for the issue I mentionned above. |
|
Hmm needs another rebase |
|
@DeepDiver1975 can you rebase it? |
Conflicts: apps/files_sharing/lib/cache.php
|
A new inspection was created. |
|
🚀 Test Passed. 🚀 |
|
Looks good from my side, @PVince81 can you give it a final review? |
|
Still works 👍 |
adding share owner information to the file list
|
thx |
|
Great to have this in finally. :) |
@jancborchardt pixel-push support requested 😉 THX