Skip to content

Navigation Drawer: Brainstorming the content #757

Closed

Description

@tobiasKaminsky

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.

Here is some guideline when to use it and what to include in.
https://developer.android.com/design/patterns/navigation-drawer.html

Content:

Then only "account refresh" and "sort" will stay in "three points" on the top right side.

Activity

  1. joeplus commented on Nov 27, 2014

    @joeplus

    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

  2. jancborchardt commented on Dec 5, 2014

    @jancborchardt
    Contributor

    (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.

  3. joeplus commented on Dec 5, 2014

    @joeplus

    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

  4. jancborchardt commented on Dec 5, 2014

    @jancborchardt
    Contributor

    We should avoid the use of »Me« however. To keep it in line with the web interface:

    • All Files
    • Favorites
    • Recent
    • Shared with you
    • Shared with others
    • Shared by link
    • On device
    • Transfers
  5. tobiasKaminsky commented on Dec 26, 2014

    @tobiasKaminsky
    ContributorAuthor

    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.

  6. jancborchardt commented on Dec 26, 2014

    @jancborchardt
    Contributor

    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?

  7. tobiasKaminsky commented on Jan 1, 2015

    @tobiasKaminsky
    ContributorAuthor

    drawer

    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:

    • Accounts with Avatars: Should it possible to change it here directly? I think yes.
    • Settings
    • Help
    • Log

    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?

  8. jancborchardt commented on Jan 2, 2015

    @jancborchardt
    Contributor

    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! 💃

  9. tobiasKaminsky commented on Jan 2, 2015

    @tobiasKaminsky
    ContributorAuthor
  10. tobiasKaminsky commented on Jan 2, 2015

    @tobiasKaminsky
    ContributorAuthor

    There is a little problem regarding the "three lines (hamburger):
    drawer1
    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.

  11. tobiasKaminsky commented on Jan 2, 2015

    @tobiasKaminsky
    ContributorAuthor

    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.

  12. tobiasKaminsky commented on Jan 2, 2015

    @tobiasKaminsky
    ContributorAuthor

    @davivel For your information :)
    Feedback is welcome :)

  13. tobiasKaminsky commented on Jan 2, 2015

    @tobiasKaminsky
    ContributorAuthor

    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...

  14. 29 remaining items

  15. davivel commented on May 22, 2015

    @davivel
    Contributor

    @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.

  16. tobiasKaminsky commented on May 23, 2015

    @tobiasKaminsky
    ContributorAuthor

    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).

  17. tobiasKaminsky commented on May 24, 2015

    @tobiasKaminsky
    ContributorAuthor

    PR is #987

    Currently state:
    drawer

    Remaining problem: Color calculation is not the same as in /core as Integer.parseInt is not working the same in JavaScript and Java.

  18. masensio commented on May 25, 2015

    @masensio

    Hi @tobiasKaminsky,

    we will review your contribution to add it to the app.
    Thanks a lot for the navigation drawer implementation.

  19. davivel commented on May 29, 2015

    @davivel
    Contributor

    @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

  20. jancborchardt commented on May 29, 2015

    @jancborchardt
    Contributor

    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 :)

  21. tobiasKaminsky commented on May 30, 2015

    @tobiasKaminsky
    ContributorAuthor

    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?

  22. Kernald commented on May 30, 2015

    @Kernald
    Contributor

    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.

  23. Kernald commented on May 30, 2015

    @Kernald
    Contributor

    And Google just releases a design support library. It's worth taking a look.

  24. jancborchardt commented on Jan 12, 2016

    @jancborchardt
    Contributor

    Any updates on this, especially the Material-style account switcher, the Favorites entry and the »Shared« entries? @AndyScherzinger @tobiasKaminsky @LukeOwncloud @Kernald

  25. AndyScherzinger commented on Jan 12, 2016

    @AndyScherzinger
    Contributor

    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?

  26. tobiasKaminsky commented on Mar 18, 2016

    @tobiasKaminsky
    ContributorAuthor

    So...we did the next step: account switching is back: #1537
    What else is missing here?

  27. tobiasKaminsky commented on May 6, 2016

    @tobiasKaminsky
    ContributorAuthor

    Closing as this issue is just to big and should be separated in smaller ones if necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions