Closed
Bug 912250
Opened 12 years ago
Closed 12 years ago
[Clock] Implement Timer view
Categories
(Firefox OS Graveyard :: Gaia::Clock, defect)
Tracking
(blocking-b2g:-)
People
(Reporter: rwaldron, Assigned: rwaldron)
References
Details
Attachments
(1 file)
According to spec: https://mozilla.app.box.com/s/wzgsb3lkqglv0dnfdgzs/1/867805696/9286060691/1
Comment 1•12 years ago
|
||
Triage:
Not blocking the release, but this feature is in progress. Setting target milestone to 1.2.
blocking-b2g: koi? → -
Target Milestone: --- → 1.2 FC (16sep)
| Assignee | ||
Comment 2•12 years ago
|
||
- Timer object
- Create or revive a new or existing Timer object
- tick method executes every second, emit "tick" event while state is Timer.STARTED
- start method updates startAt, sets Timer.STARTED state, initiates tick()
- pause method sets Timer.PAUSED
- cancel method sets Timer.CANCELED, purges timer from storage
- notify method handles user notification.
- Timer.View object
- Initialize a single UI view
- Interact with the currently active Timer object
- Update view on Timer object tick events
- Utils
- moves formatTime to Utils.format.time
- creates new Utils.format.hms
- Updates and adds tests.
Attachment #803156 -
Flags: review?(mike)
Comment 3•12 years ago
|
||
Comment on attachment 803156 [details] [review]
https://github.com/mozilla-b2g/gaia/pull/12131
Looking good, Rick! I left my feedback on the GitHub pull request.
Attachment #803156 -
Flags: review?(mike)
| Assignee | ||
Comment 4•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Attachment mime type: text/plain → text/x-github-pull-request
You need to log in
before you can comment on or make changes to this bug.
Description
•