Closed (works as designed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
Seven theme
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 Mar 2012 at 21:09 UTC
Updated:
29 Jul 2014 at 20:29 UTC
One of the more popular features of the Third iteration of the static mobile prototype is the sliding navigation, complete with swipe gesture navigation.
Let's get this in to core. It is pretty much a UI best practice on mobile OS and the one to one gestures are very intuitive.
For the static prototype I used swipe.js which is GPL licensed.
Comments
Comment #1
Bojhan commentedI am definitely for this! Seems like we need a patch that allows for AJAX-on-the-fly loading of pages. Perhaps the likes of sun, JohnAlbin or _nod one can shed light on this one.
Comment #2
yoroy commentedIf that's the case (ajax on the fly loading) then the infinite scroll idea for listing pages would benefit from that as well.
Comment #3
nod_@Bojhan wrong side for the underscore :)
With the new block system that should be pretty easy to implement. Infinite scroll is another beast though. I guess this is postponed until we get our REST-type urls to access blocks and it'll be simple to make. Trying to do something before will be quite messy.
Comment #4
anthonyR commentedFirst off, it looks like a really good feature.
I know it's still a prototype, but I noticed you explicitly disabled user zoom in the prototype, which isn't really mobile friendly imo.
Maybe Swipe.js relies on this to work properly for the 1:1 touch mapping?
Comment #5
lewisnymanGood point Anthony. If you mosey on over to the prototype now you can check it out with zoom enabled. It works ok for me. You might have to zoom out a little bit to do it easily but I think that's acceptable.
Comment #6
anthonyR commented@Lewis: Just checked it, yes that's a lot better!
Comment #7
lewisnymanI've been thinking a lot about how we handle gestures across the whole admin experince and I think using a library like swipes is a bad idea. It's really only geared to provide gestures for one use case and we are going to run in to a ton of issues when the behaviour conflicts with other gestures if we choose to have them. Think swipe to reveal or drag and drop.
I think taking the useful bits of the library but wrapping it in our own framework would be better for us.
Comment #8
lewisnymanHi guys,
I've actually been working on an alternative metaphor, I thought it was too hard to actually make a prototype of and I was of right.
This prototype only works on touch devices
This prototype only works 100% on iOS, sorry
altnav.d8mux.org
Comment #9
anthonyR commentedLewis: It behaves kind of weird on my iPhone 4 with iOs 5 :D
Comment #10
ry5n commented@lewisnyman I’m a big fan of this pattern (Luke Wroblewski calls it "Off Canvas"). Plus, Jason Weaver's excellent demo has implementation details that could be helpful in prototyping.
Comment #11
lewisnymanI'm liking the look of hammer.js, it seems to hit a sweet spot between gesture flexibility and helpfulness
Comment #12
johnalbinSo… no sliding nav? No one is going to actually work a patch for this if the UX is going in a different direction.
Comment #13
effulgentsia commentedJust linking to #1260800-9: Kill the overlay for widths below 640 pixels which suggests an idea for using a slide pattern instead of Overlay for navigating between site pages and admin pages. I don't suggest unpostponing this based on that one comment alone; just linking to it for anyone interested.
Comment #14
gmclelland commentedThis probably should be renamed to "Implement ajax drill down horizontal sliding navigation for touch screen devices".
When I think of sliding navigation, I think of something http://srobbin.com/jquery-plugins/pageslide/
Note: we could combine these two techniques as sort of seen on http://www.aids.gov
When viewing on a mobile aids.gov uses a menu button that slides up a drilldown navigation.
I prefer the page slide from the left like http://m.facebook.com does, because that leaves more vertical space to work with.
If you didn't want to use ajax for the menus, then you could use something like http://www.designchemical.com/lab/jquery-plugins/jquery-drill-down-menu-...
We also need to think of how contrib modules could hook into or use these patterns we choose. For example, see #1678106: Mobile Friendly Media Browser
Comment #15
johnalbinThis issue seems to be superseded by the new toolbar.