-
Notifications
You must be signed in to change notification settings - Fork 286
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
toggle navibar visibility #177
Conversation
Signed-off-by: Artem Anufrij <artem.anufrij@live.de>
fix for #123 |
Codecov Report
@@ Coverage Diff @@
## master #177 +/- ##
=======================================
Coverage 76.12% 76.12%
=======================================
Files 33 33
Lines 955 955
=======================================
Hits 727 727
Misses 228 228 |
Signed-off-by: Artem Anufrij <artem.anufrij@live.de>
@@ -902,6 +910,12 @@ button.button-inline:hover { | |||
} | |||
} | |||
|
|||
@media (max-width: 768px) { | |||
#app-navigation-toggle { | |||
display: none !important; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@juliushaertl didn't you mention somewhere that navigation toggle should be available on mobile as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we could dispense with navigation bar completely if we move all buttons/controls into board view.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes let's add it to mobile as well, since otherwise it is not possible to access archived boards there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more thing that needs to be fixed is that the button should also be visible on the boards list overview ;)
@@ -24,6 +24,10 @@ app.controller('AppController', function ($scope, $location, $http, $route, $log | |||
$rootScope.sidebar = { | |||
show: false | |||
}; | |||
$rootScope.navibar = { | |||
show: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any chance we could animate this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pixelipo I have tried to animate it like files but I didn't found how it works in files.
It was my fist try :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They have a different approach - They are using CSS to move (translate) the main container (right one) over the navigation pane :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can just use the same mechanism as in files. 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure my questions are out of the scope of this PR. Apart from them, everything works as expected.
App doesn't save "toggled" state, which might be issue for the case reported in #123
I guess that is ok for now, since it will stay hidden while using deck and just reappear on reload. |
Signed-off-by: Artem Anufrij artem.anufrij@live.de