Use prefers-reduced-motion media query for the tracking protection shield icon animation
Categories
(Firefox :: Protections UI, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: dao, Assigned: dao)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
FWIW, when looking into this I could hardly see the animation. It's so subtle that maybe we should just remove it at this point?
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #0)
FWIW, when looking into this I could hardly see the animation. It's so subtle that maybe we should just remove it at this point?
What do you think?
Comment 3•5 years ago
|
||
You're right that it is subtle but I also feel like that was the idea behind it. Needinfo Eric on the question whether we should remove it, though tbh I'm not sure if there's an urgency to do that on engineering side. Do we have evidence that it's causing performance issues, for example?
Assignee | ||
Comment 4•5 years ago
|
||
(In reply to Johann Hofmann [:johannh] from comment #3)
You're right that it is subtle but I also feel like that was the idea behind it.
From what I remember the original animation's intent was to draw attention, i.e. it was decidedly not subtle. It seems like this isn't the motivation anymore. Would you have added an animation in the first place if it wasn't for drawing attention?
Needinfo Eric on the question whether we should remove it, though tbh I'm not sure if there's an urgency to do that on engineering side. Do we have evidence that it's causing performance issues, for example?
It would presumably be the cheaper way forward here. You raised quite a few issues in phabricator (some of which I'm not sure how my patch would have caused them, so they might be preexisting issues?), and since this was just a little side project for me, I'm not sure I'll have time to dive deep into the tracking protection code and finish this. I'm still going to remove other toolkit.cosmeticAnimations.enabled
consumers, so this might end up being the only one left.
Assignee | ||
Comment 5•5 years ago
|
||
I've updated the patch. I think you should still consider removing this animation, but that can happen independently from this bug (assuming my updated patch is basically okay).
Comment 6•5 years ago
|
||
Yeah, let's consider that in a follow-up. To be clear I'm not particularly attached to the animation, but I'd like to consider it together with UX.
Comment 8•5 years ago
|
||
Backed out changeset 49365332dd15 (Bug 1630918) for causing failures on browser_protectionsUI_animation_2.js CLOSED TREE
Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&selectedTaskRun=Yl3BHby4TpqzjTjGb7XHXQ-0&revision=49365332dd15ff20e9238107c9da16f67685cf12&searchStr=browser-chrome
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=299809513&repo=autoland&lineNumber=3740
Backout: https://hg.mozilla.org/integration/autoland/rev/a0a5a03791398797a309f7f7c9a1bf8c3e9c5a0e
Assignee | ||
Updated•5 years ago
|
Comment 10•5 years ago
|
||
bugherder |
Description
•