Repository navigation
Improved remote share owner display - #9410
Conversation
|
We should only display the first part, before the domain. So from your example:
The full address is too long, and should only be shown inside the dropdown, and on hovering the name. |
|
Thanks. |
|
For the tooltip, how about "Shared by [email protected] on server.com/path/to/owncloud" ? |
|
The tooltip should only show the user address, and without any subfolders. So instead of
(The tooltip is for expanding on the name only, so we shouldn’t repeat the »Shared by«.) |
|
Ok got it, thanks. |
The parts of the remote share owner name is now split between user name, domain name and root so they can be formatted / displayed differently. The user name + domain name are displayed in the tooltip.
|
All done. Please review. |
|
For the code review @icewind1991 @MorrisJobke |
|
Code looks good, tested 👍 |
|
The inspection completed: No new issues |
|
🚀 Test Passed. 🚀 |
|
@jancborchardt please have another look. Thanks. |
|
This is awesome! Thank you @PVince81 👍 and my eternal ❤️ ;) |
Improved remote share owner display
|
@jancborchardt @PVince81 Please note that I created the astable7 branch just seconds before your merge. So this has to be backported if this should be in ownCloud 7. |
|
@karlitschek hm … seconds before? It seems that stable7 is at ea756a1, 32 hours ago. |
|
grmpf. my mistake. Now it is up to date and includes this pull request |
|
Cool, thanks! |
|
Sorry for late comment, but what do we do with that string? It has been merged as soon as the new branch is created and unfortunately we do not have this string translated in any language? |
The parts of the remote share owner name is now split between user name,
domain name and root so they can be formatted / displayed differently.
The full name is visible in a tooltip.
It doesn't look that good at the moment.
I have split the parts in separate spans so they could be styled differently, for example using different shades of gray.
Please note that a user name can also be "me@[email protected]/owncloud" so we need to handle such cases as well.
See screenshot:

TODO:
Please have a look @owncloud/designers