Closed
Bug 937116
Opened 11 years ago
Closed 11 years ago
[Download Manager] Create a utility library for common DOM Download operations
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.3 Sprint 5 - 11/22
People
(Reporter: arcturus, Assigned: borjasalguero)
References
Details
(Whiteboard: [systemsfe][qa-])
Attachments
(1 file)
We have realised that we are doing some operations one and again in different part of the code with the DOM Download objects. Some of those operations will be reused across the notifications and the download list. There we should be able to: - Get the file name from the URL. - Deal with time operations. - Deal with size operations. - Deal with percentage of the download.
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Updated•11 years ago
|
Assignee: nobody → borja.bugzilla
Updated•11 years ago
|
Target Milestone: --- → 1.3 Sprint 5 - 11/22
Reporter | ||
Updated•11 years ago
|
Summary: [Download Manager] Create library for common DOM Download operations → [Download Manager] Create a utility library for common DOM Download operations
Comment 1•11 years ago
|
||
Icons will be shared between the download list and notifications * getIcon() Titles like 'download failed', 'download completed', bla bla could be shared between both of them as well, are you agree? * getTitle() ???
Updated•11 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #830893 -
Flags: review?(kaze)
Assignee | ||
Updated•11 years ago
|
Attachment #830893 -
Flags: review?(crdlc)
Assignee | ||
Comment 3•11 years ago
|
||
This library is based on the structure defined https://etherpad.mozilla.org/vYG4E1G6HE
Comment 4•11 years ago
|
||
Comment on attachment 830893 [details] [review] Pull request It looks good although please review some comment on Github. After addressing them, please ask again for a new review. Thanks a lot mate! Good job
Attachment #830893 -
Flags: review?(crdlc)
Comment 5•11 years ago
|
||
Comment on attachment 830893 [details] [review] Pull request For me, it is r+ right now, thanks for your great work!
Attachment #830893 -
Flags: review+
Assignee | ||
Comment 6•11 years ago
|
||
Hi Kaze! This patch is only adding tests to Settings, because there we will have the 'Downloads' panel. We need to land this asap for moving forward with following patches, could you take a look? It would be awesome if we can land this today! THanks!! Gracias! :)
Flags: needinfo?(kaze)
Comment 7•11 years ago
|
||
Comment on attachment 830893 [details] [review] Pull request LGTM
Attachment #830893 -
Flags: review?(kaze) → review+
Assignee | ||
Comment 8•11 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/61ac5d3bc764e66dd35eb1d43b74282b1b0232c2 https://github.com/borjasalguero/gaia/commit/f9a10c84616cbab4a80e3850a405564db26baacd Merged!! Thanks all!
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(kaze)
Resolution: --- → FIXED
Updated•11 years ago
|
Whiteboard: [systemsfe]
Updated•11 years ago
|
Whiteboard: [systemsfe] → [systemsfe][qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•