Closed Bug 809974 Opened 12 years ago Closed 12 years ago

Populate the Device Information->Last Updated field with the last update date/time

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect, P1)

defect

Tracking

(blocking-basecamp:+, firefox19 fixed, firefox20 fixed, b2g18 fixed)

RESOLVED FIXED
B2G C1 (to 19nov)
blocking-basecamp +
Tracking Status
firefox19 --- fixed
firefox20 --- fixed
b2g18 --- fixed

People

(Reporter: lsblakk, Assigned: marshall)

References

Details

(Keywords: b2g-testdriver, unagi)

Attachments

(2 files)

I say date/time in here because we might have more than one update in a day so seeing 11-05/12:52 vs 11-05/2:43 would help with knowing what a stable channel user is on.

We'll need this more once we have FOTA enabled and users have to go from update to update in a linear fashion. It will tell us a) how far away from 'done' the update path is and b) allow the testers an at-a-glance way to talk about what update they are on that is not the build id (most people in the test community will not know what to do with a build id).
Gaia triage : LAst Updated field is there.  We would need to fix or remove.  blocking +, P1.
blocking-basecamp: ? → +
Priority: -- → P1
Component: Gaia → Gaia::Settings
Target Milestone: --- → B2G C1 (to 19nov)
This sets a pref and setting, which Gaia uses to show in "Last Updated" under
the Settings app in "Device Info".
Attachment #684093 - Flags: review?(fabrice)
Comment on attachment 684093 [details] [diff] [review]
last update installed - v1

Review of attachment 684093 [details] [diff] [review]:
-----------------------------------------------------------------

Why do we need both the pref and the setting?

::: b2g/components/UpdatePrompt.js
@@ +152,5 @@
>    },
>  
>    showUpdateHistory: function UP_showUpdateHistory(aParent) { },
> +  showUpdateInstalled: function UP_showUpdateInstalled() {
> +    let installed = new Date().getTime();

Nit: use Date.now();
Attachment #684093 - Flags: review?(fabrice) → review+
Blocks: 808892
https://hg.mozilla.org/mozilla-central/rev/567bfba61e51
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Attached file Gaia pull request 6560
Attachment #686615 - Flags: review?(kaze)
Reopening for gaia pull request as well
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment on attachment 686615 [details] [review]
Gaia pull request 6560

Per Github comments re-assigning Evelyn for review.
Attachment #686615 - Flags: review?(kaze) → review?(ehung)
Comment on attachment 686615 [details] [review]
Gaia pull request 6560

r=me, r+ with comment addressed.
Attachment #686615 - Flags: review?(ehung) → review+
https://github.com/mozilla-b2g/gaia/commit/46baef6a4277dd52fd9e37b018bbc2af7e6e3de5
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
Attachment mime type: text/plain → text/x-github-pull-request
See Also: → 1222781
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: