-
Notifications
You must be signed in to change notification settings - Fork 32
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
Breadcrumb: Current folder middle button clickable but it has no text decoration #685
Comments
@jelly is this intended? the breadcrumb is the only place where you can really reopen the same folder atm by middle clicking |
Alternatively we could just not let the user middle click the current portion of the breadcrumb? |
That landed in the recent breadcrumb changes. And, sure, that doesn't have possible interaction issues with multi-select, so it makes sense as a good compromise. However, can we make the href go to something like this URL: https://localhost:9090/files#/?path=%252Fvar%252Fhome Instead of: https://localhost:9090/cockpit/@localhost/files/index.html#/?path=/var/home So the page would be inside of Cockpit instead of outside of Cockpit? (The JavaScript location is fine; this is just having a different URL for the native browser clicks to open in a new tab to keep the shell.) |
We can't do that easily: https://github.com/cockpit-project/cockpit-files/blob/main/src/files-breadcrumbs.tsx#L222 |
So it can't be something like
Instead of
for the HREF instead of the link? (You'd still use the second one for the location via JS; the first would only be for the Is the problem the |
Originally posted by @leomoty in #670 (comment)
The text was updated successfully, but these errors were encountered: