Closed Bug 1080148 Opened 11 years ago Closed 8 years ago

Default contact picture should contain the first letter of the contact name

Categories

(Firefox OS Graveyard :: Gaia::SMS, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(tracking-b2g:backlog, b2g-v2.1 unaffected, b2g-v2.2 affected)

RESOLVED WONTFIX
tracking-b2g backlog
Tracking Status
b2g-v2.1 --- unaffected
b2g-v2.2 --- affected

People

(Reporter: marcia, Assigned: rishav_, Mentored)

References

Details

(Keywords: feature, foxfood, Whiteboard: [lang=js])

Attachments

(4 files)

Flame, while running: Gaia 0bc74ce502672cf0265b24cf3a25d117c3de5e71 SourceStamp e4cfacb76830 BuildID 20141008040203 Version 35.0a1 Base: v184 STR: 1. Add a contact with the last name K, without a picture 2. Start a message thread with that contact 3. Observe the attached screenshot Expected: In both contacts and Message app with default picture would be the same (Blue circle with capital K)
Per bug 1003843, it seems to be the expected behavior in the Message app. Can you confirm, Fang?
Component: Gaia::Contacts → Gaia::SMS
Flags: needinfo?(fshih)
Attached image Messaging_inbox.png
Follow the style of the default image. We should have the same behavior for Message app as well. Thanks!
Flags: needinfo?(fshih)
[Blocking Requested - why for this release]: Confusing behavior on a new feature.
blocking-b2g: --- → 2.2?
Hi Fang, I'm really not sure about this. Some good reasons: * in Contacts app, the letter will change depending whether we sort by first name or last name. We can't do this in the Messages app because we don't know the sort. * in Contacts app, the letter helps to know in which part of the contact list we are; in the Messages app, this has no real use. In the end, I think it clutters the view for no real benefit for the user. NI Jenny and Fang about this. Thanks !
Flags: needinfo?(jelee)
Flags: needinfo?(fshih)
Hello Julien, The main purpose for showing a preset contact picture is to distinguish recipients that are saved from the ones not saved; the presence of picture also gives a sense of richness in terms of visual (as opposed to a view filled with text). On top of that, I think it's important to have consistency among comms apps, the experience of contact associated with a picture is established in Contacts, so in Messages, having similar design can reinforce that style. About the sorting.. is there nothing we can do to get the sorting order from Contacts? If so, using the default setting should be fine. Thanks!
Flags: needinfo?(jelee)
Flags: needinfo?(fshih)
(In reply to Jenny Lee from comment #6) > Hello Julien, > > The main purpose for showing a preset contact picture is to distinguish > recipients that are saved from the ones not saved; the presence of picture > also gives a sense of richness in terms of visual (as opposed to a view > filled with text). On top of that, I think it's important to have > consistency among comms apps, the experience of contact associated with a > picture is established in Contacts, so in Messages, having similar design > can reinforce that style. Hey Jenny, I just want to say I have nothing against the preset contact picture, but against the letter inside the default picture. > > About the sorting.. is there nothing we can do to get the sorting order from > Contacts? If so, using the default setting should be fine. Thanks! Francisco, can you answer this? Is it in eg a mozSetting?
Flags: needinfo?(francisco)
(In reply to Julien Wajsberg [:julienw] from comment #7) > > Francisco, can you answer this? Is it in eg a mozSetting? Unfortunately is not in a mozSetting, it's saved internally as it used to be a contacts feature. We can share it via DS if needed.
Flags: needinfo?(francisco)
(In reply to Francisco Jordano [:arcturus] [:francisco] from comment #8) > > We can share it via DS if needed. That will be a real extreme case ;) Ideally, I would love to move contacts settings to settings app, and this kind of elements being a proper setting that everyone can use. With that said, that will require a lot of planned work.
I don't think it' s worth it... NI Jenny with the new information.
Flags: needinfo?(jelee)
(In reply to Julien Wajsberg [:julienw] from comment #10) > I don't think it' s worth it... > > NI Jenny with the new information. Hey Julien, So your main concern is not knowing what letter to display on preset picture? Since it's unlikely for us to get the sorting info in near future, I suggest in Message we simply use the first letter of first name (which is the default sorting in contact). Is that acceptable?
Flags: needinfo?(jelee)
We can try and see how this looks. As there is no urgency, I'm making this bug a mentored bug. The code to change is in apps/sms/js/thread_list_ui.js, the function is `setContact`, and more exactly the inner function `updateThreadNode`. You can follow the steps at [1] to run the application inside Firefox. [1] https://github.com/julienw/gaia/blob/1082618-sms-readme/apps/sms/README.md If the bug is not fixed quick enough, the SMS team can take it.
Mentor: felash
Whiteboard: [lang=js]
triage: this is feature
blocking-b2g: 2.2? → ---
feature-b2g: --- → 2.2?
[Tracking Requested - why for this release]: not in 2.2 must-have scope.
feature-b2g: 2.2? → ---
tracking-b2g: --- → ?
I would like to work on this bug. Can you please point to code.
hey Ankit, I just assign you to this bug. Please read comment 12 for more information, and you can come on IRC (irc.mozilla.org, #gaia-messaging) in case you have more questions. Thanks!
Assignee: nobody → ankitladhania
Keywords: feature
julien Don't we have this feature already? IIRC i fixed this in some bug.
Flags: needinfo?(felash)
In this bug we want to add the same "default" image than we have in Contacts, that is a green disk with the first letter of the first name inside. We currently have the green disk (comes from bug 1003843), so the purpose of this bug would be to add the letter only. I'm not sure we _really_ want it but the goal is also to have a patch so that we can try it for real and look whether we want it.
Flags: needinfo?(felash)
any update?
Flags: needinfo?(ankitladhania)
no updates from assignee. setting to nobody.
Assignee: ankitladhania → nobody
vishnu, this may interest you :)
Flags: needinfo?(yvtheja)
rishav, I don't have a flame right now but will get in soon ! I will work on other bugs that can fix in using Mulet. This bug is interesting! I will work on this as soon I clear the stack of bugs remaining in my profile. Thanks for searching bugs for me ! :)
Flags: needinfo?(yvtheja)
Summary: Default Contact Picture does not display in message thread → Default contact picture should contain the first letter of the contact name
(In reply to Julien Wajsberg [:julienw] from bug 1222742 comment #2) > Not really high priority from my pov. What do you think ? Would this be > actually useful for you ? > > *** This bug has been marked as a duplicate of bug 1080148 *** Not urgent, however this is less about wanting to see the initial, and more that an empty circle looks "broken". It was also surprising to see that the contacts app implements this differently - I would have thought they'd share the same code for this. In my case, when I first saw the empty circles, I didn't have any SMS threads from people that had pictures set, so had no context as to what they were actually for. To me, the circles actually looked like the blobs you get next to threads with an unread message count inside them, but that's obviously not the case. Until the circles show initials (or something other thank being a plain blob), I think it would be better to not show them at all for messages where there is no image.
Keywords: foxfood
Hi JulienW, As sorting doesn't matter for us OR we don't know sorting, It better to have a First letter from the receiver name (irrespective of what's there in contact app image) to maintain consistency across all the image. I am not in favor of "not to show them at all for messages where there is no image" because of following reason: a) Non saved contact also doesn't have contact images. b) Adding more than one recipient also show images (with total number of recipient). So,only when contact is not saved, then don't show image, while in other case show image i.e: 1) If contact has image, then show that image, else show first letter in the default image. 2) if More than one recipient (irrespective of recipients contact are saved or not), show total number of recipient. What do you say? Thanks
Flags: needinfo?(felash)
Flags: needinfo?(rishav006)
I think jenny said everything in comment 11 already :) Let's implement this, it shouldn't be that difficult to do...
Flags: needinfo?(felash)
Assignee: nobody → rishav006
Flags: needinfo?(rishav006)
Hey Rishav, were you able to work on this? If not you might want to leave the bug unassigned :)
Sorry for the delay.I will resume from 18th Jan. If anyone wants to take this bug, feel free to unassigned it. Btw this was next bug to start with but caught with new year (will reach college by 17th Jan and résumé my bug) Thanks
Flags: needinfo?(ankitladhania)
Attachment #8714368 - Flags: review?(felash)
Comment on attachment 8714368 [details] [review] [gaia] kumarrishav:Bug-1080148 > mozilla-b2g:master I just left a comment, it should be a quick fix for you
Attachment #8714368 - Flags: review?(felash)
Comment on attachment 8714368 [details] [review] [gaia] kumarrishav:Bug-1080148 > mozilla-b2g:master fixed
Attachment #8714368 - Flags: review?(felash)
Mass closing of Gaia::SMS bugs. End of an era :(
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Mass closing of Gaia::SMS bugs. End of an era :(
Attachment #8714368 - Flags: review?(felash)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: