-
Notifications
You must be signed in to change notification settings - Fork 263
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
Match header-padding with AppDetailsToggle-width #2693
Conversation
Signed-off-by: Anton Strömkvist <anton@stromkvist.com>
Thanks for opening your first pull request in this repository! ✌️ |
4060320
to
9c702ab
Compare
@ahstro since the position change will make the subject not aligned with the body text anymore, could you instead fix this by removing the white background from the back arrow, or at least making it smaller? (The clickable area should stay the same, but the visual circle should be smaller.) |
@jancborchardt Oh, should've seen that 🤦 Sure, I'm on it! |
@ahstro aah yes, that old problem. :) @ChristophWurst is it not possible via Vue to make the display of the menu and back icons mutually exclusive? |
Wasn't there a ticket for this somewhere? I feel like this discussion has already happened and the css hack is the only viable solution. @Greta @skjnldsv maybe? |
The minimum clickable size needs to be 44*44px as per the design guidelines. :) |
Yeah, the discussion was on the mail repo, but there might be a thread there too. @jancborchardt might now better |
another idea: what about moving the title of the mail a bit to the right, then it doesn't overlap with the button... I mean it is more annoying (at least imo) seeing the cut off title then if the title doesn't align with the mail body below... |
I would say the cleanest solution would be having a dedicated interaction bar for mobile on the top, that would be always visible like what are you doing it in the files app or text app. I know it is a lot of space for just one back button but maybe you could also put the name of the app there if there is too much empty space. The most important thing concerning that solution would be that it would solve all those annoying problems with overlapping and so on and could also work for all other apps. Look at only one application from ios or android: most of them have interaction bars on the top. |
@ChristophWurst what was the CSS hack though?
@szaimen this is what this pull request initially did, check my comment above for why it doesn’t look nice.
We already have our blue header bar with all the apps, and the browser controls there. We shouldn’t have yet another element. |
@jancborchardt Maybe I haven't described well enough what I mean. Please look at this fast mockup: It is inspired by the files app where you have already a row for the app control elements: BTW: you could use that now available space in the mails-view (if you click on a mail) to show the header of the mail... but that will be discussed after #2222 (comment) is merged. |
@szaimen there is a reason why we don’t show the current folder in the view – cause we lack space, and it’s not really necessary. Especially the last mockup shows that the "Contact name" will be duplicated by this new heading. We don’t want more interface, especially not vertically where space is limited when you also open the virtual keyboard. And actually reading this again, we already have a solution with mockup for this at https://github.com/nextcloud/server/issues/16934#issuecomment-526664888 – it includes moving the "New message" button.
|
This comment has been minimized.
This comment has been minimized.
So @skjnldsv mentioned it would be good to implement this in the Vue components at https://github.com/nextcloud/nextcloud-vue – @skjnldsv do you have pointers for @ahstro or anyone who would like to dive into that? :) |
Hey 👋 I'm not fully aware of the specs, but if the goal is to migrate the @jancborchardt make sure the entire spec is super crystal clear here as this can be quite complicated I think (not saying it isn,t, as I did not read it all, just stating something we should be careful of :) ) I would list all the use cases and UX flows so that we're all on the same page 🚀 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I'm closing this one-liner PR due to the lack of activity. If someone wants to continue this please start a new PR :) |
Fixes problem with
AppsDetailsToggle
-button overlapping part of the message header on narrow screens.