Closed Bug 1118893 Opened 9 years ago Closed 9 years ago

[RTL][Email] Update carat styling

Categories

(Firefox OS Graveyard :: Gaia::E-Mail, defect, P2)

ARM
Gonk (Firefox OS)
defect

Tracking

(feature-b2g:2.2+, b2g-v2.2 verified, b2g-master verified)

VERIFIED FIXED
2.2 S7 (6mar)
feature-b2g 2.2+
Tracking Status
b2g-v2.2 --- verified
b2g-master --- verified

People

(Reporter: ychung, Assigned: jrburke)

References

Details

(Keywords: rtl)

Attachments

(6 files)

Attached image Carats.png
Description:
Carats in "New Account", "Mail Settings", and Settings pages still exists. According to p.13 on Bidirectional Guidelines, carats in list items should be removed to avoid conflicting with the screen load transitions(https://mozilla.app.box.com/s/0y1amh4rwpp6brcxd1hk). 
   
Repro Steps:
1) Update a Flame device to BuildID: 20150106010234.
2) Set the device language in Arabic under Settings > Language.
3) Open Email app, and set up an account.
4) After logging in, observe the carats with "Sent Using Firefox OS.
5) Select "Next" > "Continue to Mail".
6) Open the drawer, and select the settings icon.
7) Observe the carat with the email address.
8) Select the email account, and observe the carats on list items.
  
Actual:
Carats are mirrored and still existing.
  
Expected: 
Carats are removed.
  
Environmental Variables:
Device: Flame 2.2 Master (319mb)(Kitkat Base)(Full Flash)
BuildID: 20150107010216
Gaia: 69ac77cfa938fae2763ac426a80ca6e5feb6ad25
Gecko: 33781a3a5201
Gonk: a814b2e2dfdda7140cb3a357617dc4fbb1435e76
Version: 37.0a1 (2.2 Master)
Firmware: V188-1
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0
  
Repro frequency: 100%
See attached: screenshot
QA Whiteboard: [QAnalyst-Triage?][rtl-impact]
Flags: needinfo?(ktucker)
QA Whiteboard: [QAnalyst-Triage?][rtl-impact] → [QAnalyst-Triage+][rtl-impact]
Flags: needinfo?(ktucker)
See Also: → 1118366
Asking swilkes for confirmation: when we talked about this on the first set of email RTL changes, this was still an issue under UX discussion, so I left the chevrons in there until something was final. It seemed odd to not give the user any indication that some list items had another card of UI if you tapped on them. 

Did those UX discussions end up deciding not to show any indication?
Flags: needinfo?(swilkes)
Flagging Rob per our IRC chat yesterday, as this is a Frameworks decision we need ASAP.
Flags: needinfo?(swilkes) → needinfo?(rmacdonald)
RTL triage: P2 -- will make a best effort to get this into the 2.2 release.
Priority: -- → P2
FYI - The frameworks team is meeting tomorrow (Jan 22) and I've added this to the agenda.
Flags: needinfo?(rmacdonald)
Hi. I'm not sure this should be a P2. I would consider this as a P1. This is at the time very confusing and inconsistent across apps
Feature landing is in two days. We either need a solution ASAP or agree to not change this.
Stephany: I am confused. For me, Feature Landing is next month, as per https://wiki.mozilla.org/Release_Management/FirefoxOS/2_2_Schedule
Disregard! FL is 2/23 - thank heavens.
RTL update: marking required bugs as feature-b2g:2.2+ (and removing blocking flags)
feature-b2g: --- → 2.2+
Attached image Settings-Carats.jpg
Mock up of updated carats.  I'll be attaching carat assets shortly.  The positioning of the carat is the same as the current.
Attached file carat assets.zip
Assets for carats in 1x, 1.5x, 2x and 2.25x.
If there are any questions please let me know.  Please also flag me for ui-review when ready, thanks!
James, let me know if you can take this bug assignment, or who might be best to do it. We may need to assign multiple people across the apps for this one, depending on all of the places it shows up. Thanks!
Flags: needinfo?(jrburke)
Thanks :epang!

swilkes: I can do this change for email. Is this carat only to be used in the RTL situation, or should it also replace the carat used in the LTR version of those list items? 

