Closed Bug 887776 Opened 7 years ago Closed 7 years ago
[User Story] Export contact as VCARD to Media Card
User story: As a user I expect to be able to go into contacts app and select multiple/all contacts and export to my media card in VCARD format. Preconditions: * contacts app is open * contacts are available in contacts app that can be exported to media card * media card is present in the device * media card has space for contacts Acceptance Criteria: * user is shown a status while contacts are being exported to media card * user is informed at the end of export how many contacts were exported and how many were not and the total number of contacts selected for export * user is informed if there is no media card in the device * user is given understandable messages on other exception scenarios
A Pivotal Tracker story has been created for this Bug: http://www.pivotaltracker.com/story/show/52538239
David Scravaglieri deleted the linked story in Pivotal Tracker
Whiteboard: [ucid:Comms15] → [ucid:Comms15], [u=commsapps-user c=contacts p=0]
listed as must have in v1.2 for COMM team. koi+
blocking-b2g: koi? → koi+
MozTrap #9064, #9065, #9066
Flags: in-moztrap? → in-moztrap+
Whiteboard: [ucid:Comms15], [u=commsapps-user c=contacts p=0] → [ucid:Comms15 KOI:P1], [u=commsapps-user c=contacts p=0]
Whiteboard: [ucid:Comms15 KOI:P1], [u=commsapps-user c=contacts p=0] → [UCID:Comms15, FT:comms, KOI:P1], [u=commsapps-user c=contacts p=0]
Assignee: noef → nobody
Whiteboard: [UCID:Comms15, FT:comms, KOI:P1], [u=commsapps-user c=contacts p=0] → [TEF][UCID:Comms15, FT:comms, KOI:P1], [u=commsapps-user c=contacts p=0]
Whiteboard: [TEF][UCID:Comms15, FT:comms, KOI:P1], [u=commsapps-user c=contacts p=0] → [TEF][UCID:Comms15, FT:comms, KOI:P1], [u=commsapps-user c=contacts p=0][Sprint 2]
wireframe solution for bug pages 11 and 12 are the relevant pages in document
Could you please explain this notification thing on 7th screen? Is it part of Contacts app or should we use system notifications for this?
@michalbe, could we sync tomorrow? We have a component, not landed yet cause we are waiting for bug 890490, that adds the ui for any kind of export destination, included the vcard format to the media card.
:arcturus we need to wait for Bug 896982 anyway. Sergi, any estimated delivery time for this one?
I plan to submit for review tonight (CET) or tomorrow morning.
PLease find visuals needed for this implementation in the following link: https://www.dropbox.com/sh/ml1d7yahbd1barx/RBCjPXWLC8 If you have any question, do not hesitate to ask. Victoria
(In reply to Michal Budzynski (:michalbe) from comment #6) > Could you please explain this notification thing on 7th screen? Is it part > of Contacts app or should we use system notifications for this? This notification 'thing' on the 7th screen should be part of the system notifications. These are wireframes, not visual designs don't forget so the 'thing's' location on the Y axis might not be correct. Visual Design and existing Patterns will dictate exact location so refer to them. Also the thing is that we need to align the BT pairing and notification experience with other sending/receiving file scenarios. At the moment what i have specified is quite different to what exists in the BT experience from Gallery app. I am trying to open up a conversation with Neo in Taipei in order to discuss this alignment. Hopefully that will happen tomorrow (Thursday Berlin time)
Whiteboard: [TEF][UCID:Comms15, FT:comms, KOI:P1], [u=commsapps-user c=contacts p=0][Sprint 2] → [TEF][UCID:Comms15, FT:comms, KOI:P1], [u=commsapps-user c=contacts p=0][Sprint 3]
Assignee: mbudzynski → francisco.jordano
Whiteboard: [TEF][UCID:Comms15, FT:comms, KOI:P1], [u=commsapps-user c=contacts p=0][Sprint 3] → [TEF][UCID:Comms15, FT:comms, KOI:P1], [u=commsapps-user c=contacts p=2][Sprint 3]
Did a couple of comments in the PR in github. Mainly related to the use of the device storage. I'll recommend to use the shared libraries at: https://github.com/mozilla-b2g/gaia/tree/master/shared/js/device_storage To handle correctly the access to the sdcard and the files saved. Looking pretty googd, my only concern is what I commented on the PR, talking with Ayman, when we export several contacts, we should create a single file. That will be in sync with the fact of importing a vcard from bluetooth. That will make this strategy to use the non deterministic progress (just the spinner since we save a single file), you can see and example of this on the branch: https://github.com/arcturus/gaia/commit/98d0070984ad4008713f18fe9f30b620eea04a33 Cheers!
Updated. Now it exports all the contacts in one file, named like contact if there is only one or date_numberOfContactsExported.vcf if there is more than that. Tests updated as well. :arcturus, could you review this? Thanks.
Comment on attachment 796121 [details] patch Just left a couple of comments, code that we don't need when exporting several contacts to a single file. Any way, I've tested myself and it's working great and the unit tests are passing :) So r+plusing since the changes suggested are really small. Thanks a lot for the work!
Attachment #796121 - Flags: review?(francisco.jordano) → review+
Already r+plused ;) with a couple of minor comments in github. Please merge once addressed. Thanks a lot Michal!
Thank you for everything Francisco, the patch have landed: https://github.com/mozilla-b2g/gaia/commit/912d0b160b2886c3713876ebf59026087a681743
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Assignee: francisco.jordano → mbudzynski
Follow up bug915649 to gather all the bugs found related to this feature.
The only bug pending in the follow up is covered by other US. There are no more bugs about this US, so verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.