alpheios-project / arethusa

Arethusa: Annotation Environment
http://sosol.perseids.org/tools/arethusa
MIT License
34 stars 26 forks source link

Mobile devices #37

Open LFDM opened 10 years ago

LFDM commented 10 years ago

Even if it's just for experiments at first, we can never leave mobile devices out of our sight by using angular-touch and using css accordingly.

Some hints can be found here: http://www.ng-newsletter.com/posts/angular-on-mobile.html

LFDM commented 10 years ago

In response to #43: Touch events will definetely be supported, as well as gestures - especially pinch-to-zoom will play a role and swiping to walk through tabs. No real decision made so far. This is a little on hold right now, as all HTML are more placeholders than real products. They will receive some more work to demonstrate things (the main template that's used right now will be able to fold itself like a horizontal accordion and context menus will be enabled), but they are not a top priority thinking of the June workshop. Architectural stuff is more important right now - this week will be about event flows and getting in real data from e.g. treebank files, the next week management of customizations/configurations.

So - mobile support is a bit on hold - if done right touch events will work by adding just one directive, as we never want any code in templates apart from mere function calls: something like ng-touch="state.toggleSelection(id)" should suffice.