For styling reuse and slightly smaller zip file reasons, it would be nice if it was used for both cases, but also not a big deal if it should just be used for RTL only.
Assignee: nobody → jrburke
Flags: needinfo?(jrburke) → needinfo?(swilkes)
Flags: in-moztrap+
"New carat everywhere" question is for Rob/UX Frameworks team. My answer would be yes. Rob?
Flags: needinfo?(swilkes) → needinfo?(rmacdonald)
I know what I'd say but NI'ing Patryk as this is more of a visual question. Patryk?
Flags: needinfo?(rmacdonald) → needinfo?(padamczyk)
Ok, lets use the new smaller caret within the entire OS, see the mock up on the right as an example.
Flags: needinfo?(padamczyk)
Comment on attachment 8558216 [details] [review]
[PullReq] jrburke:bug1118893-email-list-carat to mozilla-b2g:master

This pull request uses the new carats, see the pull requests for screenshots of them in use. If it passes visual design review, then I will proceed with dev review.
Attachment #8558216 - Flags: ui-review?(padamczyk)
Hey James, thanks. 
We'd want the carets in the button also to use the shrunken down new caret.
All instances of the larger caret should use the new smaller caret.
Flags: needinfo?(jrburke)
Attachment #8558216 - Flags: ui-review?(padamczyk) → ui-review-
Comment on attachment 8558216 [details] [review]
[PullReq] jrburke:bug1118893-email-list-carat to mozilla-b2g:master

I updated the pull request to fix the carat in the button, updated screenshots are in this pull request comment:

https://github.com/mozilla-b2g/gaia/pull/27865#issuecomment-72964143

Note that these changes only affect the email app -- these were all custom uses of the carats. So, shared components are not affected by this change.
Flags: needinfo?(jrburke)
Attachment #8558216 - Flags: ui-review- → ui-review?
Patryk -- just to make sure you see the point in comment 20, you'll need to open up bugs in the other relevant apps to get the new carat everywhere.
Flags: needinfo?(padamczyk)
There are apps using gaia-icons (forward-light.svg) to display the caret, so the new design should also be included in gaia-icons. Eric, could you share the svg version of it?
Flags: needinfo?(epang)
Ok Dylan, Eric (epang) will do an audit and file the bugs for the all the other instances. Thanks.
Flags: needinfo?(padamczyk)
Comment on attachment 8558216 [details] [review]
[PullReq] jrburke:bug1118893-email-list-carat to mozilla-b2g:master

Hi James,

Thanks for working on this.  The icon looks fuzzy in the screen shots, I'm worried it's the asset I provided. 

I'm planning to work on the audit tomorrow.  If I export an svg can it be used instead of the pngs?  I'll also provide a spec.  Would be great if we can get all apps to use the same shared asset in the set of gaia icons.

Arthur, I'll get the icon to you tomorrow, do you have a link to the current icon?
Flags: needinfo?(jrburke)
Flags: needinfo?(epang)
Flags: needinfo?(arthur.chen)
Attachment #8558216 - Flags: ui-review? → ui-review-
Eric, here is the link of the current icon that we are using in settings app [1].

[1]: https://github.com/gaia-components/gaia-icons/blob/master/images/forward-light.svg
Flags: needinfo?(arthur.chen)
Blocks: 1131641
Attached image forward-light.svg
Hi James, I've created a svg version of the caret to replace the one in gaia-icons.

I've opened a meta to have it updated in other apps (1131641).  Is it possible to use the shared svg once it's been updated?

Updated carat specs:

Height 1.3 rem on HVGA 
Colour: #667174
Opacity: 70%
Margins: Same as current
Flags: needinfo?(jrburke)
Target Milestone: --- → 2.2 S6 (20feb)
Keywords: rtl
James, please switch the graphic for all cases. The "bonus" of this graphic is that it works a bit better with the header carat not changing in RTL, but it's easier to use it everywhere all the time.
I'm wondering - should we resolve this one invalid (since it should be that new carats are seen, not that they are gone)?
Let's just try a new title since we already have the long & winding history in this bug and it should be closed out soon.
Summary: [RTL][Email] Carats in list items are not removed. → [RTL][Email] Update carat styling
Comment on attachment 8558216 [details] [review]
[PullReq] jrburke:bug1118893-email-list-carat to mozilla-b2g:master

