Closed
Bug 887776
Opened 12 years ago
Closed 12 years ago
[User Story] Export contact as VCARD to Media Card
Categories
(Firefox OS Graveyard :: Gaia::Contacts, defect, P1)
Tracking
(blocking-b2g:koi+)
VERIFIED
FIXED
blocking-b2g | koi+ |
People
(Reporter: wmathanaraj, Assigned: mbudzynski)
References
Details
(Keywords: feature, Whiteboard: [TEF][UCID:Comms15, FT:comms, KOI:P1], [u=commsapps-user c=contacts p=2][Sprint 3])
Attachments
(3 files)
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
Comment 1•12 years ago
|
||
A Pivotal Tracker story has been created for this Bug: http://www.pivotaltracker.com/story/show/52538239
Comment 2•12 years ago
|
||
David Scravaglieri deleted the linked story in Pivotal Tracker
Updated•12 years ago
|
Whiteboard: [ucid:Comms15] → [ucid:Comms15], [u=commsapps-user c=contacts p=0]
![]() |
||
Updated•12 years ago
|
Flags: in-moztrap?
Updated•12 years ago
|
Whiteboard: [ucid:Comms15], [u=commsapps-user c=contacts p=0] → [ucid:Comms15 KOI:P1], [u=commsapps-user c=contacts p=0]
Updated•12 years ago
|
Assignee: nobody → noef
Updated•12 years ago
|
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]
Updated•12 years ago
|
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]
Updated•12 years ago
|
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]
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → mbudzynski
Comment 5•12 years ago
|
||
wireframe solution for bug
pages 11 and 12 are the relevant pages in document
Assignee | ||
Comment 6•12 years ago
|
||
Could you please explain this notification thing on 7th screen? Is it part of Contacts app or should we use system notifications for this?
Flags: needinfo?(aymanmaat)
Assignee | ||
Comment 7•12 years ago
|
||
UI for this will be ready tomorrow, so I'll send a PR after Bug 890490 and Bug 896982 will land.
Comment 8•12 years ago
|
||
@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.
Assignee | ||
Comment 9•12 years ago
|
||
:arcturus we need to wait for Bug 896982 anyway. Sergi, any estimated delivery time for this one?
Flags: needinfo?(sergi.mansilla)
Comment 10•12 years ago
|
||
I plan to submit for review tonight (CET) or tomorrow morning.
Flags: needinfo?(sergi.mansilla)
Updated•12 years ago
|
QA Contact: rafael.marquez
Comment 11•12 years ago
|
||
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
Comment 12•12 years ago
|
||
Comment 13•12 years ago
|
||
(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)
Flags: needinfo?(aymanmaat)
Updated•12 years ago
|
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]
Blocks: meta-leo-IOT1
Updated•12 years ago
|
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]
Assignee | ||
Comment 14•12 years ago
|
||
Attachment #796121 -
Flags: review?(francisco.jordano)
Comment 15•12 years ago
|
||
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!
Assignee | ||
Comment 16•12 years ago
|
||
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.
Flags: needinfo?(francisco.jordano)
Comment 17•12 years ago
|
||
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+
Comment 18•12 years ago
|
||
Already r+plused ;) with a couple of minor comments in github.
Please merge once addressed.
Thanks a lot Michal!
Flags: needinfo?(francisco.jordano)
Assignee | ||
Comment 19•12 years ago
|
||
Thank you for everything Francisco, the patch have landed: https://github.com/mozilla-b2g/gaia/commit/912d0b160b2886c3713876ebf59026087a681743
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•12 years ago
|
Assignee: francisco.jordano → mbudzynski
Comment 20•12 years ago
|
||
Follow up bug915649 to gather all the bugs found related to this feature.
Comment 21•12 years ago
|
||
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.
Description
•