You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have in lots of issues that a navigation drawer (sidebar) is wanted.
Here we should discuss (maybe with) mockups which functions should be in the navigation drawer and if it is really needed.
The list below is only a teaser of the real issues that should be linked to it, once they are created.
(Offline/all files: #407): Although I think this should be in "three points"
That shouldn’t be in the »three points« because it is an entirely different view. The three points items should only be tools for the current view. It’s good for the files »Downloaded« or »On device« to be an entry in the sidebar.
Another entry for the sidebar is of course the account switcher, as visible in the guidelines pointed out by @joeplus.
Accounts with Avatars
++++
My Files
Shared with me
Shared by me
Starred / Favourites
Recent
Offline / Kept in Sync
Transfers / Upload queue
Pictures / Albums - specific view
Camera Backup
Trash
++++
Log
Settings
Help & Feedback
Updated according to your suggestions.
Next step would be to include this step by step. To get started easier I would suggest to just "move" all existing items to the correct place in the sidebar and later add new entries.
For example more spacing. And having the account switcher drop down when you click on the name (we can add a settings icon right next to the name as a quick link for settings).
We can use the icons from core – I will list which when it’s not middle of the night like now. ;)
The ability to change avatars would be a nice addition, yes.
Help and Log should be items inside Settings (on the bottom), and not have their own dedicated items in the siebar. We shouldn’t cram too much in there. ;)
There is a little problem regarding the "three lines (hamburger):
As you can see it is very full in the ActionBar.
Also, currently the owncloud icon is used to browse up the folder hierarchy.
But this is the same method, which is used for the hamburger.
And I have no solution found to use both. Beside that it would be very difficult to touch this very small hamburger.
So my current idea is to stop using the owncloud icon as "up" and start using it as toggle for the navigation drawer. For browsing there can be used the folder name as it is now.
Also there is a problem with android version < 3.0. On this versions there is no support for the "hamburger". It is just not there. But swiping from left to right still opens the drawer.
@tobiasKaminsky , I removed our navigation_drawer branch. We will keep locally our changes about ActionBarSherlock and study if merging them with your navigation_drawer, or just moving them to the first branch about Material Design.
I have updated my branch and committed it directly here.
"On device vs all files" is working
Reloading account list after creating a new account is also working
Next step for me is to implement the account avatar or at least a circle in a calculated color of the username. (there is already some code in it, trying to do this).
@tobiasKaminsky , it's great to see the progress of the account selection. @jancborchardt, maybe you would like to make some comments on that design?
From our side, we need to apply some QA to this right now, before it grows too much. We need to grant that the introduction of both the navigation drawer layout and the action bar don't result in unexpected behaviours or bugs in different Android versions.
We don't want to interfere the progress of the account selection, so we will proceed next way: I will create a separate branch from navigationDrawer_update called navigationDrawer_basic. In it we will hide the account list; unfortunately we don't have enough QA power to test all of it before ending the current sprint, so we will hide it for this _basic branch in order to keep the scope of tests under control. The work on the account list, or on other navigation drawer entries, may go on in navigationDrawer_update.
It's very cool! I would just not duplicate the ownCloud logo there, and instead of having a separate line for the name, just show the name behind "Account".
Also, we should really get Material design in so this looks proper modern :)
The lower ownCloud logo should be replaced by the avatar of the current account.
If it is not there I want to use the rectangle with the first letter.
Do you agree?
Regarding Material design: What is missing in the drawer?
The fonts, colors and margins will need a little bit of work to be Material-Design compliant. Also, using icons for every entry would look much better.
Any updates on this, especially the Material-style account switcher, the Favorites entry and the »Shared« entries? @AndyScherzinger@tobiasKaminsky @LukeOwncloud @Kernald
Not yet. I think we can revive the account switcher implementation done by @tobiasKaminsky and I can rework the drawer implementation for the UI side of the issue. So yeah I kind of have it on my personal roadmap UI wise -what do you say @tobiasKaminsky should I open a new branch (from master) to revive your already been done efforts?
Activity
joeplus commentedon Nov 27, 2014
I am just posting the link to the updated guidelines based on material design. I think the future development should focus on implementing the current design Google suggests for Android apps.
http://www.google.com/design/spec/patterns/navigation-drawer.html
The guidelines include also some examples on how to handle different accounts within one app (basically taking the new GMail app as a reference point).
I think there is also a support library for devices which are not running Lollipop yet:
https://developer.android.com/tools/support-library/index.html
jancborchardt commentedon Dec 5, 2014
That shouldn’t be in the »three points« because it is an entirely different view. The three points items should only be tools for the current view. It’s good for the files »Downloaded« or »On device« to be an entry in the sidebar.
Another entry for the sidebar is of course the account switcher, as visible in the guidelines pointed out by @joeplus.
joeplus commentedon Dec 5, 2014
From top to bottom, my suggestions:
Accounts with Avatars
++++
My Files
Shared with me
Shared by me
Starred / Favourites
Recent
Offline / Kept in Sync
Transfers / Upload queue
Pictures / Albums - specific view
Camera Backup
Trash
++++
Log
Settings
Help & Feedback
jancborchardt commentedon Dec 5, 2014
We should avoid the use of »Me« however. To keep it in line with the web interface:
tobiasKaminsky commentedon Dec 26, 2014
Updated according to your suggestions.
Next step would be to include this step by step. To get started easier I would suggest to just "move" all existing items to the correct place in the sidebar and later add new entries.
jancborchardt commentedon Dec 26, 2014
Yep, good call.
@davivel is there prior work for this in a branch (I guess not), or is it best to start a new one?
tobiasKaminsky commentedon Jan 1, 2015
Ladies and Gentleman, we now have a navigation drawer :)
This is just a dummy.
My plan is to move the existing functions to the drawer:
Feedback is more than welcome. Especially @jancborchardt as I not very good at design...
EDIT: Maybe we can also have small icons very every item?
jancborchardt commentedon Jan 2, 2015
NICE! This is really really cool, seriously.
Design-wise, we should follow the Google Design guidelines for the navigation drawer.
For example more spacing. And having the account switcher drop down when you click on the name (we can add a settings icon right next to the name as a quick link for settings).
We can use the icons from core – I will list which when it’s not middle of the night like now. ;)
The ability to change avatars would be a nice addition, yes.
Help and Log should be items inside Settings (on the bottom), and not have their own dedicated items in the siebar. We shouldn’t cram too much in there. ;)
Best belated Christmas present ever! 💃
tobiasKaminsky commentedon Jan 2, 2015
Regarding accounts: I want to do it this way:

