Closed Bug 1043347 Opened 11 years ago Closed 11 years ago

[Dialer][Call Screen] Bad alignment of information in conference call overlay

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gtorodelvalle, Assigned: gtorodelvalle)

References

Details

Attachments

(4 files)

STR: 1. Establish a conference call (group call with at least 2 other participants). 2. Click on the call screen header ("Conference (N)") to get the participant info overlay. EXPECTED: 3. The participant info and hang up icon are properly aligned and shown for the number and contact cases. OBSERVED: 3. The participant info and hang up icon are NOT properly aligned either for the number (I guess the number should be vertically centered and aligned with the hang up icon) or and contact cases (I guess the name and phone info should be vertically centered on the available space and also with the hang up icon).
Screenshot for the Contact information case ;)
Assignee: nobody → gtorodelvalle
Hi Carol, I found https://bug950760.bugzilla.mozilla.org/attachment.cgi?id=8421731 ("Visual Mockup. Conference Call. List of participants one Call ended") in bug 950760 but it would be great to have concrete specs (such as https://bug950760.bugzilla.mozilla.org/attachment.cgi?id=8415257) to implement the mentioned scenarios ;) Would it be possible? Thanks!
Flags: needinfo?(chuang)
Although probably not strictly blocking it, it is highly related and both bugs should be considered in parallel to implement the desired look and feel :)
Blocks: 1018283
Attached file 22172.html
Hi Carol, I have a patch with what I considered is the desired behaviour so that the specs would not be needed. Would you be so kind to ui-review it, please? Thanks!
Attachment #8462581 - Flags: ui-review?(chuang)
Comment on attachment 8462581 [details] [screenshot][proposal] conferencecall_overlay_number_and_contact.png Hi, The adjustment looks pretty good, I'll give UI+ Thank you!! :)
Attachment #8462581 - Flags: ui-review?(chuang) → ui-review+
Flags: needinfo?(chuang)
Attachment #8462580 - Flags: review?(anthony)
I think this patch will change a lot after we land bug 967440. So I'll wait for that to review.
Depends on: 967440
Comment on attachment 8462580 [details] 22172.html This is violating the separation of concerns between the call screen and the handled call. Handled calls should not know about the DOM of the call screen (and vice versa). What you want here is to check this.call.group in HandledCall.formatPhoneNumber. When it exists, you do this.node.style.fontSize = ''. Doug: Needinfo-ing you to spread knowledge about this separation of concerns for later reviews.
Attachment #8462580 - Flags: review?(anthony) → review-
Flags: needinfo?(drs+bugzilla)
Got it, thanks.
Flags: needinfo?(drs+bugzilla)
QA Contact: lolimartinezcr
(In reply to Anthony Ricaud (:rik) from comment #8) > Comment on attachment 8462580 [details] > 22172.html > > This is violating the separation of concerns between the call screen and the > handled call. Handled calls should not know about the DOM of the call screen > (and vice versa). > > What you want here is to check this.call.group in > HandledCall.formatPhoneNumber. When it exists, you do > this.node.style.fontSize = ''. > > Doug: Needinfo-ing you to spread knowledge about this separation of concerns > for later reviews. Well, taking into consideration the current implementation I would say each instance of HandledCall knows (and holds a lot of info) about the DOM: https://github.com/mozilla-b2g/gaia/blob/master/apps/callscreen/js/handled_call.js#L32-L58 :p Kidding! I agree with your proposal ;) I'll update que PR in a sec ;)
Attachment #8462580 - Flags: review- → review?(anthony)
Depends on: 1047255
No longer depends on: 1047255
Comment on attachment 8462580 [details] 22172.html Left my comments on Github.
Attachment #8462580 - Flags: review?(anthony) → review-
Hi Anthony, I left a comment to your comment in Github :)
Flags: needinfo?(anthony)
Agreed on the approach suggested in Github.
Flags: needinfo?(anthony)
Comment on attachment 8462580 [details] 22172.html Patch including the agreed combined approach as per comment 13 ;)
Attachment #8462580 - Flags: review- → review?(anthony)
Attachment #8462580 - Flags: review?(anthony) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: