-
Notifications
You must be signed in to change notification settings - Fork 155
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
Long breadcrumb: truncate and add drop menu #6731
Comments
maybe the easiest solution <div id="parent">
<ul id="child" class="breadcrumb">...</ul>
</div> #parent -> overflow-x: hidden window.onResize: #child.outerWitdh >= #parent.outerWitdh => child.li -> pop |
Would propose doing it like flo said, I tried to find another solution but I'm not sure if the three dots menu is possible that easy :/ |
You could have a look at what the classic ui in oc10 does. That has the truncation like we want to have it (not the three dots menu though, but that could be solved in a separate PR). The click behaviour on the truncated part feels non-deterministic in oc10 classic ui, so I'd propose to just not react at all on a click on the |
We are facing the problem (also tested on ocis.ocis-traefik.latest.owncloud.works) that the line break is not happening for long breadcrumbs and as a result the breadcrumb keeps the width for the web-app-files. It makes the sidebar unusable. |
We've would go for a solution similar to that of dropbox. If the breadcrumbs total length is greater than the available size, we remove items from the front but leaving personal and showing a dropdown for the hidden items. (e.g. Personal > ... > someFolder > subFolder) Very small technical PoC (without the dropdown yet) |
yes! i like that |
We've committed to don't build an dropdown for the ... item because its confusing, the ... will be clickable and direct you to the last hidden folder. |
Please don't. |
... or go back to the top and then down again :-P The mobile viewports don't use this breadcrumb design anyway, so we're talking about ipad size or larger. Heard your voice as a first indicator that |
relates to 7abee7a |
Question to @elizavetaRa you can check the current implementation here: (admin:admin) (admin:admin) |
Steps to reproduce
Expected behaviour
Breadcrumb should not line-break
Actual behaviour
Breadcrumb Line-breaks:
Proposal
...
on the left, so that it does not line-break...
opens a drop menu with only the remaining i.e. truncated (hidden) folders.Personal
,Spaces > Mars
stays visible, truncation starts after thatScribble:
The text was updated successfully, but these errors were encountered: