Closed
Bug 1175575
Opened 10 years ago
Closed 10 years ago
Create basic 'new' activity not tied to contacts.js in a separate .html
Categories
(Firefox OS Graveyard :: Gaia::Contacts, defect)
Tracking
(b2g-master fixed)
RESOLVED
FIXED
FxOS-S2 (10Jul)
| Tracking | Status | |
|---|---|---|
| b2g-master | --- | fixed |
People
(Reporter: borjasalguero, Assigned: borjasalguero)
References
Details
(Whiteboard: [NG Gaia Contacts][patch])
Attachments
(1 file)
When calling a 'new' activity, we dont need to load the whole app just for showing a form.
For solving this, we are going to create a separate.html which will handle this activity, loading just the dependencies that it needs.
In the near future, this will be the scaffolding to build more and advance features ('update' activity, new navigation model ...)
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → borja.bugzilla
Updated•10 years ago
|
Status: NEW → ASSIGNED
Whiteboard: [NG Gaia Contacts]
Updated•10 years ago
|
Target Milestone: --- → NGA S3 (26Jun)
Comment 1•10 years ago
|
||
As NGA Program Manager suggested, let's replace the NGA-X milestones with FxOS-Sx ones (more generic ones), once Bug 1174794 has already landed
Target Milestone: NGA S3 (26Jun) → FxOS-S1 (26Jun)
| Assignee | ||
Comment 2•10 years ago
|
||
First WIP patch for testing.
Updated•10 years ago
|
Whiteboard: [NG Gaia Contacts] → [NG Gaia Contacts][patch]
Comment 3•10 years ago
|
||
Detected one issue in the WIP patch: when creating a contact via activity (from Dialpad, Call Log or SMS apps) if we include an e-mail address, it is not possible saving the contact. We have confirmed that this issue does not happen in master.
We have have also seen wrong behaviors when saving a contact via activity if it includes a picture or when deleting a contact from Dialer application. Similar issues (although not exactly the same result) have been detected in master so the corresponding bugs have been opened to track them: bug 1177107 and bug 1177114
Updated•10 years ago
|
Target Milestone: FxOS-S1 (26Jun) → FxOS-S2 (10Jul)
| Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8625485 [details] [review]
Pull Request
This is the basic structure of the #new activity extracted from contacts.js. It's a self-contained view, and has no FB code included :). Could you take a look? Once I have your feedback I'll start adding tests to it. Thanks!
Attachment #8625485 -
Flags: feedback?(francisco)
Comment 5•10 years ago
|
||
Comment on attachment 8625485 [details] [review]
Pull Request
Hei, Borja and me were talking about this offline, looking good, also we were mention some cosmetic changes, but apart from that the direction is amazing.
Thanks folks!
Attachment #8625485 -
Flags: feedback?(francisco) → feedback+
| Assignee | ||
Comment 6•10 years ago
|
||
Comment on attachment 8625485 [details] [review]
Pull Request
Here we have the first activity self-contained, and all tests added. Francisco, could you take a look? Thanks! Gracias! ;)
Attachment #8625485 -
Attachment description: WIP → Pull Request
Attachment #8625485 -
Flags: review?(francisco)
Comment 7•10 years ago
|
||
Comment on attachment 8625485 [details] [review]
Pull Request
First round really good what I'm seeing.
Just left some messages on gh, please assign again for review once they are done.
Attachment #8625485 -
Flags: review?(francisco)
| Assignee | ||
Updated•10 years ago
|
Attachment #8625485 -
Flags: review?(francisco)
Comment 8•10 years ago
|
||
Comment on attachment 8625485 [details] [review]
Pull Request
Working like a charm, looking forward to use this not just in the activity :)
Attachment #8625485 -
Flags: review?(francisco) → review+
| Assignee | ||
Comment 9•10 years ago
|
||
Comment on attachment 8625485 [details] [review]
Pull Request
We need to double check that everything is ok after disabling the tests Gij26 and Gij2. These tests will be recovered after landing a solution for https://bugzilla.mozilla.org/show_bug.cgi?id=1140344. r?
Attachment #8625485 -
Flags: review?(jlorenzo)
Comment 10•10 years ago
|
||
Comment on attachment 8625485 [details] [review]
Pull Request
Like said on IRC, disabling the tests in tests/integration/sms/contacts_interaction_test.js, because of bug 1140344, is fine to me. I don't see a failure related to this issue, in the latest TH job[1]. r+ for the integration tests part.
[1] https://treeherder.mozilla.org/#/jobs?repo=gaia&revision=b1d883793f1c4a8c658ccc410977327abdba0f76
Attachment #8625485 -
Flags: review?(jlorenzo) → review+
| Assignee | ||
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
status-b2g-master:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•