Closed Bug 985995 Opened 10 years ago Closed 10 years ago

BB . Visual Refresh. Create separate headers for Comms Apps

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(feature-b2g:2.0, tracking-b2g:backlog, b2g-v2.0 fixed)

VERIFIED FIXED
2.0 S2 (23may)
feature-b2g 2.0
tracking-b2g backlog
Tracking Status
b2g-v2.0 --- fixed

People

(Reporter: vicky, Assigned: gtorodelvalle)

References

Details

Attachments

(2 files, 1 obsolete file)

Create an independent header for Comms apps, both Dialer, Contacts and Messaging so it has a different color. It should be green instead of Orange but the rest od apps will remain the same.
Cool, there's a name for that kind of apps we could use in our code? We already have skin-dark for multimedia and skin-organic for settings :)
(In reply to Arnau March  [:arnau] from comment #1)
> Cool, there's a name for that kind of apps we could use in our code? We
> already have skin-dark for multimedia and skin-organic for settings :)

Good idea! We can call it "Comms-skin" and then later on include the rest of controls to complete the suite. Thanks!
Assignee: kyee → gtorodelvalle
Attached file 17528.html (obsolete) —
Attachment #8396321 - Flags: review?(arnau)
Comment on attachment 8396321 [details]
17528.html

Cool thanks!
Attachment #8396321 - Flags: review?(arnau) → review+
Attachment #8396321 - Flags: review+ → review?(jmcf)
Once we have José Manuel's r+, I'll ask the Dialer and SMS peers ;-)
Comment on attachment 8396321 [details]
17528.html

r+ for the contacts part
Attachment #8396321 - Flags: review?(jmcf) → review+
Comment on attachment 8396321 [details]
17528.html

Next is Mr. Etienne :-)
Attachment #8396321 - Flags: review+ → review?(etienne)
Comment on attachment 8396321 [details]
17528.html

Redirecting to Rik, you can safely send future visual refresh related PR to him :)
Attachment #8396321 - Flags: review?(etienne) → review?(anthony)
No longer blocks: 2.0-visual-refresh
Comment on attachment 8396321 [details]
17528.html

(You can put multiple review flags on one patch to track that it has been reviewed by everyone. Use the "addl. review" at the bottom of the flag list)

I'm not seeing the effect of those class changes. I don't see any code with 'skin-comms' landed yet. Also, we need to update the fake header of the contacts tab (it appears before we load the contacts iframe, see bug 943779)
Attachment #8396321 - Flags: review?(anthony) → review-
:rik, this is a first patch to add classes to all comms html files.
There will be a new PR adding a new skin in headers Building block
I prefer landing this together or building blocks first then comms. But I can't r+ this without seeing the effects.
Comment on attachment 8396321 [details]
17528.html

Re-asking review from Anthony according to comment 11 by Arnau ;-)

Asking review from Francisco regarding the SMS app change.
Attachment #8396321 - Flags: review?(francisco.jordano)
Attachment #8396321 - Flags: review?(anthony)
Attachment #8396321 - Flags: review-
Comment on attachment 8396321 [details]
17528.html

Ups, sorry, I didn't read last Anthony's comment... Deleting the review flags... How shall we proceed, Arnau?
Attachment #8396321 - Flags: review?(francisco.jordano)
Attachment #8396321 - Flags: review?(anthony)
Flags: needinfo?(arnau)
ok, I'll work on bug 989933
Flags: needinfo?(arnau)
Comment on attachment 8396321 [details]
17528.html

:Rik, could you please review that patch again?
Now that bug 989933 has landed you will see the new green headers.
Please note that centered title will come in a different patch.
Attachment #8396321 - Flags: review?(anthony)
Target Milestone: --- → 1.4 S6 (25apr)
Comment on attachment 8396321 [details]
17528.html

- This patch needs rebasing.
- It's not adressing part of comment 10: "we need to update the fake header of the contacts tab (it appears before we load the contacts iframe, see bug 943779)"

I'm also concerned by the contrast. If you look at a Buri with a slight vertical angle, it's really hard to read the titles. Vicky: I think we'll need to change the combination of colors.
Attachment #8396321 - Flags: review?(anthony) → review-
Flags: needinfo?(vpg)
I know for sure Vicky has tested this in on all available devices, and she is ok with the contrast.
I'll ni Przemek to have some feedback from another member of the VD team, just in case we could unlock this issue before Vicky comes back from her PTO :)

Przemek, is contrast in Buri good enought for you with new comms headers?
Flags: needinfo?(pabratowski)
#3cc with white text as a ratio of 2. WCAG recommends at least 3. The current orange (F97C17) has a ratio of 2.65. That was already not enough but at least closer to recommendations.
http://contrast-finder.tanaguru.com/result.html?foreground=%23FFF&background=%233cc&isBackgroundTested=true&ratio=3&algo=Rgb
I agree we can pump up the contrast a bit but not all the way up to 3.0. I don't want to make this change without meeting and discussing with Vicky, I'll try to meet with her on Monday.
Flags: needinfo?(pabratowski)
Przemek: Why shouldn't we go to 3.0? WCAG is based on a bunch of research and norms so if you want to have an exception, I'd like to see a good reason supporting that exception.
I think we should try to respect that 3.0 as much as possible because a phone can be used in very poor lighting conditions so it makes even more sense.

