Closed Bug 1089572 Opened 10 years ago Closed 10 years ago

[Settings] Making the style of the menu item consistent

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: arthurcc, Assigned: arthurcc)

Details

Attachments

(1 file)

Some of the clickable menu items do not have an arrow icon and confuse users. Some of them also lack of highlight. We should make the style of all menu items consistent.
Hi EJ, the patch basically replace the DOM of the menu items to as the following:
```
  <li>
    <a class="menu-item" href="#">
      <span></span>
    </a>
  </li>
```
Note that all items were with the href attribute to enable the highlight effect.
Could you help review the patch? Thanks.
Attachment #8511901 - Flags: review?(ejchen)
Comment on attachment 8511901 [details]
Link to https://github.com/mozilla-b2g/gaia/pull/25536

Just found an interesting bug in this patch, plz check my comment on GitHub ! Thanks Arthur.
Attachment #8511901 - Flags: review?(ejchen)
Comment on attachment 8511901 [details]
Link to https://github.com/mozilla-b2g/gaia/pull/25536

I've addressed the comments. Would you mind review it again? Thanks.
Attachment #8511901 - Flags: review?(ejchen)
Comment on attachment 8511901 [details]
Link to https://github.com/mozilla-b2g/gaia/pull/25536

It works awesome ! r+

thanks Arthur.
Attachment #8511901 - Flags: review?(ejchen) → review+
Comment on attachment 8511901 [details]
Link to https://github.com/mozilla-b2g/gaia/pull/25536

Jenny, not sure whether the review should be done by you. Feel free to redirect to the others if needed. Thanks!
Attachment #8511901 - Flags: ui-review?(jelee)
Comment on attachment 8511901 [details]
Link to https://github.com/mozilla-b2g/gaia/pull/25536

Zac, would you help review the change that only updates the selector? Thanks!
Attachment #8511901 - Flags: review?(zcampbell)
Comment on attachment 8511901 [details]
Link to https://github.com/mozilla-b2g/gaia/pull/25536

Hi Arthur, 
Thanks for the great work ;) Per offline discussion, there are a few screens that also needs fixing.

Also adding Helen for ui-review, thanks Helen!
Attachment #8511901 - Flags: ui-review?(jelee) → ui-review?(hhuang)
Comment on attachment 8511901 [details]
Link to https://github.com/mozilla-b2g/gaia/pull/25536

EJ, could you help review the newly added commits addressing the issues reported from Jenny? Thanks.
Attachment #8511901 - Flags: review?(ejchen)
Comment on attachment 8511901 [details]
Link to https://github.com/mozilla-b2g/gaia/pull/25536

r+
Attachment #8511901 - Flags: review?(zcampbell) → review+
Comment on attachment 8511901 [details]
Link to https://github.com/mozilla-b2g/gaia/pull/25536

Looks good! Thanks for the implement.
Attachment #8511901 - Flags: ui-review?(hhuang) → ui-review+
Comment on attachment 8511901 [details]
Link to https://github.com/mozilla-b2g/gaia/pull/25536

Noticed another 4 critical panels are broken in this patch, please check my comment on Github, Arthur.

Thanks !
Attachment #8511901 - Flags: review?(ejchen)
Attachment #8511901 - Flags: review+
Comment on attachment 8511901 [details]
Link to https://github.com/mozilla-b2g/gaia/pull/25536

I ended up restoring the handling of "data-href" as it requires more change than I expected. Several call settings panels rely one "_openDialog" in |panel_utils.js| to save the changes to the database. Let's refactor this part when dialog manager lands. Please help review the patch again, thanks!
Attachment #8511901 - Flags: review?(ejchen)
Comment on attachment 8511901 [details]
Link to https://github.com/mozilla-b2g/gaia/pull/25536

r+ !! Thanks Arthur, we will fix the data-src problem when settings dialog got finished.
Attachment #8511901 - Flags: review?(ejchen) → review+
Thanks.

master: 1af362224eb9ba09f13ad9c363e1c6fff6044431
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
It breaks simcard manager.

revert: 81dcb3c3f900014975a3b5e9b4645fa58c36bc4b
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
master: 338e5698029ab015c4e1f45f5a9b948882f2a1d8
Status: REOPENED → RESOLVED
Closed: 10 years ago10 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: