Hi Ludovic, Caty,
This is interesting.
Ludovic if you already started working on this, maybe you could send a
mail with more details and why not start a design document ? I think
there are several aspects of design (software design) that would be
interesting to be discussed.
Since you are working with jQueryUI, I imagine and will assume in the
rest of this mail that you are or plan on using a wrapper such as Apache
Cordova (PhoneGap) to package the app for mobile platforms. Couple of
random questions/remarks :
- Do you handle authentication with cookies ? I have started working on
a token-based authenticator with revokable tokens (with mobile clients
in mind as well).
- About notifications, I am not sure what you mean by "I'm not sure if
you get access to the notifications that the user clicked to activate
the App", but with Cordova there's an event that let's you know when an
app resumes (comes back from background). Maybe at that moment you can
check if you have new notifs.
- Also about notifications, the default strategy should be
pulled-notifications. Then it could be extended to an environment based
strategy that uses a long lived connection when the phone/device is
plugged (and maybe when it is connected on WiFi, not on mobile networks).
- Finally, a project to keep an eye on :
http://maker.github.com/ratchet/
Jerome
On 11/28/2012 02:52 PM, Ludovic Dubost wrote:
Hi Cati,
Great proposals that enhances the current UI. My main comments concern
features that are not really finished in the current prototype and would
need some help also from a design/usability perspective:
1/ Adding a page to favorites and notifications
-> This has not been put in the UI and would be needed
-> Should it be a separate favorites than the XWiki Watch List. Right now
I don't think so because that would be yet another list and the Server wiki
will need to know about the favorites because it
-> A design for notifications and how they should show up would be great.
I think notifications could be a general UI item and also show up on the
home page. A notification is sent by the server to the device. The
notification is just a message. The XWiki Application can be activated from
the notification but will have to contact the server to know more (I'm not
sure if you get access to the notifications that the user clicked to
activate the App). I think a message could be just "this doc has been
updated" or "X documents have been modified" depending on the
notifications
settings of the user).
2/ Adding a page/space/applications to offline documents would be needed in
the UI and a management UI for the page/spaces/applications being in the
offline docs
3/ The offline editing features should be removed for now because they are
far from ready
4/ Commenting should be added in the UI
5/ A "share/open" button should be added which opens a popup proposing to
share by email/twitter/open in safari/etc..
6/ A configuration UI would be needed to add/update configuration for a new
Wiki. For now a simple URL would be enough + a username and password and an
"advanced" button. A specific service will probably be built in XE/XEM to
provide the configuration to the mobile App. It would be possible using
the "advanced configuration" to not need this server based configuration to
connect to any wiki but it will be more pratical with this configuration.
7/ I like the Application zone design. Now it should be reusing what is
done in the Application Panel since 4.2 (?). Now the issue is that a
specific REST/XWiki Page service might be needed here, as right now it's
manual configuration. Now the service used for the configuration could
handle that.
Ludovic
2012/11/28 Ecaterina Moraru (Valica) <valicac(a)gmail.com>
Hi devs,
For the Mobile App Investigation, Ludovic has been playing with a XWiki
Mobile App prototype done with jQuery Mobile (
http://jquerymobile.com/).
This is a proposal for a mobile application that matches the jQuery Mobile
framework capabilities and that provides minimal XWiki functionality (like
listing wikis, spaces, pages, accessing content, viewing recent activity,
etc.)
http://incubator.myxwiki.org/xwiki/bin/view/Improvements/MobileApp
Thanks,
Caty
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs