Closed
Bug 1170125
Opened 11 years ago
Closed 11 years ago
[NGA][Contacts] Extract everything related to "mozContacts" to a separate .js file
Categories
(Firefox OS Graveyard :: Gaia::Contacts, defect)
Tracking
(b2g-master fixed)
RESOLVED
FIXED
NGA S2 (12Jun)
| Tracking | Status | |
|---|---|---|
| b2g-master | --- | fixed |
People
(Reporter: borjasalguero, Assigned: borjasalguero)
References
Details
(Whiteboard: [NG Gaia Contacts])
Attachments
(1 file, 1 obsolete file)
In order to move our Contacts App to the new architecture, we are going to move all requests to the API to a well-defined .js file.
This will help us to move from the current model to the one based on Threads.js in a transparent way.
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → borja.bugzilla
Updated•11 years ago
|
Whiteboard: [NG Gaia Contacts]
| Assignee | ||
Comment 1•11 years ago
|
||
Hi Francisco! I've exposed a new interface in order to have the whole functionality of mozContacts in one file, having it ready for moving the app easily to Threads.js.
I'll add all tests once the we confirm that the interface is the right one. Could you take a look? Thanks! :)
Attachment #8613606 -
Flags: feedback?(francisco)
Comment 2•11 years ago
|
||
Comment on attachment 8613606 [details] [review]
Patch
Could we move the interface to use promises? The changes needed in contacts will be minimun and we will be even closer to moving tho threads.js
Attachment #8613606 -
Flags: feedback?(francisco) → feedback+
| Assignee | ||
Comment 3•11 years ago
|
||
After talking with Francisco, we both agreed that for not merging a huge patch, we are going to keep the 'callback' approach by now (with all tests working), and we will revisit this later on.
| Assignee | ||
Updated•11 years ago
|
Attachment #8613606 -
Attachment is obsolete: true
| Assignee | ||
Comment 4•11 years ago
|
||
Attachment #8615211 -
Flags: review?(francisco)
Updated•11 years ago
|
Target Milestone: --- → NGA S2 (12Jun)
Comment 5•11 years ago
|
||
Comment on attachment 8615211 [details] [review]
Pull Request
Tested on the phone and working perfectly.
Left some comments on gh, but one resolved we are ready to merge.
Great work here!
Attachment #8615211 -
Flags: review?(francisco) → review+
| Assignee | ||
Comment 6•11 years ago
|
||
Thanks Francisco! All tests passed and all comments addressed. Merging!
| Assignee | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 7•11 years ago
|
||
Backed out for causing Gip20 failures: https://github.com/mozilla-b2g/gaia/commit/1d62b32408567f9f7cf1c71c1e5a0c6593be757b
https://treeherder.mozilla.org/logviewer.html#?job_id=1302935&repo=gaia
Status: RESOLVED → REOPENED
Flags: needinfo?(borja.bugzilla)
Resolution: FIXED → ---
| Assignee | ||
Comment 8•11 years ago
|
||
Hi Kevin! After checking all jobs in "treeharder" this intermittent failure appears in some of them. I've reopened https://bugzilla.mozilla.org/show_bug.cgi?id=1079233 due to seems to be a well-known issue.
Flags: needinfo?(borja.bugzilla)
Comment 9•11 years ago
|
||
True, but it was fairly certain that this caused a perma-red. Please verify that there's no red tests in a pull request, and if not, feel free to re-land.
| Assignee | ||
Comment 10•11 years ago
|
||
All tests passed, so merging!
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
status-b2g-master:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•