Conversation
|
fix for #185 |
Codecov Report
@@ Coverage Diff @@
## master #190 +/- ##
=======================================
Coverage 76.56% 76.56%
=======================================
Files 33 33
Lines 973 973
=======================================
Hits 745 745
Misses 228 228 |
I have same position like |
|
js/app/Run.js
Outdated
There was a problem hiding this comment.
remove this if, since the toggle should always be visible - then you won't need !important in CSS
There was a problem hiding this comment.
it for different behavior. on mobile devices app-content will be moved to the right. on desktop app-navigation will be hide.
There was a problem hiding this comment.
does it even work, @artemanufrij ? Look at the next line toggle('hidde') is not correct 😉
templates/main.php
Outdated
There was a problem hiding this comment.
why do you need additional <div> here?
There was a problem hiding this comment.
otherwise it doesn't work with core-functions
There was a problem hiding this comment.
which function exactly? I tested locally and didn't find any errors.
There was a problem hiding this comment.
the toggle button will be created by js.js from core (see line 1569) automatically. it works only if ui-view is in a separate div instead in app-content
There was a problem hiding this comment.
Why do we create a DOM element using JS if it has to be present in 100% of cases? Seems like a waste of resources. cc @juliushaertl
There was a problem hiding this comment.
@pixelipo This is part of the logic from core, so that apps don't need to care about adding this sidebar slide functionality. But since we use our own js code to toggle those of course we could also just keep the existing structure and add the toggle button to the template.
templates/part.board.mainView.php
Outdated
There was a problem hiding this comment.
please revert to previous version of this code. It was decided some time ago that it's a good approach. CHanges here are not needed to make toggle work.
I do agree with renaming #board-header to #controls
There was a problem hiding this comment.
no, but it's same code like files
There was a problem hiding this comment.
"same code as files" I remember that discussion from a different PR 😉 files also has a wrong. This is what is causing issue with positioning of icons mentioned by @juliushaertl
There was a problem hiding this comment.
I remember we discussed that some times ago, yes, although I'm not sure what exactly the reason was for that. 🙈 Let's use our fixed approach, we can always go to the way files does it once it is implemented properly there.
templates/part.boardlist.php
Outdated
26f680b to
2eddaab
Compare
css/style.css
Outdated
There was a problem hiding this comment.
this should be 44 as well
js/app/Run.js
Outdated
There was a problem hiding this comment.
👍 that's what I was talking about :)
2eddaab to
db7a91e
Compare
Signed-off-by: Artem Anufrij <artem.anufrij@live.de>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
db7a91e to
812ed56
Compare

Signed-off-by: Artem Anufrij artem.anufrij@live.de