Hi Eric, I put in the SVG icon into email, here is how it looks now:

https://github.com/mozilla-b2g/gaia/pull/27865#issuecomment-74357197
Attachment #8558216 - Flags: ui-review- → ui-review?
Attachment #8558216 - Flags: ui-review? → ui-review?(epang)
Comment on attachment 8558216 [details] [review]
[PullReq] jrburke:bug1118893-email-list-carat to mozilla-b2g:master

the icon is looking thicker then it should.  I think it might have some to do with the 30 x 30 px size.  Pavel can probably help figure out what's going on since he implemented the new carats in the other apps what did you do different with the other bugs? Thanks!
Flags: needinfo?(pivanov)
Attachment #8558216 - Flags: ui-review?(epang) → ui-review-
Comment on attachment 8558216 [details] [review]
[PullReq] jrburke:bug1118893-email-list-carat to mozilla-b2g:master

Thanks :pivanov for the help. I used it along with looking at what settings did, here is the latest state of it now:

https://github.com/mozilla-b2g/gaia/pull/27865#issuecomment-75308978
Flags: needinfo?(jrburke)
Attachment #8558216 - Flags: ui-review- → ui-review?(epang)
Comment on attachment 8558216 [details] [review]
[PullReq] jrburke:bug1118893-email-list-carat to mozilla-b2g:master

Looks great, thanks James and Pavel! R+
Attachment #8558216 - Flags: ui-review?(epang) → ui-review+
Comment on attachment 8558216 [details] [review]
[PullReq] jrburke:bug1118893-email-list-carat to mozilla-b2g:master

Moving on to dev review: just a CSS change. See my last comment in the pull request for how it looks.
Attachment #8558216 - Flags: review?(bugmail)
Comment on attachment 8558216 [details] [review]
[PullReq] jrburke:bug1118893-email-list-carat to mozilla-b2g:master

r+ by inspection and things seeming reasonable CSS-wise and ux-review having happened based on the pretty screenshots.
Attachment #8558216 - Flags: review?(bugmail) → review+
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Depends on: 1131665
Comment on attachment 8558216 [details] [review]
[PullReq] jrburke:bug1118893-email-list-carat to mozilla-b2g:master

[Approval Request Comment]
[Bug caused by] (feature/regressing bug #):
Change desired for RTL to have indicators that there are sub-screens, but without the bigger thicker carats used before, tracked in meta bug 1131641.

[User impact] if declined:
The desired look of these carats will not be part of the RTL effort.

[Testing completed]:
Tested on device. Screenshots in the pull request show the results, which got ui-review+.

[Risk to taking this patch] (and alternatives if risky):
Very low, just a CSS change. It depends on bug 1131665 landing first on 2.2 though, as that bug has the image used in this CSS.

[String changes made]:
None

DO NOT LAND ON 2.2 until bug 1131665 lands there first.
Attachment #8558216 - Flags: approval-gaia-v2.2?
Attachment #8558216 - Flags: approval-gaia-v2.2? → approval-gaia-v2.2+
This issue is verified fixed on the latest Nightly Flame 3.0 and 2.2 builds.  
	
Actual Results: The email app now uses a smaller Carat symbol.

Environmental Variables:
Device: Flame 3.0 KK (319MB)(Full Flash)
BuildID: 20150225010244
Gaia: f6bfd854fe4746f21bc006eac145365e85f98808
Gecko: 0a8b3b67715a
Gonk: e7c90613521145db090dd24147afd5ceb5703190
Version: 39.0a1 (3.0) 
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:39.0) Gecko/39.0 Firefox/39.0

Environmental Variables:
Device: Flame 2.2 KK (319MB)(Full Flash)
BuildID: 20150225002505
Gaia: ca64f2fe145909f31af266b1730874051ba76c78
Gecko: 16804008c29f
Gonk: e7c90613521145db090dd24147afd5ceb5703190
Version: 37.0 (2.2) 
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0
Status: RESOLVED → VERIFIED
QA Whiteboard: [QAnalyst-Triage+][rtl-impact] → [QAnalyst-Triage?][rtl-impact]
Flags: needinfo?(ktucker)
QA Whiteboard: [QAnalyst-Triage?][rtl-impact] → [QAnalyst-Triage+][rtl-impact]
Flags: needinfo?(ktucker)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: