Closed Bug 937970 Opened 12 years ago Closed 12 years ago

[Settings] [Language] Sample Format on top of language selector button seems inappropriate

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: harly, Assigned: mihai)

References

Details

Attachments

(3 files, 1 obsolete file)

Attached image language.png
Advise to move Sample format below the language selector button.
Blocks: 936394
Assignee: nobody → mihai
Attached image Screenshot after patch
This is how the Languages panel from Settings will look like after the patch is applied.
Awesome, it is much better this way as the user can select the language first and then sees the differences in sample format between different languages. Thanks (In reply to Mihai Cirlanaru [:mihai][:mcirlanaru] from comment #2) > Created attachment 831923 [details] > Screenshot after patch > > This is how the Languages panel from Settings will look like after the patch > is applied.
Comment on attachment 831922 [details] Pull Request #13678 - Move 'Sample Format' section below language picker Thanks for the patch! r=me.
Attachment #831922 - Flags: review?(achen) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
reopen, i had to revert this checkin in https://github.com/mozilla-b2g/gaia/commit/ec4d2cb31459ad6e7a4ba7fd3bb49177a110d1d9 since it was breaking Gaia unit tests
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Hi Mihai, with the HTML change you broke a locator in the test's app object. The locator is here: https://github.com/mozilla-b2g/gaia/blob/master/tests/python/gaia-ui-tests/gaiatest/apps/settings/regions/language.py#L11 You can re-create a pull with a repaired locator and only merge when Travis is Green for gaia-ui-tests.
(In reply to Zac C (:zac) from comment #7) > Hi Mihai, with the HTML change you broke a locator in the test's app object. > The locator is here: > https://github.com/mozilla-b2g/gaia/blob/master/tests/python/gaia-ui-tests/ > gaiatest/apps/settings/regions/language.py#L11 > > You can re-create a pull with a repaired locator and only merge when Travis > is Green for gaia-ui-tests. Ohhh, sorry about that! Will send a new PR that updates the locator. Thanks for pointing it out!
Yeah sorry, the existing locator is a bit crap. an ID on one of the tags there would be very useful and you wouldn't have his this issue :(
New pull request that takes care of updating the UI test as well. Let me know if it looks good.
Attachment #831922 - Attachment is obsolete: true
Attachment #832970 - Flags: review?(arthur.chen)
Attachment #832970 - Flags: feedback?(zcampbell)
Comment on attachment 832970 [details] Pull Request #13726 - Move 'Sample Format' section below language picker f+ from me. Green Travis++
Attachment #832970 - Flags: feedback?(zcampbell) → feedback+
Comment on attachment 832970 [details] Pull Request #13726 - Move 'Sample Format' section below language picker r=me. Thanks!
Attachment #832970 - Flags: review?(arthur.chen) → review+
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
Comment on attachment 832970 [details] Pull Request #13726 - Move 'Sample Format' section below language picker NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings. [Approval Request Comment] [Bug caused by] (feature/regressing bug #): Settings > Language layout [User impact] if declined: Low/None [Testing completed]: Yes [Risk to taking this patch] (and alternatives if risky): Low/None (moved one section below the other) [String changes made]: No
Attachment #832970 - Flags: approval-gaia-v1.2?
Attachment #832970 - Flags: approval-gaia-v1.2?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: