Closed Bug 1174638 Opened 9 years ago Closed 9 years ago

[notification] Improve usability/performance of Airplane mode icon

Categories

(Firefox OS Graveyard :: Gaia::System::Status bar, Utility tray, Notification, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(feature-b2g:2.5+, tracking-b2g:+, b2g-master fixed)

RESOLVED FIXED
FxOS-S5 (21Aug)
feature-b2g 2.5+
tracking-b2g +
Tracking Status
b2g-master --- fixed

People

(Reporter: bobby.chien+bugzilla, Assigned: aknow)

References

()

Details

(Keywords: perf, Whiteboard: [perf-wanted])

User Story

Story:
Bad response (laggy) when user click icon.

Solution:
1. Investigating problem
2. Propose solution to Gaia/Gecko/Gonk
3. Improve usability/performance

Reference:
- UX Guideline: https://drive.google.com/a/mozilla.com/file/d/0Bx_3KVci6YdOM2dNX1NCUW8wZkU/view

Attachments

(1 file)

46 bytes, text/x-github-pull-request
gmarty
: review+
Details | Review
Improve bad response on airplane mode icon
tracking-b2g: --- → +
See Also: → 815166
User Story: (updated)
Summary: Improve usability/performance of Airplane mode icon → [notification] Improve usability/performance of Airplane mode icon
See Also: → 1174640
The observation of togging airplane mode from quick setting (notification tray):

off -> on
icon color change : white -> dim blue -> blue

on -> off
icon color change : blue -> white

The problem is that when switching off, a transitional state (dim blue) is lacked. That means the icon remains in blue for several seconds and then finally turn into white after the phone finish all the works. 

It seems to me that it's difficult for the users to make sure whether they indeed click the button because the color doesn't change immediately.

I would suggest to introduce a transition state when turning from on to off. That makes it symmetric and leads to a better user feeling.

Let me ni UX for the experts' ideas. If the proposal sounds good, what is a good presentation of that transitional state. Which color or ...? The presentation should indicate users that it's toggling now and prevent them click the icon again during the period.
Flags: needinfo?(tchen)
Eric worked on the quick settings. I'm sure his thought will be valuable here.
Flags: needinfo?(epang)
After I discussed with our designers, I found we have similar issue in the Settings app and we already have a solution for it. If you open the settings app and switch the airplane mode, it will apply a 50% transparency and disable the button during the period.

So, actually there is no dedicate color for transition mode, it changes based on original color and background color. I think we can make things consistent here. 

Proposal: 
off -> on
icon color change : white -> white + 50%transparency -> blue (icon is disable during the period)

on -> off
icon color change : blue -> blue + 50%transparency -> white (icon is disable during the period)
Flags: needinfo?(tchen)
I guess we might only need to adjust the style here
https://github.com/mozilla-b2g/gaia/blob/master/apps/system/style/quick_settings/quick_settings.css

Add the color setting for these two rules.
#quick-settings-airplane-mode[data-enabling]
#quick-settings-airplane-mode[data-disabling]

However, I am not familiar with gaia code and the patch process. I'd like to have someone to help and take the bug. Fred, could you help this bug since you know more about the settings?
Assignee: szchen → nobody
Flags: needinfo?(gasolin)
per offline discussion, add white(#fff) with 50% transparency for [data-disabling] state could change all icons disabling state.
Flags: needinfo?(gasolin)
Assignee: nobody → szchen
confirmed with UX, the policy should be

off -> on: white -> blue (50%) > blue
on -> off: blue -> white (50%) -> white
feature-b2g: --- → 2.5+
Target Milestone: --- → FxOS-S5 (21Aug)
Attached file PR 31251
Comment on attachment 8643546 [details] [review]
PR 31251

:gmarty,

Would you please review my pull request?

Per discussion with UX team, we would like to introduce a transient state and the icon color change when switching off airplane mode from quick setting. It could serves as good hit state to indicate the user that the icon is clicked.
Attachment #8643546 - Flags: review?(gmarty)
Comment on attachment 8643546 [details] [review]
PR 31251

LGTM. Many thanks!
Attachment #8643546 - Flags: review?(gmarty) → review+
Keywords: checkin-needed
Keywords: checkin-needed
Keywords: autoland
Keywords: autoland
Keywords: autoland
Autolander could not locate a review from a user within the suggested reviewer list. Either the patch author or the reviewer should be in the suggested reviewer list.
merged to master https://github.com/mozilla-b2g/gaia/commit/497fe3f938722b0aa49c93f975fad5d9ed3b0a82
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
See Also: → 1089502
Flags: needinfo?(epang)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: