-
Notifications
You must be signed in to change notification settings - Fork 9
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
Show lock owner in tooltip #12
Conversation
See my comment in #3 (comment) :)
The unlock entry could then have the avatar of the person instead of the lock as icon. |
Is it possible to add a second action, so a second line? Also because for a locked file, a lot of the actions like move, rename, etc should probably be disabled anyway, right? |
How would that integrate the contacts menu then? Having another popover on top of the existing one doesn't seem nice to me.
Not possible as far as I can see right now. We cannot disable the core file actions from outside of their apps javascript context. |
@juliushaertl screenshot seems good! 👍 Can we get the time as well, like "Locked by admin 4 min ago"? Or what do you think?
We do have that in the header Contacts menu as well – having a menu inside a popover is just something we will likely have, and it’s fine. In any case, it’s a different discussion? |
cc @daita @karlitschek also for reference and review |
super cool. I agree that the time would be very good no know |
@juliushaertl @rullzer @daita Can we merge that? |
Lets be practical here. Merge this as it is already a nice improvement and get it out. And then for the next version we add the tooltip with text. Small PRs are good PRs ;) |
413fb1b
to
f4d73ce
Compare
If the entries are switched around then it’s good to go! So you have the info first: "Locked by Roeland" and then the action "Unlock file" |
Signed-off-by: Julius Härtl <[email protected]>
f4d73ce
to
2ce8adb
Compare
Order is changed as well. |
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.
Nice! :)
@daita can you give this a go as well and merge? |
tested and all, thanks @juliushaertl |
Ah mmm so it does 💥 on the context menu. Because if a file is not locked the displayname is undefined. Which in turn breaks the sort. |
Implements #7