[Protections Panel] Add hover/active states for TP toggle switch
Categories
(Firefox :: Site Identity, task, P3)
Tracking
()
People
(Reporter: epang, Assigned: nhnt11)
References
Details
(Whiteboard: [privacy-panel][skyline])
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
lizzard
:
approval-mozilla-beta+
|
Details | Review |
Add states for hover, pressed and focus for the switch in the TP panel.
States have been added to the spec here:
https://mozilla.invisionapp.com/d/main#/console/17296602/377223931/preview
Also, note that the blue for the ON state has is updated as well.
Please follow the behavious of the buttons at this link (except for the disabled states, please leave them as is.
https://design.firefox.com/photon/components/buttons.html#behaviours
Thanks!
Assignee | ||
Comment 1•5 years ago
|
||
Do we not want hover/active states for the disabled state?
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Reporter | ||
Comment 3•5 years ago
•
|
||
Yes, good catch. I've added in hover/pressed/focus states in for light and dark theme here:
https://mozilla.invisionapp.com/share/W6T7F6RMJ39#/377223931_Protection_Panel_Hover_States
Let me know if you have any questions. Thanks!
Pushed by nhnt11@gmail.com: https://hg.mozilla.org/integration/autoland/rev/d51db2d653da Add hover/active states to the TP switch background. r=johannh
Assignee | ||
Updated•5 years ago
|
Comment 5•5 years ago
|
||
bugherder |
Comment 6•5 years ago
|
||
bugherder |
Assignee | ||
Comment 7•5 years ago
|
||
Comment on attachment 9097035 [details]
Bug 1584633 - Add hover/active states to the TP switch background. r=johannh
Beta/Release Uplift Approval Request
- User impact if declined: No visual feedback when hovering/clicking the TP toggle switch in the protections panel.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Visual polish. Manually verified.
- String changes made/needed:
Updated•5 years ago
|
Comment 8•5 years ago
|
||
Comment on attachment 9097035 [details]
Bug 1584633 - Add hover/active states to the TP switch background. r=johannh
CSS fix, polish for skyline feature. OK for uplift for beta 12.
Comment 9•5 years ago
|
||
bugherder uplift |
Comment 10•5 years ago
|
||
I have verified that the hover/active states are according to the specs and they are correctly displayed. Tested on OS X 10.11.6, Windows 10 x64, Ubuntu 18.04 x64 with Beta 70.0b12 and Nightly 71.0a1.
Description
•