Create a interface for the web synchronization code
Bug #549643 reported by
Benoit Garret
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Tomdroid |
Fix Released
|
Medium
|
Rodja |
Bug Description
The current code doesn't provide many cues about what's happening behind the scenes and may confuse the user. It could use some work in order to be able to tell the user about the state of the authentication/
It could be divided in two subtasks:
* The first one is the design of the interface with its flow. I don't think it is a good idea to rush blindly without a bit of prior planning, it requires some thought
* The second one is some code refactoring to be able to extract useful information about the running sync process (http download progress, etc)
Related branches
lp://staging/~tomdroid-dev/tomdroid/sync-ui
- Olivier Bilodeau: Approve
-
Diff: 4072 lines (+3072/-290)40 files modified.classpath (+3/-0)
AndroidManifest.xml (+24/-9)
data/tomdroid-4.svg (+612/-0)
default.properties (+1/-1)
res/anim/pulse.xml (+10/-0)
res/drawable/syncbutton_background.xml (+16/-0)
res/drawable/syncbutton_background_focus.xml (+4/-0)
res/drawable/syncbutton_background_pressed.xml (+4/-0)
res/layout/actionbar.xml (+84/-0)
res/layout/main.xml (+10/-4)
res/layout/main_list_item.xml (+25/-6)
res/layout/note_view.xml (+32/-14)
res/menu/main.xml (+6/-8)
res/values/arrays.xml (+11/-0)
res/values/strings.xml (+13/-2)
res/xml/preferences.xml (+18/-0)
src/org/tomdroid/Note.java (+36/-6)
src/org/tomdroid/NoteManager.java (+45/-9)
src/org/tomdroid/NoteProvider.java (+5/-2)
src/org/tomdroid/sync/ServiceAuth.java (+33/-0)
src/org/tomdroid/sync/SyncManager.java (+106/-0)
src/org/tomdroid/sync/SyncService.java (+196/-0)
src/org/tomdroid/sync/sd/NoteHandler.java (+2/-1)
src/org/tomdroid/sync/sd/SdCardSyncService.java (+68/-44)
src/org/tomdroid/sync/web/AnonymousConnection.java (+62/-0)
src/org/tomdroid/sync/web/OAuthConnection.java (+278/-0)
src/org/tomdroid/sync/web/SnowySyncService.java (+232/-0)
src/org/tomdroid/sync/web/WebConnection.java (+139/-0)
src/org/tomdroid/ui/Actionbar.java (+69/-0)
src/org/tomdroid/ui/PreferencesActivity.java (+217/-0)
src/org/tomdroid/ui/SyncMessageHandler.java (+158/-0)
src/org/tomdroid/ui/Tomdroid.java (+122/-179)
src/org/tomdroid/ui/ViewNote.java (+36/-4)
src/org/tomdroid/util/NoteContentBuilder.java (+2/-1)
src/org/tomdroid/util/NoteListCursorAdapter.java (+113/-0)
src/org/tomdroid/util/Preferences.java (+112/-0)
src/org/tomdroid/util/XmlUtils.java (+58/-0)
src/org/tomdroid/xml/NoteContentHandler.java (+1/-0)
tests/org/tomdroid/NoteManagerTest.java (+74/-0)
tests/org/tomdroid/NoteTest.java (+35/-0)
Changed in tomdroid: | |
assignee: | nobody → Rodja (trappe) |
status: | New → In Progress |
Changed in tomdroid: | |
importance: | Undecided → Medium |
To post a comment you must log in.
I've done some work in the lp:~trappe/tomdroid/sync-ui branch. It's not all done but you can see where I've been hadded.