Closed Bug 1584633 Opened 5 years ago Closed 5 years ago

[Protections Panel] Add hover/active states for TP toggle switch

Categories

(Firefox :: Site Identity, task, P3)

task

Tracking

()

VERIFIED FIXED
Firefox 71
Tracking Status
firefox70 --- verified
firefox71 --- verified

People

(Reporter: epang, Assigned: nhnt11)

References

Details

(Whiteboard: [privacy-panel][skyline])

Attachments

(1 file)

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!

Do we not want hover/active states for the disabled state?

Flags: needinfo?(epang)
Assignee: nobody → nhnt11
Status: NEW → ASSIGNED
Priority: -- → P3
Whiteboard: [privacy-panel][triage][skyline] → [privacy-panel][skyline]

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!

Flags: needinfo?(epang)
Pushed by nhnt11@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/d51db2d653da
Add hover/active states to the TP switch background. r=johannh
Summary: [Protections Panel] At states for switch → [Protections Panel] Add hover/active states for TP toggle switch
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 71

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:
Attachment #9097035 - Flags: approval-mozilla-beta?

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.

Attachment #9097035 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

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.

Status: RESOLVED → VERIFIED
Regressions: 1587042
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: