Skip to content
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

Menu toggle overlaps content #4956

Closed
diemelone opened this issue Apr 16, 2021 · 24 comments
Closed

Menu toggle overlaps content #4956

diemelone opened this issue Apr 16, 2021 · 24 comments

Comments

@diemelone
Copy link

please add

padding-top: 44px;

for

.app-content-list

otherwise it is hidden behind the app-navigation-toggle

@ChristophWurst
Copy link
Member

screenshot?

@diemelone
Copy link
Author

diemelone commented Apr 16, 2021

grafik

Firefox with most recent updates

@no-response no-response bot removed the needs info label Apr 16, 2021
@ChristophWurst
Copy link
Member

@GretaD could you have a look? I don't get it 🙈

@diemelone please try to be more elaborate with your suggestions. Describe what the problem was before and how it's better now. Also with screenshots of design changes it always helps to have a before/after.

@szaimen
Copy link
Contributor

szaimen commented Apr 19, 2021

@ChristophWurst I think @diemelone talks about the overlapping hamburger button that you can see in the screenshot...

@diemelone
Copy link
Author

yes @szaimen that is what i was talking about, it happens in different apps and mail was the first one i noticed. But it happens in other apps as well.

@no-response no-response bot removed the needs info label Apr 19, 2021
@diemelone
Copy link
Author

How it is:
grafik

How it should be:
grafik

Further examples:
Calendar
grafik

Apps
grafik
There are more examples then these two but it should be enough to demonstrate the problem

@ChristophWurst
Copy link
Member

Got it, thanks. @GretaD knows more about this as we tried to improve this in the past.

@GretaD
Copy link
Contributor

GretaD commented Apr 19, 2021

@diemelone hello,
Yes, there've been couple of discussions on how to fix this overlapping and IIRC we decided not to add padding for app-content-list because it takes more space from the preview of envelops/contacts.
But maybe we want to reconsider, @jancborchardt @skjnldsv what do you think?

@diemelone
Copy link
Author

i am not quite sure what you mean by "preview of envelopes/contacts", but adding padding to the described html class doesnt change anything else in my installation.
Do you mean the yellow marked areas? They didn't change.
grafik

@GretaD
Copy link
Contributor

GretaD commented Apr 19, 2021

i am not quite sure what you mean by "preview of envelopes/contacts", but adding padding to the described html class doesnt change anything else in my installation.

No, the second column, where the envelops are shown - because of the padding added, one message is "gone" (in the end of the list)

@diemelone
Copy link
Author

adding the same but negative amount at the end doesn't work?

@GretaD
Copy link
Contributor

GretaD commented Apr 19, 2021

adding the same but negative amount at the end doesn't work?

we are working on this ticket now, which means the envelopes will be even wider to fit the tags, which means that more messages will be gone in the end of the list. Im not saying your idea is bad or wrong, I just need our design lead to agree that we can "sacrifice" 2 messages to have the hamburger menu not overlapping.

@jancborchardt jancborchardt changed the title Add padding for app-content-list Menu toggle overlaps content Apr 19, 2021
@jancborchardt
Copy link
Member

So the original issue @diemelone described is a duplicate of https://github.com/nextcloud/server/issues/16934#issuecomment-542201187 – with the solution described in my comment. :)

So yes, basically we can add some padding at the top of the envelope list. If we like, we can additionally put something additional on the top there like:

  • The "New message" button, with a small "refresh" icon on the right of it
  • Or just space there – looks strange though
  • The name of the current folder, although I’ve never seen that in another app and it’s just duplicated
  • Something else?

@diemelone
Copy link
Author

"New Message" would fit there quite well I think, but to keep the overall similar design (e.g. calendar app) I wouldn't change that, instead the foldername like in the photos app would be a good visual fix.
A refresh on the other hand would also be really useful and would probably look good as well

@ChristophWurst
Copy link
Member

we are working on this ticket now, which means the envelopes will be even wider to fit the tags, which means that more messages will be gone in the end of the list. Im not saying your idea is bad or wrong, I just need our design lead to agree that we can "sacrifice" 2 messages to have the hamburger menu not overlapping.

@jancborchardt did you read this?

@thstyl2000
Copy link

I also think that "delete message" "flagging" and local search would come in very very handy! (I find the frontends of sogo and afterlogic quite nice and good to work with...)

@MarkusKepert
Copy link

I have little similar issue with the toggle and i'll improved this a little bit (without much testing) and got this result as a quick fix:
image

What do you think about this?

@diemelone
Copy link
Author

diemelone commented Apr 20, 2021

for those that are looking for a quick and dirty fix I think I have got one...

With a border-top that is 44px high everything works fine, I haven't lost any messages like mentioned before and no unwanted scrollbar is created.

I used the custom css app.


Screenshots: Padding fix padding doesn't really do the trick as it only works for the first entry. Using margin creates an unwanted scrollbar.

before scrolling:

grafik

after scrolling:
grafik

Screenshots: Border-top fix So I added a border-top for the .app-content-list class, for demonstration purposes in red

before scrolling:
grafik

after scrolling:
grafik


The following css takes effect on multiple apps including mail and contacts. I haven't tried many more, so I don't know all apps that are effected. For the calendar app the second css code is relevant.

/*mail app*/
.app-content-list {
	border-top: 44px solid var(--color-main-background);
}
/*calendar app*/
.fc-media-screen {
	border-top: 44px solid var(--color-main-background);
}

@MarkusKepert
Copy link

Thats a great fix. What i didn't see first, that this isnt a problem of mail app. It's problem of Nextcloud core CSS i think

@mat-m
Copy link

mat-m commented Apr 29, 2021

So yes, basically we can add some padding at the top of the envelope list. If we like, we can additionally put something additional on the top there like:

  • The "New message" button, with a small "refresh" icon on the right of it
  • Or just space there – looks strange though
  • The name of the current folder, although I’ve never seen that in another app and it’s just duplicated
  • Something else?
  • Refresh button would be useful (And would be perfect if it also includes reload to complete the list of messages after having deleted some)
  • Select all button, maybe ? Or at least, the multi-select button and dot

@stale
Copy link

stale bot commented Jan 8, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 8, 2022
@jancborchardt
Copy link
Member

Currently there is a fix which makes it look halfway done, with there now being an empty "header bar" which is only there for the menu toggle:
image

The proper solution would be to move the "New message" and "Refresh" buttons in from the navigation to that area as well, as specified in: #4956 (comment)
(Same for Contacts)

@jancborchardt jancborchardt added this to 🧭 Planning evaluation (don't pick) in 💌 📅 👥 Groupware team via automation Feb 16, 2022
@jancborchardt jancborchardt added this to 🧭 Planning evaluation (don't pick) in 🖍 Design team via automation Feb 16, 2022
@jancborchardt jancborchardt moved this from 🧭 Planning evaluation (don't pick) to ☑️ Done in 🖍 Design team Feb 16, 2022
@ChristophWurst ChristophWurst removed this from 🧭 Planning evaluation (don't pick) in 💌 📅 👥 Groupware team Feb 28, 2022
@reos-rcrozier
Copy link

Another solution would be something more like this:
image

Where you always loose a thin little bit of space to the left, and the button actually stays on the menu side and therefore never interferes with the content.

@jancborchardt
Copy link
Member

This was already fixed with the redesign in Nextcloud 25 :)
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
🖍 Design team
  
☑️ Done
Development

No branches or pull requests

9 participants