-
Notifications
You must be signed in to change notification settings - Fork 94
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
Rich workspaces: move formatting bar in front of breadcrumbs #2234
Comments
Might be tricky to implement properly from a technical perspective, as currently the styling is quite simple with being limited to the container div, but UI wise let's see what @nimishavijay and @jancborchardt think. |
@jancborchardt Any feedback on this one? |
🏓 @nextcloud/designers |
I think we should use a formatting bar here (and everywhere else) like notion does |
We had a floating menu in the past for inserting links / updating links but it was not discoverable to lots of users and caused major troubles with mobile devices, especially on conflicting with native mobile browser dialogs on selected text, so this is something I would not re-introduce in text. |
Agreed with Julius, a floating formatting bar works in theory, but there were many issues even just for formatting links. Since the problem is about the extra whitespace (which I agree with), what if we have the following behavior:
|
Is your feature request related to a problem? Please describe.
The rich workspaces feature adds a lot of unnecessary whitespace in the Files app as it reserves a vertical bar for formatting options – even if editing isn’t active or even if there is no readme at all.
If you enter the rich text area the whitespace is used to show the formatting bar. Which is again faded out if you exit text editing.
Describe the solution you'd like
As the formatting bar is only displayed if you actively click into the rich text area, I propose to move the formatting bar in front of folder breadcrumbs. Additionally a close button could be shown where the view switch is located.
If you exit the editing mode by clicking anywhere or using the close button, breadcrumbs are back there to navigate folders.
Describe alternatives you've considered
You can completely turn off rich workspaces but that strips the feature entirely not only the whitespace.
Quick mockups
Current:
Proposal:
How to use GitHub
The text was updated successfully, but these errors were encountered: