Closed
Bug 892086
Opened 12 years ago
Closed 12 years ago
[B2G][l10n][Spanish][Cost Control] Reset button on Settings has ellipses
Categories
(Firefox OS Graveyard :: Gaia::Cost Control, defect, P1)
Tracking
(blocking-b2g:leo+, b2g18 fixed, b2g-v1.1hd fixed)
People
(Reporter: dsubramanian, Assigned: pivanov)
References
Details
(Keywords: l12y, Whiteboard: [leo-triage])
Attachments
(4 files, 2 obsolete files)
Description:
When set in Spanish language, the user is able to see the Reset button in cost control/Usage app with ellipses.
Repro Steps:
1) Updated to Leo Build ID: 20130710070204
2) Set language to Spanish
3) On the Usage screen tap the gear icon(Settings)
4) Look at the Reset button
Actual:
Reset button is displayed with ellipses
Expected:
Reset button with no ellipses
Environmental Variables
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/5b34e0cda635
Gaia: 61453c4d32beb15a33ec91b2e740e96e5ce45759
Platform Version: 18.1
Notes:
Frequency: 100%
See attached: Screenshot
Comment 1•12 years ago
|
||
Weird because there is clearly enough space in the box to contain the entire Spanish word which is Restablecer.
Adding Spanish localizers here in case they see a solution to this.
Updated•12 years ago
|
blocking-b2g: --- → leo?
Comment 3•12 years ago
|
||
Asking to Ismael instead. Maybe is a problem of padding. What do you think?
Flags: needinfo?(salva) → needinfo?(igonzaleznicolas)
Comment 4•12 years ago
|
||
I'd say that the max. width for the button has been reached, because it seems to have the same width than the three dropdowns below it ("Cuando el uso sea superior", "Restablecer informe" and "A partir del").
The problem with this is that we just agreed to use "Restablecer" for this kind of message, instead of "Reiniciar" or "Limpiar", which may sound confusing. We did it for Firefox for Android, but if we want to achieve some consistency in translation, we shouldn't choose words just based on available space.
JM2C
Comment 5•12 years ago
|
||
Ok also aksing for more info from UX team based on comment 4
Flags: needinfo?(firefoxos-ux-bugzilla)
Comment 6•12 years ago
|
||
As Ricardo said, the button has reached the max-width allowed (based on the x-axis space available). So We can not fix anything at building block level.
Anyway seems that we have huge paddings at both sides of the viewport, 30px at left side and 20px at right side. I suggest to reduce left padding to 20px in order to gain some exta space for the button.
Flags: needinfo?(igonzaleznicolas)
Updated•12 years ago
|
blocking-b2g: leo? → ---
Comment 7•12 years ago
|
||
If the recommended LabelBeginning...LabelEnd ellipsis method (see https://docs.google.com/a/mozilla.com/document/d/19XbHvtThAUCwzyx_TXJHY7ZX8t99MxhZnZamWUcB158/edit) does not work, please re-flag us as needinfo? firefoxos-ux-bugzilla@mozilla.com to advise on UI adjustment.
Flags: needinfo?(firefoxos-ux-bugzilla)
Comment 8•12 years ago
|
||
Ismael: have you been able to find a workaround as suggested in comment 7?
If not, we'll flag UX team again to find a solution
Flags: needinfo?(igonzaleznicolas)
Comment 9•12 years ago
|
||
I think we must flag UX team again to reduce lateral paddings inside Cost Control settings views. In that way we'll have much more available space and longer labels will fit.
Flags: needinfo?(igonzaleznicolas)
Comment 10•12 years ago
|
||
Ok many thanks for the quick feedback Ismael.
Flaggin UX team as per comment 9 and nominating as Leo blocker
blocking-b2g: --- → leo?
Flags: needinfo?(firefoxos-ux-bugzilla)
Comment 11•12 years ago
|
||
Triage - Partners feel the need to correct this as "..." takes up more space than it does to display correctly - Bad user impression.
Please flag if this is going to be a non-trivial fix and partners will reconsider.
blocking-b2g: leo? → leo+
Comment 12•12 years ago
|
||
Flagging Eric to advise on the padding issue in lieu of ellipses. Eric, please reassign as appropriate.
Flags: needinfo?(firefoxos-ux-bugzilla) → needinfo?(epang)
Comment 13•12 years ago
|
||
(In reply to Stephany Wilkes from comment #12)
> Flagging Eric to advise on the padding issue in lieu of ellipses. Eric,
> please reassign as appropriate.
Hi,
The button should be full length, which will eliminated the ellipses issues. Drop downs should also be full length. Please refer to the building blocks for buttons here:
http://buildingfirefoxos.com/building-blocks/buttons.html
Pavel, is this something you can help implement? I know you know this well from pass fixes :)
Thanks!
Assignee: nobody → pivanov
Flags: needinfo?(epang)
Assignee | ||
Comment 14•12 years ago
|
||
like this?
Comment 15•12 years ago
|
||
I think is the perfect way to go for settings based views.
Also we are doing it in the Settings application right? So it will be consistent with the desing approach over the whole OS.
Comment 16•12 years ago
|
||
(In reply to Pavel Ivanov [:ivanovpavel] from comment #14)
> Created attachment 785907 [details]
> after-patch-shot.png
>
> like this?
Yes! One thing though, I think the "Reset" text in the button needs to be centered since it's not in a list of buttons.
Thanks Pavel!
Assignee | ||
Updated•12 years ago
|
Attachment #785907 -
Attachment is obsolete: true
Assignee | ||
Comment 17•12 years ago
|
||
Attachment #786747 -
Flags: feedback?(epang)
Comment 18•12 years ago
|
||
(In reply to Pavel Ivanov [:ivanovpavel] from comment #17)
> Created attachment 786747 [details]
> after-patch-shot.png
Sorry Pavel, looking at it now it might make more sense being left aligned. Let me check with Sergi.. Hi Sergi, should the text "reset" in the button be centered or left aligned? If this is considered a list I'm thinking it should be left aligned, but I wanted to get your confirmation first. Thanks!
Flags: needinfo?(sergiov)
Comment 19•12 years ago
|
||
IMHO we should use an action button for "reset", so it would be ok to have the text centered on it. If we use a list button, like the example you uploaded, we should left align the text. BTW, the list buttons don't look well aligned. Remember we should leave 15px for the button margin and 15px for the text inside on both sides.
Find a sample attached.
Flags: needinfo?(sergiov)
Comment 20•12 years ago
|
||
(In reply to Sergi from comment #19)
> Created attachment 786864 [details]
> Suggested button ditribution
>
> IMHO we should use an action button for "reset", so it would be ok to have
> the text centered on it. If we use a list button, like the example you
> uploaded, we should left align the text. BTW, the list buttons don't look
> well aligned. Remember we should leave 15px for the button margin and 15px
> for the text inside on both sides.
>
> Find a sample attached.
Thanks Sergi! Pavel, we're good to leave the reset text centered in the button. But as Sergi brought up can you take a look at the spacing of the buttons? The margins for the buttons and text are off. Thanks!
Flags: needinfo?(pivanov)
Comment 21•12 years ago
|
||
Comment on attachment 786747 [details]
after-patch-shot.png
because of the margin issues I'm marking this as - for now. Please flag me when you've made the changes. Thanks!
Attachment #786747 -
Flags: feedback?(epang) → feedback-
Assignee | ||
Updated•12 years ago
|
Attachment #786747 -
Attachment is obsolete: true
Assignee | ||
Comment 22•12 years ago
|
||
Attachment #787059 -
Flags: feedback?(sergiov)
Attachment #787059 -
Flags: feedback?(epang)
Flags: needinfo?(pivanov)
Assignee | ||
Comment 23•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Attachment #787060 -
Attachment description: proposed patch.html → Patch for Gaia repo
Comment 24•12 years ago
|
||
Comment on attachment 787059 [details]
after-patch-shot.png
Thanks Pavel, this looks good to me now.
Attachment #787059 -
Flags: feedback?(epang) → feedback+
Assignee | ||
Updated•12 years ago
|
Attachment #787060 -
Flags: review?(sjochimek)
Comment 25•12 years ago
|
||
(In reply to Ismael Gonzalez [:basiclines] from comment #15)
> I think is the perfect way to go for settings based views.
> Also we are doing it in the Settings application right? So it will be
> consistent with the desing approach over the whole OS.
Hi Ismael, I've noticed that some screens in settings are still using margins of 3.0 rem for buttons, toggles, etc. (when it should be 1.5rem). Do you know if this will be updated or does a bug need to be filed? thx
Flags: needinfo?(igonzaleznicolas)
Assignee | ||
Comment 26•12 years ago
|
||
Eric,
the bug is 809093 and he waiting for r+
Comment 27•12 years ago
|
||
Great Pavel! Anyway i think this bug (CostControl one) should be reviewed by Salva as is the Module owner of CostControl. (He come back from holidays today i guess).
Flags: needinfo?(igonzaleznicolas)
Comment 28•12 years ago
|
||
Salva,
Please confirm if you are reviewing the patch.
Flags: needinfo?(salva)
Comment 29•12 years ago
|
||
Reviewing this bug right now. Next time, please, change the reviewer in order to warn me or use the needinfo flag as you did it. Thank you.
Flags: needinfo?(salva)
Updated•12 years ago
|
Attachment #787060 -
Flags: review?(sjochimek) → review?(salva)
Comment 30•12 years ago
|
||
Comment on attachment 787060 [details]
Patch for Gaia repo
All looks OK to me. No code changes, very low risk patch and moderate improvement from a user's point of view. Thank you very much pivanov.
I agree on considering the limit threshold button as an action button and therefore to add the highlight. If you can not merge, ping me again.
Attachment #787060 -
Flags: review?(salva) → review+
Assignee | ||
Comment 31•12 years ago
|
||
Assignee | ||
Comment 32•12 years ago
|
||
Hey Salva,
do I need to land this on some other branch?
Flags: needinfo?(salva)
Comment 33•12 years ago
|
||
Only master, as it is marked as leo+ is will be eventually uplifted. If it can not be merged someone will ask you for help with the uplifting.
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?(salva)
Resolution: --- → FIXED
Assignee | ||
Comment 34•12 years ago
|
||
Thanks :) You rock \o/
Comment 35•12 years ago
|
||
Uplifted f1674bfb1340e2d384abf8e63e61c3e6c4e7d4a1 to:
v1-train: ae89eefc0a0a1e3a6edebc03af2f769991b1a4de
status-b2g18:
--- → fixed
Comment 36•12 years ago
|
||
v1.1.0hd: ae89eefc0a0a1e3a6edebc03af2f769991b1a4de
status-b2g-v1.1hd:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•