(from http://theopentutorials.com/tutorials/android/listview/android-expandable-list-view-example)
Maybe "Help", "Log", "Feedback" can also be grouped by this?
tobiasKaminsky commentedon Jan 2, 2015
There is a little problem regarding the "three lines (hamburger):

As you can see it is very full in the ActionBar.
Also, currently the owncloud icon is used to browse up the folder hierarchy.
But this is the same method, which is used for the hamburger.
And I have no solution found to use both. Beside that it would be very difficult to touch this very small hamburger.
So my current idea is to stop using the owncloud icon as "up" and start using it as toggle for the navigation drawer. For browsing there can be used the folder name as it is now.
tobiasKaminsky commentedon Jan 2, 2015
Also there is a problem with android version < 3.0. On this versions there is no support for the "hamburger". It is just not there. But swiping from left to right still opens the drawer.
tobiasKaminsky commentedon Jan 2, 2015
@davivel For your information :)
Feedback is welcome :)
tobiasKaminsky commentedon Jan 2, 2015
Has anybody an idea / url how I can get the user icon of an account?
My idea was to have the icon next to the account in the list...
29 remaining items
davivel commentedon May 22, 2015
@tobiasKaminsky , I removed our navigation_drawer branch. We will keep locally our changes about ActionBarSherlock and study if merging them with your navigation_drawer, or just moving them to the first branch about Material Design.
tobiasKaminsky commentedon May 23, 2015
I have updated my branch and committed it directly here.
"On device vs all files" is working
Reloading account list after creating a new account is also working
Next step for me is to implement the account avatar or at least a circle in a calculated color of the username. (there is already some code in it, trying to do this).
tobiasKaminsky commentedon May 24, 2015
PR is #987
Currently state:

Remaining problem: Color calculation is not the same as in /core as Integer.parseInt is not working the same in JavaScript and Java.
masensio commentedon May 25, 2015
Hi @tobiasKaminsky,
we will review your contribution to add it to the app.
Thanks a lot for the navigation drawer implementation.
davivel commentedon May 29, 2015
@tobiasKaminsky , it's great to see the progress of the account selection. @jancborchardt, maybe you would like to make some comments on that design?
From our side, we need to apply some QA to this right now, before it grows too much. We need to grant that the introduction of both the navigation drawer layout and the action bar don't result in unexpected behaviours or bugs in different Android versions.
We don't want to interfere the progress of the account selection, so we will proceed next way: I will create a separate branch from navigationDrawer_update called navigationDrawer_basic. In it we will hide the account list; unfortunately we don't have enough QA power to test all of it before ending the current sprint, so we will hide it for this _basic branch in order to keep the scope of tests under control. The work on the account list, or on other navigation drawer entries, may go on in navigationDrawer_update.
cc @masensio and @purigarcia
jancborchardt commentedon May 29, 2015
It's very cool! I would just not duplicate the ownCloud logo there, and instead of having a separate line for the name, just show the name behind "Account".
Also, we should really get Material design in so this looks proper modern :)
tobiasKaminsky commentedon May 30, 2015
The lower ownCloud logo should be replaced by the avatar of the current account.
If it is not there I want to use the rectangle with the first letter.
Do you agree?
Regarding Material design: What is missing in the drawer?
Kernald commentedon May 30, 2015
The fonts, colors and margins will need a little bit of work to be Material-Design compliant. Also, using icons for every entry would look much better.
See here for details.
Kernald commentedon May 30, 2015
And Google just releases a design support library. It's worth taking a look.
jancborchardt commentedon Jan 12, 2016
Any updates on this, especially the Material-style account switcher, the Favorites entry and the »Shared« entries? @AndyScherzinger @tobiasKaminsky @LukeOwncloud @Kernald
AndyScherzinger commentedon Jan 12, 2016
Not yet. I think we can revive the account switcher implementation done by @tobiasKaminsky and I can rework the drawer implementation for the UI side of the issue. So yeah I kind of have it on my personal roadmap UI wise -what do you say @tobiasKaminsky should I open a new branch (from master) to revive your already been done efforts?
tobiasKaminsky commentedon Mar 18, 2016
So...we did the next step: account switching is back: #1537
What else is missing here?
tobiasKaminsky commentedon May 6, 2016
Closing as this issue is just to big and should be separated in smaller ones if necessary.