Uh oh!
There was an error while loading. Please reload this page.
App navigation flex - #6399
Conversation
ee4d48e to
0e81b5cCompareCodecov Report
@@ Coverage Diff @@## master #6399 +/- ##
============================================
+ Coverage 53.06% 53.06% +<.01% - Complexity 22552 22553 +1
============================================
Files 1414 1414 Lines 87741 87745 +4 Branches 1340 1340 ============================================
+ Hits 46557 46564 +7 + Misses 41184 41181 -3
|
nickvergessen
commented
Sep 8, 2017
I guess this will break a lot of apps again... |
@nickvergessen I will try my best to help reestablishing everything again. But would you prefer we do nothing and leave this mess around? 😞 And btw, there is a lot of feature announced on the css guidelines that don't work even before the scss switch. So it's time to have something usable again! |
nickvergessen
commented
Sep 8, 2017
No, of course progress is good. But maybe you can post in the forum in the dev section that there changes about this incoming, so people can check their apps and update them when necessary ;) |
skjnldsv
commented
Sep 8, 2017
I will check other apps myself. |
MorrisJobke
commented
Sep 8, 2017
One thing that annoys me from time to time, is that the app content container is the actual scrolling part and the navigation around it is fixed. That also means, that mobile browsers don't properly detect if you scroll in there as a "page scroll" and don't hide the header of the browser. That means that it is unusable screen space. Does this PR here addresses this or does it only change stuff in the header/menu itself? |
skjnldsv
commented
Sep 8, 2017
@MorrisJobke not in this pr. But it's indeed an issue I'd like very much to investigate. Is there an opened one already? |
MorrisJobke
commented
Sep 8, 2017
I don't think so :/ |
043d015 to
fabe262CompareFor testing, here is a test app which show all of the possibilities for the app-navigation. |
@nextcloud/designers Please review! |
skjnldsv
commented
Sep 12, 2017
We should probably add a feedback on the submenus of a deletable entry. Right now we only get the confirmation on the main a content. We could set an opacity to 0.5? or something? |
juliusknorr
commented
Sep 12, 2017
@skjnldsv Looks really nice. One small issue I found while testing is that collapsed menus are only working when you click on the text. I think they should also collapse/expand when clicking the arrow symbol: |
jancborchardt
commented
Sep 12, 2017
Every entry should be clickable on the whole height/width (extending to the left edge of the viewport, and to the right to the edge of the navigation, minus the action icons of course). |
skjnldsv
commented
Sep 12, 2017
@juliushaertl It's because of my javascript! ^^ @jancborchardt there isn't any js in core to handle the app-navigation doesn't it? |
jancborchardt
commented
Sep 12, 2017
@skjnldsv not sure about the JS part but the clickable area is a pure CSS thing, no? Any idea ^ @BernhardPosselt @nextcloud/javascript? |
skjnldsv
commented
Sep 12, 2017
The clickable area is yes. I need to fix a small think indeed so the link gets above the collapse button. |
🎉 |
| @@ -0,0 +1,4 @@ | |||
| <?xml version="1.0" encoding="UTF-8"?> | |||
There was a problem hiding this comment.
Great work with this PR, @skjnldsv ! Just a small note - SVG should be optimized with Scour and it's missing viewbox="0 0 16 16" tag.
There was a problem hiding this comment.
I used the scour command provided by the nextcloud optimise bash script :p
There was a problem hiding this comment.
Hmmm, that's strange, because it should remove the <xml> element as well as linebreaks....
There was a problem hiding this comment.
scour --create-groups --enable-id-stripping --enable-comment-stripping --shorten-ids --remove-metadata apps/files/img/quota.svg > apps/files/img/quota-opt.svg
| display: none; | ||
| } | ||
| /* move Deleted Files to bottom of sidebar */ |
There was a problem hiding this comment.
only 3 declarations left in this file - can we move them somewhere else?
@MorrisJobke@jancborchardt Should we backport? |
MorrisJobke
commented
Sep 24, 2017
As it is a feature I would say no - and for my opinion it is too much changed code for a back port |
skjnldsv
commented
Sep 25, 2017
Damn, I should have done that earlier. |
MorrisJobke
commented
Sep 25, 2017
May be better - we only need to be careful about potential breakages of apps in the existing versions |
jancborchardt
commented
Sep 25, 2017
Yeah, this can absolutely not be backported unfortunately. :\ But yes, a drop-in CSS file for apps while they need to support older versions still might be best. |
skjnldsv
commented
Sep 25, 2017
Okay, I will provide a patch after I finished upgrading the other apps. When is 13 due? |
MorrisJobke
commented
Sep 25, 2017
~ 1 month feature freeze |
skjnldsv
commented
Sep 25, 2017
Meep meep! 📯 |

Flex on app-navigation to finish the reorganisation of the app-navigation done on february by me.
Still some old code to clean.