Eitan: Do we have a minimum contrast ratio currently recommended for Gaia?
Flags: needinfo?(pabratowski)
Flags: needinfo?(eitan)
I agree we should use the WCAG contrast ratios as a guideline as much as possible, especially when dealing with large bodies of text. I plan to meet with Vicky when she returns from her PTO to discuss this further.
Flags: needinfo?(pabratowski)
Agreed, WCAG FTW. I am mostly concerned about the SMS text bubbles with low contrast.
Flags: needinfo?(eitan)
Hi all,

After checking on device and discussing the color issue with Przemek we decided not to change the header color, as tested in different screens, it doesn't look like there's a legibility risk. 

Nevertheless I made changes to the messages bubbles in the thread to reach the optimal contrast. YOu can see the update here: https://bug950175.bugzilla.mozilla.org/attachment.cgi?id=8408358
Flags: needinfo?(vpg)
Comment on attachment 8396321 [details]
17528.html

Hi Anthony, would you be so kind to re-review the patch, please? Your comments should now be all covered.
Attachment #8396321 - Flags: review- → review?(anthony)
Whiteboard: [p=1]
Target Milestone: 1.4 S6 (25apr) → 2.0 S1 (9may)
QA Contact: lolimartinezcr
Due to the contrast ratio issue, colors have been adjusted. Please change the header's background color to #00adad.

Thanks!
Flags: needinfo?(gtorodelvalle)
Flags: needinfo?(arnau)
We also need to convert the remaining SVG files to PNG.
Please note any contrast improvements should also benefit users in areas of high ambient light (e.g. a sunny park).
@Vicky: comment 26 is being taken care in bug 1005802 which has already landed so we will inherit it in this PR ;-) Thanks for noticing!
Flags: needinfo?(gtorodelvalle)
Comment on attachment 8396321 [details]
17528.html

Switching the reviewer to Etienne to let Anthony enjoy his PTO as much as possible ;-)
Attachment #8396321 - Flags: review?(anthony) → review?(etienne)
Comment on attachment 8396321 [details]
17528.html

comments on github
Attachment #8396321 - Flags: review?(etienne)
blocking-b2g: --- → backlog
feature-b2g: --- → 2.0
Attachment #8396321 - Flags: review?(etienne)
Attachment #8396321 - Flags: feedback?(arnau)
Whiteboard: [p=1]
Target Milestone: 2.0 S1 (9may) → 2.0 S2 (23may)
Comment on attachment 8396321 [details]
17528.html

Awesome! thanks Germán
Attachment #8396321 - Flags: feedback?(arnau) → feedback+
Comment on attachment 8396321 [details]
17528.html

Anthony is back :)
Attachment #8396321 - Flags: review?(etienne) → review?(anthony)
Comment on attachment 8396321 [details]
17528.html

Looks good to me but I'd like the peers of SMS and Contacts to take a look at the result and see if it works correctly in those apps.

Also, you need a quick rebase of the pull request.
Attachment #8396321 - Flags: review?(jmcf)
Attachment #8396321 - Flags: review?(felash)
Attachment #8396321 - Flags: review?(anthony)
Attachment #8396321 - Flags: review+
the patch needs to be rebased
Flags: needinfo?(gtorodelvalle)
Attachment #8396321 - Flags: review?(jmcf)
Attached file 19419.html
Attachment #8396321 - Attachment is obsolete: true
Attachment #8396321 - Flags: review?(felash)
Attachment #8425311 - Flags: review?(jmcf)
Attachment #8425311 - Flags: feedback?(arnau)
Flags: needinfo?(gtorodelvalle)
Comment on attachment 8425311 [details]
19419.html

Looking forward to see this on the phone! Looks awesome :)
Attachment #8425311 - Flags: feedback?(arnau) → feedback+
Attachment #8425311 - Flags: review?(felash)
Attachment #8425311 - Flags: review+
Comment on attachment 8425311 [details]
19419.html

the Facebook headers appear with the green background instead of the blue one.
Attachment #8425311 - Flags: review?(jmcf) → review-
Comment on attachment 8425311 [details]
19419.html

r=me for the sms part

I'm sure there will be glitches in some subpanels but we'll look at them once we have every big patches.
Attachment #8425311 - Flags: review?(felash) → review+
Comment on attachment 8425311 [details]
19419.html

Fix proposed by Arnau included in the patch :-) Please, review it once more time :-) Thanks!
Attachment #8425311 - Flags: review- → review?(jmcf)
Comment on attachment 8425311 [details]
19419.html

FB Link page is incorrect with the patch
Attachment #8425311 - Flags: review?(jmcf) → review-
Comment on attachment 8425311 [details]
19419.html

Let's see if this is the one... :-S
Attachment #8425311 - Flags: review- → review?(jmcf)
Comment on attachment 8425311 [details]
19419.html

now we are talking.

German and Arnau, thanks!
Attachment #8425311 - Flags: review?(jmcf) → review+
https://github.com/mozilla-b2g/gaia/commit/a9813941acd4588c0ce14a39780a3816d895aa6b
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Related with this you can see this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1013994
(In reply to Jose Manuel Cantera from comment #44)
> https://github.com/mozilla-b2g/gaia/commit/
> a9813941acd4588c0ce14a39780a3816d895aa6b

For this reason, this bug is verified.
Status: RESOLVED → VERIFIED
blocking-b2g: backlog → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: