Closed
Bug 890490
Opened 12 years ago
Closed 12 years ago
Generic export functionallity
Categories
(Firefox OS Graveyard :: Gaia::Contacts, defect, P1)
Tracking
(blocking-b2g:koi+)
RESOLVED
FIXED
blocking-b2g | koi+ |
People
(Reporter: arcturus, Assigned: arcturus)
References
Details
(Keywords: feature, Whiteboard: [u=commsapps-user c=contacts p=5])
Attachments
(1 file)
We have new US for exporting contact to the SIM card and to vcard.
We should try to do as well as we did for the import contacts, provide a common mechanism to 'export' to 'any' source, and then enable 'connectors' (as could be the vcard or the sim ones to use that common UI.
Assignee | ||
Updated•12 years ago
|
Assignee | ||
Comment 2•12 years ago
|
||
Hi,
as a generic export functionality, we are thinking of a common ui that allow the user to export a single, or multiple contacts in the different formats.
It comes to my mind like the contacts list we use from importing from different sources, perhaps we could even reuse that one.
Ayman, Jose Manuel, what do you think about this?
Flags: needinfo?(jmcf)
Flags: needinfo?(aymanmaat)
Comment 3•12 years ago
|
||
yes, I'm sympathetic with that idea, and in this case the UI can be more simple than with import as the user will only have to select and not to unselect. So in the end we can have an architecture based on exporter_ui, exporter connectors and exporters.
Flags: needinfo?(jmcf)
![]() |
||
Comment 4•12 years ago
|
||
In case we have a new UI for the US, we need some test cases for it. Minus in-testsuite if we decide not to have a new UI for it.
![]() |
||
Updated•12 years ago
|
Flags: in-testsuite?
![]() |
||
Updated•12 years ago
|
Flags: in-testsuite? → in-moztrap?
Updated•12 years ago
|
Whiteboard: [ucid:Comms5], [u=commsapps-user c=contacts p=0] → [ucid:Comms5 KOI:P1], [u=commsapps-user c=contacts p=0]
Comment 6•12 years ago
|
||
Should this really be an user story?
The user stories seems to be bug 887673 and bug 887776 saying the export of contact to USIM and Media Card
This bug sounds like the underlying generic solution to support both user stories so this bug can probably be used to land the actual foundation for both bug 887673 and bug 887776.
What do you think? thanks
Flags: needinfo?(noef)
Assignee | ||
Comment 7•12 years ago
|
||
@joe,
we want to put work here as an user story to deliver a functionality that will help us not just to deliver bug 887673 and bug 887776, but to allow us to include in the future any kind of source to export to (like could be any external service: google contacts).
That's the reason we want to invest some time here, to save it later ;)
Thanks!
Comment 8•12 years ago
|
||
yes i totally understand.
i was cleaning up the user story bugs and try to make a better user story tree in bugzilla.
You are definitely welcome to take a generic approach to satisfy the 2 user story bugs. i was just feeling that this is not exactly an user story (in a format that's put together by the Product team). so i think this should only be linked to bug 887673 and bug 887776, rather than linking to the whole v1.2 COMMs meta bug 887455.
it's just a minor dependency tree linking thing :)
Assignee | ||
Comment 9•12 years ago
|
||
sure :)
Thanks Joe!
Updated•12 years ago
|
Whiteboard: [ucid:Comms5 KOI:P1], [u=commsapps-user c=contacts p=0] → [u=commsapps-user c=contacts p=0]
Updated•12 years ago
|
Flags: needinfo?(noef)
Summary: [User Story] Generic export functionallity → Generic export functionallity
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → francisco.jordano
Whiteboard: [u=commsapps-user c=contacts p=0] → [u=commsapps-user c=contacts p=5]
![]() |
||
Updated•12 years ago
|
QA Contact: atsai
Assignee | ||
Comment 10•12 years ago
|
||
This is the generic functionality, enabling the panels in settings, navigation, and contacts selection.
@Ben, I'll submit a branch with this code an an example of an strategy working, the SIM export, which will be used as PR for bug 887673
Thanks!
Attachment #790797 -
Flags: review?(bkelly)
Assignee | ||
Comment 11•12 years ago
|
||
@Ben, I've uploaded the code for testing this genereric exporter to this branch:
https://github.com/arcturus/gaia/tree/bug-887673
That is using this code + the SIM export strategy which will be part of PR for bug 887673 once added unit tests.
Thanks!
F.
Comment 12•12 years ago
|
||
Initial comments in the Github PR. I still want to run the tests and try it out on my phone. I won't have time to do that until the morning, though.
Status: NEW → ASSIGNED
Comment 13•12 years ago
|
||
Comment on attachment 790797 [details]
Pointer to PR 11550
Francisco, I think this looks good. I like how the export code is coming together. Since there are just a few test issue to address I'm going to go ahead and r+. We just need to make sure the tests pass on travis before landing.
Nice work and thanks!
Attachment #790797 -
Flags: review?(bkelly) → review+
Comment 14•12 years ago
|
||
removing ni to me as comment 2 was resolved in discussion a while ago
Flags: needinfo?(aymanmaat)
Assignee | ||
Comment 15•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•