Closed
Bug 966103
Opened 10 years ago
Closed 10 years ago
Add a "Sync now" button to the main FxA status screen
Categories
(Firefox for Android Graveyard :: Android Sync, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 36
People
(Reporter: rnewman, Assigned: vivek)
References
Details
Attachments
(3 files, 2 obsolete files)
We already have this in the debug view, but it would be a nice addition.
Comment 1•10 years ago
|
||
ibarlow: could we get some mocks for how you'd like this to look? I am imaging a status message and a button in the status activity; when you Sync, we replace the button with a spinner, etc; but this is your domain. I'd very much like to land this during this cycle.
Flags: needinfo?(ibarlow)
Comment 2•10 years ago
|
||
vivek, are you interested in this? You did great work on the "Remove Account" menu item in the same activity. This one would be a little different: this would have a "Sync" spinner icon and a "Sync now" button and a last synced time display. Sort of like: +----------+------------------------+ | spinning | Sync now | | icon | last synced time | +----------+------------------------+ 1) Sync now starts Sync 2) start Sync spins the icon, grays out Sync now and last synced time 3) Sync stopping stops the icon, enables Sync button, updates last synced time There's a spinning icon in Fennec that you can, for now, just copy over: it's called tabs_synced_*.xml and an icon. Look at http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/tabs/RemoteTabsContainerPanel.java for how to trigger and listen to Sync status results. To extract the last Synced time, that will come from SharedPreferences. We might want to land some code to make this simpler.
Flags: needinfo?(ibarlow)
Assignee | ||
Comment 3•10 years ago
|
||
yes. I'm interested in working on this.
Assignee | ||
Comment 4•10 years ago
|
||
Attachment #8504357 -
Flags: review?(nalexander)
Comment 5•10 years ago
|
||
Comment on attachment 8504357 [details] [review] Pull request created in android-sync project Hey, sorry for the delay, I've been at some job training. I'm traveling until early next week; I should get to this on Tuesday next.
Comment 6•10 years ago
|
||
Comment on attachment 8504357 [details] [review] Pull request created in android-sync project Comments on the PR. This is looking really good. I have questions and nits, and then I'll want to test myself locally, but it feels close. Great work, vivek!
Attachment #8504357 -
Flags: review?(nalexander) → feedback+
Assignee | ||
Comment 7•10 years ago
|
||
Attachment #8504357 -
Attachment is obsolete: true
Attachment #8518976 -
Flags: review?(nalexander)
Comment 8•10 years ago
|
||
Comment on attachment 8518976 [details] [review] Sync now pull request updated This is looking great. I've requested some small changes and that we split a few things off into separate tickets, but this is almost ready. Thanks for your work and patience, and for really digging in to the android-sync code base.
Attachment #8518976 -
Flags: review?(nalexander) → feedback+
Assignee | ||
Comment 9•10 years ago
|
||
Attachment #8518976 -
Attachment is obsolete: true
Attachment #8520286 -
Flags: review?(nalexander)
Comment 10•10 years ago
|
||
Nick or Richard, could one of you guys screenshot the results of this PR so I can check the UI?
Flags: needinfo?(rnewman)
Reporter | ||
Comment 11•10 years ago
|
||
Nick, could you take care of this? I'm swamped.
Flags: needinfo?(rnewman) → needinfo?(nalexander)
Comment 12•10 years ago
|
||
Flags: needinfo?(nalexander)
Comment 13•10 years ago
|
||
Comment 14•10 years ago
|
||
Comment on attachment 8520286 [details] [review] pull request updated Hi vivek, this is looking great! I've cleaned up the commits and made some cosmetic changes at https://github.com/mozilla-services/android-sync/pull/505. I've also fixed a significant issue: the timestamp you're showing is not the last synced timestamp, it's a different thing. I have asked rnewman for a quick review on this. I should land this tomorrow or Friday. Thanks for all your work here; see you in the follow-ups...
Attachment #8520286 -
Flags: review?(nalexander) → review+
Updated•10 years ago
|
Assignee: nobody → vivekb.balakrishnan
Status: NEW → ASSIGNED
Comment 16•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/acf1606913a8
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 36
Comment 17•10 years ago
|
||
Nitpicking: for consistency "..." should always be "…" in all Mozilla products (single Unicode characters)
Comment 18•10 years ago
|
||
(In reply to Francesco Lodolo [:flod] from comment #17) > Nitpicking: for consistency "..." should always be "…" in all Mozilla > products (single Unicode characters) flod: thanks for this. Right when I landed, I wondered, but had already pulled the trigger. I'll follow-up.
Flags: needinfo?(nalexander)
Updated•10 years ago
|
Flags: needinfo?(nalexander)
Updated•7 years ago
|
Product: Android Background Services → Firefox for Android
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•