Closed
Bug 849729
Opened 12 years ago
Closed 10 years ago
[Contacts] [vCard] Allow the user to import multiple contacts from vCard files
Categories
(Firefox OS Graveyard :: Gaia::Contacts, defect)
Tracking
(tracking-b2g:backlog, b2g-master fixed)
Tracking | Status | |
---|---|---|
b2g-master | --- | fixed |
People
(Reporter: khu, Assigned: hola)
References
Details
(Keywords: feature, verifyme, Whiteboard: ux-most-wanted[priority])
Attachments
(2 files, 2 obsolete files)
Because of conformance.
Reporter | ||
Updated•12 years ago
|
blocking-b2g: --- → leo?
Reporter | ||
Comment 1•12 years ago
|
||
Will mark it as leo+ for now. Can definitely leo? or - if someone has different view on this.
blocking-b2g: leo? → leo+
Comment 2•12 years ago
|
||
Let me do some studies first. Start from google://vcard spec 2.1
Assignee: nobody → timdream
Updated•12 years ago
|
Blocks: mms-oma-compliance
Comment 3•12 years ago
|
||
Kevin, do we have any ux spec or user stories of supporting vCard? thanks.
Comment 4•12 years ago
|
||
change to leo? as product is confirming this is out of scope
blocking-b2g: leo+ → leo?
Reporter | ||
Comment 5•12 years ago
|
||
(In reply to Dominic Kuo [:dkuo] from comment #3)
> Kevin, do we have any ux spec or user stories of supporting vCard? thanks.
Yes, it would be great, but so far, it looks like this feature may be not required.
Updated•12 years ago
|
blocking-b2g: leo? → koi+
Comment 7•12 years ago
|
||
Bug 823492 and bug 838121 are connected to this as well.
Updated•12 years ago
|
No longer blocks: mms-oma-compliance
Updated•11 years ago
|
Assignee: timdream → nobody
Updated•11 years ago
|
Blocks: comms_backlog
Updated•11 years ago
|
Component: Gaia → Gaia::SMS
OS: Mac OS X → Gonk (Firefox OS)
Hardware: x86 → ARM
Comment 11•11 years ago
|
||
A little late on the game (as the other was already resolved), but doesn't this bug collide with bug 920533 ?
Comment 12•11 years ago
|
||
We can support both mime types when receiving a MMS, right ? :)
Comment 13•11 years ago
|
||
That's why I see a 'little' collision. From my pov, either we support it all across the system, or we don't ;)
Supporting it on certain apps and not in other seems clumsy. Of course we 'can' do it, but 'should' we do that?
Comment 14•11 years ago
|
||
The rule should be: permissive with what we receive, strict with what we send.
For the Messages app, we should imo target the maximum compatibility, and therefore we may need to send our vcard attachments as text/x-vcard ? This is all the Messages app business and should not impact any other app...
Updated•11 years ago
|
blocking-b2g: - → 1.5?
Updated•11 years ago
|
Blocks: comms_2.0_targeted
Flags: needinfo?(ofeng)
Comment 16•11 years ago
|
||
Hi Omega, we will need your help to define how to deal with vCcard attachment. Basically it should open contact/new contact page when user click on the vCard, but a wireframe or protptype would be peceft for feature implemetation, thanks.
Updated•11 years ago
|
Whiteboard: ux-most-wanted
Comment 17•11 years ago
|
||
Here is the UX spec. Let me know your feedback if any.
Flags: needinfo?(ofeng)
Updated•11 years ago
|
Whiteboard: ux-most-wanted → ux-most-wanted[priority]
Comment 19•11 years ago
|
||
Hi folks,
Thanks Julien ;P
A couple of things, in contacts we are able to read any vcard format from 2.0 to 4.0, but recently we downgraded our writter from 4.0 to 2.0, the reason was compatibility with android. Modern android devices were not able to read the vcards that we were generating with vcard format 4.0.
Now we have a parser to create vcard in format 2.0 and apparently we get ride of the compatibility problems.
Regarding the wireframes by Omega, in the contacts app we already have an activity to import vcards, since we had this use case when importing a vcard from bluetooth, but the way it works is different.
You could see the experience in action if you send a contact from an android phone to a firefox os via bluetooth or just send a vcard with several contacts via bluetooth file transfer.
In the case of a single contact, we open the list, import (you see a spinner for importing) and then move to the contact detail (with the contact already imported).
In the case of several contacts, we open the list, import (see the spinner), and stay on the list.
That was flow specified for the bluetooth transfer, IMHO, we should be consistent, either have the old experience or the new one.
I think we can have a quick win by just using current code (activity and flow), and adding a better follow up, specially when haida is ready, will be easier, since we could point to specific parts of the app (like going directly to the contact form).
Thanks.
Flags: needinfo?(francisco.jordano)
Comment 20•11 years ago
|
||
Small correction: We downgraded the generation of vCard to 3.0, not 4.0.
Comment 21•11 years ago
|
||
BTW, I noticed there are 2 different ways of receiving a vcard:
* either as a MMS attachment (iPhone is doing this, possibly some Android phones)
* or as a SMS text (this is done by feature phones)
Given our target market, I think we should do both.
BTW, Stock Android 4.3 does not support any of them; there are applications in the Play Store to support vCard as SMS, but I found nothing to support vCard as MMS. We can't even display the content!
Don't know for Androd 4.4.
Comment 22•11 years ago
|
||
For tracking purposes -
A user on the English SUMO forums is asking about this feature: https://support.mozilla.org/en-US/questions/1000847
Updated•10 years ago
|
Assignee: nobody → david.garciaparedes
Comment 24•10 years ago
|
||
David, I think you'll want to split the tasks in several subtasks (notably SMS and MMS-based vcards, sending and receiving).
Please ping me if you have any question!
Updated•10 years ago
|
Status: NEW → ASSIGNED
Updated•10 years ago
|
Assignee: david.garciaparedes → mri
Updated•10 years ago
|
Summary: To support vCard 2.1 (mime-type: text/x-vCard) → [Contacts] [vCard] Allow the user to select which contacts must be imported from vCard files
Updated•10 years ago
|
Assignee: mri → nobody
Comment 27•10 years ago
|
||
After a talk with Francisco, we are going to proceed progressively.
As a first step in bug 974589 we are going to implement an activity that will allow to list vCard content and import the content (all or nothing) if the user decides to do so. Later, we will consider contact selection, after we see how it works or if it is necessary.
Updated•10 years ago
|
Component: Gaia::SMS → Gaia::Contacts
Updated•10 years ago
|
Status: ASSIGNED → NEW
Comment 29•10 years ago
|
||
Hey josé, is this bug implemented as part of other bugs now?
Flags: needinfo?(jmcf)
Comment 30•10 years ago
|
||
(In reply to Julien Wajsberg [:julienw] from comment #29)
> Hey josé, is this bug implemented as part of other bugs now?
Hey,
Currently we are no actively working on it but the plan is to implement it in the near future as a new activity view in order not to pollute the current contact list selection UI. My colleague Adrian will work on it once he finishes some 2.2 blockers he is assigned to right now.
Flags: needinfo?(jmcf)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → hola
Assignee | ||
Comment 31•10 years ago
|
||
Asking for feedback about the first iteration of this new feature. When opening a vCard with multiple contacts, it shows a list of all contacts included, with photos if contacts have it and it allows the user to import all contacts. Then it will check for duplicates and tell the user how many contacts were imported before closing the activity.
Attachment #8559733 -
Flags: feedback?(jmcf)
Comment 32•10 years ago
|
||
Comment 33•10 years ago
|
||
Comment on attachment 8559733 [details] [diff] [review]
mozilla-b2g:master...ADLR-es:vcard-import-multiple.patch
I have left some comments on GH and I have given some hints on how to continue with the work
It goes well Adrian
thanks!
Attachment #8559733 -
Attachment is obsolete: true
Attachment #8559733 -
Flags: feedback?(jmcf)
Assignee | ||
Comment 34•10 years ago
|
||
Comment on attachment 8559750 [details] [review]
[PullReq] ADLR-es:vcard-import-multiple to mozilla-b2g:master
PR updated with the changes suggested.
Attachment #8559750 -
Flags: feedback?(jmcf)
Comment 35•10 years ago
|
||
Comment on attachment 8559750 [details] [review]
[PullReq] ADLR-es:vcard-import-multiple to mozilla-b2g:master
thanks Adrian,
a new round is needed
best
Attachment #8559750 -
Flags: feedback?(jmcf)
Assignee | ||
Comment 36•10 years ago
|
||
Comment on attachment 8559750 [details] [review]
[PullReq] ADLR-es:vcard-import-multiple to mozilla-b2g:master
New f?. If everything goes well, I'll just add tests and ask for review.
Thanks!
Attachment #8559750 -
Flags: feedback?(jmcf)
Comment 37•10 years ago
|
||
Comment on attachment 8559750 [details] [review]
[PullReq] ADLR-es:vcard-import-multiple to mozilla-b2g:master
thanks Adrian,
good work, but we need additional refinements before we craft tests
best
Attachment #8559750 -
Flags: feedback?(jmcf)
Assignee | ||
Comment 38•10 years ago
|
||
Comment on attachment 8559750 [details] [review]
[PullReq] ADLR-es:vcard-import-multiple to mozilla-b2g:master
All comments addressed once more! I added some tests this time, all of them passing and code working on device. I'll finish tests later today.
Thanks, great suggestions.
Attachment #8559750 -
Flags: feedback?(jmcf)
Comment 39•10 years ago
|
||
Comment on attachment 8559750 [details] [review]
[PullReq] ADLR-es:vcard-import-multiple to mozilla-b2g:master
Thanks Adrian,
More nits spotted and some substantive comments on the unit tests. We would need integration tests as well
Next stage would be r?
Attachment #8559750 -
Flags: feedback?(jmcf) → feedback+
Assignee | ||
Comment 40•10 years ago
|
||
Comment on attachment 8559750 [details] [review]
[PullReq] ADLR-es:vcard-import-multiple to mozilla-b2g:master
Everything pointed out about unit tests has been fixed, and a Marionette test to check if all contacts are imported has been added as well.
Let's ask for r? this time ;)
Attachment #8559750 -
Flags: review?(jmcf)
Comment 41•10 years ago
|
||
Comment on attachment 8559750 [details] [review]
[PullReq] ADLR-es:vcard-import-multiple to mozilla-b2g:master
Hi Adrian,
Overall looks good but I've left some substantive comments on GH. Apart from that comments we need as well two very important things:
A/ Ask for a UI review to Fang. Show to her two different cases: When the contact has a photo and when not.
B/ I'm worried about the flashing of the UI when the activity is launched. I think is very important to fix that issue. You need to investigate how to tackle that problem, through a transtion or other mechanism
thanks for the work!
Attachment #8559750 -
Flags: review?(jmcf)
Assignee | ||
Comment 42•10 years ago
|
||
Comment on attachment 8559750 [details] [review]
[PullReq] ADLR-es:vcard-import-multiple to mozilla-b2g:master
Asking for review since everything has been fixed.
Also asking for ui-review since we are implementing a new view. The new view can be seen here: http://i.imgur.com/p4tm0vN.png
Attachment #8559750 -
Flags: ui-review?(fshih)
Attachment #8559750 -
Flags: review?(jmcf)
Comment 43•10 years ago
|
||
Comment on attachment 8559750 [details] [review]
[PullReq] ADLR-es:vcard-import-multiple to mozilla-b2g:master
UI review should be done over screen capture
Attachment #8559750 -
Flags: ui-review?(fshih)
Comment 44•10 years ago
|
||
Comment on attachment 8559750 [details] [review]
[PullReq] ADLR-es:vcard-import-multiple to mozilla-b2g:master
r- as the flashing effect is still there.
On the other hand the file name should not include the 'sms-attachments' string, as I guess this is an internal folder which does not provide any useful information to the user.
Attachment #8559750 -
Flags: review?(jmcf) → review-
Comment 45•10 years ago
|
||
I would suggest that in order to overcome the flashing issue, We just simply perform a transition for the import view from the bottom to the top, similar to the one we perform when there is only one contact.
Assignee | ||
Comment 46•10 years ago
|
||
New ui-review because last one was not made properly.
Attachment #8565402 -
Flags: ui-review?(fshih)
Assignee | ||
Comment 47•10 years ago
|
||
Comment on attachment 8559750 [details] [review]
[PullReq] ADLR-es:vcard-import-multiple to mozilla-b2g:master
Transition from bottom to top when opening activity is working. There was a css conflict with a class that was overriding the correct transition property.
Attachment #8559750 -
Flags: review- → review?(jmcf)
Comment 48•10 years ago
|
||
With those transitions, be careful that we can't trigger some action twice by double tapping a button (tapping once will trigger the activity, but you can actually tap a second time because while the transition is happening the new panel is not hiding the action button.
Assignee | ||
Comment 49•10 years ago
|
||
The transition is done once Contacts app is launched so buttons are immediately disabled. I tested this and I wasn't able to trigger the activity twice.
Comment 50•10 years ago
|
||
Comment on attachment 8559750 [details] [review]
[PullReq] ADLR-es:vcard-import-multiple to mozilla-b2g:master
thanks Adrian,
very nice work. We are going to land this despite not having the UI review for Fang. Adrian, please open a follow-up for the visual tweaks of this new view.
Attachment #8559750 -
Flags: review?(jmcf) → review+
Updated•10 years ago
|
Keywords: checkin-needed
Updated•10 years ago
|
Keywords: checkin-needed
Comment 51•10 years ago
|
||
Pull request has landed in master: https://github.com/mozilla-b2g/gaia/commit/0ef70b47ef37bcc1dff4b3ea980dcdcbf8a3f9b6
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 52•10 years ago
|
||
Comment on attachment 8565402 [details]
Screenshot of new view.
The ui review has been moved to a follow up (bug 1134995).
Attachment #8565402 -
Attachment is obsolete: true
Attachment #8565402 -
Flags: ui-review?(fshih)
Updated•10 years ago
|
status-b2g-master:
--- → fixed
Target Milestone: --- → 2.2 S6 (20feb)
Comment 53•10 years ago
|
||
Fang is out on Chinese New Year, like most of the rest of the Taipei office. I'm flagging Peter La to see if he can take this quick review for Fang during CNY.
Flags: needinfo?(pla)
Comment 54•10 years ago
|
||
Comment on attachment 8559750 [details] [review]
[PullReq] ADLR-es:vcard-import-multiple to mozilla-b2g:master
Adding Peter La on ui-review? in lieu of Fang during CNY. This is, however, landing anyway, but should have gotten review from Fang.
Attachment #8559750 -
Flags: ui-review?(pla)
Comment 55•10 years ago
|
||
(In reply to Stephany Wilkes from comment #54)
> Comment on attachment 8559750 [details] [review]
> [PullReq] ADLR-es:vcard-import-multiple to mozilla-b2g:master
>
> Adding Peter La on ui-review? in lieu of Fang during CNY. This is, however,
> landing anyway, but should have gotten review from Fang.
Stephanie,
We landed the bug but we have open a follow-up for the visual tweaks (bug 1134995).
thanks
Updated•10 years ago
|
Attachment #8559750 -
Flags: ui-review?(pla) → ui-review-
Comment 57•10 years ago
|
||
Comment on attachment 8559750 [details] [review]
[PullReq] ADLR-es:vcard-import-multiple to mozilla-b2g:master
We are adding a lot of code changes here and would like to know what we are doing.
Flagging myself to get that understanding.
Attachment #8559750 -
Flags: review?(francisco)
Updated•10 years ago
|
Attachment #8559750 -
Flags: review?(francisco)
Updated•10 years ago
|
blocking-b2g: backlog → ---
tracking-b2g:
--- → backlog
Comment 58•9 years ago
|
||
I am changing the bug title because the original one is not correct. The patch provided in this bug allow importing multiple contacts vcards but the user is not able to select which contacts he wants to import or not to his device so there are only two options:
- Import all the contacts (in case of duplicated contacts, passive merging rules are applied)
- Cancel the import option
Summary: [Contacts] [vCard] Allow the user to select which contacts must be imported from vCard files → [Contacts] [vCard] Allow the user to import multiple contacts from vCard files
You need to log in
before you can comment on or make changes to this bug.
Description
•