Ios: Dynamic menu items

Created on 3 Feb 2017  路  20Comments  路  Source: nextcloud/ios

Same as the Android version, but for iOS: nextcloud/android#555

Capabilities API would expose menu items to be added to the sidebar. The menu items would simply open a web page, and the API would expose title and the URL. Typically stuff like "Help": "link to help page" and "About us": "link to about us page".

We are currently planing the API and then I will update this ticket here with the details.

@jancborchardt Maybe we need a similar side bar for all the categories on the iOS side too. Be prepared that we need some UX help for this one, because currently I have no idea where to put those entries in the current app.

@marinofaggiana Feel free to suggest something.

enhancement green

Most helpful comment

Ok , the Apple Mail style ...

All 20 comments

@MariusBluem Another use case for the sidebar. (see #55)

Seems we could put them in the settings for now.

But yes, I am _not_ opposed to a sidebar for the iOS app. Other apps like Netflix and even Apple Mail (for the folders) do it too.

Apple mail do not use sidebar. Apple do not use sidebar

It's broken: #129

@marinofaggiana Apple Mail doesn鈥檛 use a sidebar, but a system of the folder list being to the left. It technically isn鈥檛 a sidebar, but visually very close.
And widely used apps like Netflix and Google Maps use a sidebar. :)

Anyhow, a better alternative would be how Maps.me does it, as mentioned in issue: https://github.com/nextcloud/ios/issues/134#issuecomment-289396839

Google Maps, Google Drive it's Android porting (all product google use sidebar), Mail use a normal "Segue" for NavigationViewController but start from page 1 (0 is the first) and this is not a sidebar bat a normal page (sidebar is totally else), Netflix does what it wants ;)

Mail use a normal "Segue" for NavigationViewController but start from page 1 (0 is the first) and this is not a sidebar bat a normal page (sidebar is totally else

I don't care how it is called. It looks like a sidebar and fits the requirements we have (place for a list of menu items). I would go for this.

(@MorrisJobke just as question: would the Maps.me style also work, when the container coming out in the bottom is scrollable?)

I don't care how it is called. It looks like a sidebar and fits the requirements we have (place for a list of menu items). I would go for this.

@marinofaggiana Sorry for the hard sounding words: what I meant is: there should be a list with menu entries. And it's fine if it is not a sidebar but a separate view. 馃槈

(@MorrisJobke just as question: would the Maps.me style also work, when the container coming out in the bottom is scrollable?)

Need to check back on this.

Boys ... next days after the last issue on API proxy I find a solution

@marinofaggiana and I will look at this tomorrow. We have two main options:

  1. Do it like Apple Mail (their account list), with the list coming in from the left and the button on the top left. This would be very flexible and pretty much exactly like in the Android app. This is also pretty standardized and since it鈥檚 used by Apple Mail, people are used to this.
  2. Do it like Maps.me and have the possibility for a long scrollable list in there. This is a bit nicer integrated with the bottom bar.

What we do have to decide is what we would like better for our own app too so we don鈥檛 do duplicate work. Any strong opinions @eppfel @LukasReschke @MorrisJobke?

Maps.me tab bar is a good solution but only for 4..5 items ... It's sufficiently ?

It's necessary a design mockup, a good Interface required several week, exists iPhone iPad in landscape in portrait in split mode and iPhone plus with a mix iPhone & iPad ...

What should be placed in the new menu (sidebar for example ? ) ...
it's important identifier the possibility ...
:-)

Sorry reopen (iPhone) :-)

What should be placed in the new menu (sidebar for example ? ) ...

Stuff like:

  • uploads
  • activities
  • menu items from the server side configurable menu
  • account switcher

So basically all the items, that are now quite hidden. They should be made discoverable - which means: give somebody the app (without the tutorial, because nearly everybody skips tutorials) and then the person should be able to find all the stuff, without the need for swipe gestures from a given point in the UI.

Ok , the Apple Mail style ...

Ok , the Apple Mail style ...

Thank you very much - sorry for being that annoying about this, but it is also tricky to communicate this on my side 馃槈

Ok , the Apple Mail style ...

Exactly, as we talked about. :)

  • done in solution menu : more -

Extra huge cheers all around that we solved this by the way. :) It looks and feels quite nice and simple!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

notmgsk picture notmgsk  路  4Comments

marinofaggiana picture marinofaggiana  路  5Comments

immortal79 picture immortal79  路  4Comments

MorrisJobke picture MorrisJobke  路  4Comments

sakthi-d picture sakthi-d  路  4Comments