-
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 commentThe 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 commentThe 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 commentThe 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 commentThe reason will be displayed to describe this comment to others. Learn more. Maybe we can just use the same mechanism as in files. 😉 |
||
}; | ||
$scope.sidebar = $rootScope.sidebar; | ||
$scope.navibar = $rootScope.navibar; | ||
$scope.user = oc_current_user; | ||
}); |
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 ;)