Page MenuHomePhabricator

[landing] clean up header icons user experience
ClosedPublic

Authored by ginsu on May 18 2023, 10:11 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 12, 11:43 PM
Unknown Object (File)
Thu, Apr 11, 12:24 PM
Unknown Object (File)
Thu, Apr 11, 9:51 AM
Unknown Object (File)
Thu, Apr 11, 9:51 AM
Unknown Object (File)
Thu, Apr 11, 9:51 AM
Unknown Object (File)
Thu, Apr 11, 9:51 AM
Unknown Object (File)
Wed, Mar 27, 11:54 PM
Unknown Object (File)
Feb 26 2024, 5:54 PM
Subscribers

Details

Summary

After some feedback from D7835 regarding the hover effect of the hamburger menu icon, I created this diff to address that feedback and add the hover effect in for the hamburger menu icon only for non-mobile/non-touch devices. In addition to adding the hover effect to the hamburger menu icon, I cleaned up the hover effects for the other icons in the header on mobile/touch devices. While this is not the most necessary thing, since we are immediately redirecting the user to a different webpage after the user presses on an icon, I figured it would be good to do to keep the styling consistent among the icons in the header

Depends on D7839

Test Plan

Please watch the demo video to see how the header icons look and behave:

Using a non-mobile/non-touch device:

Using a mobile/touch device:

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

landing/header.css
62 ↗(On Diff #26655)

@atul and I discussed using this in D7763

89 ↗(On Diff #26655)

This media selector means that we will only show the hover effect on devices that can use hovering as an input from the user. This prevents the case where after the user taps on the icon, the hover effect still persists even after the user removes their finger from the screen

ginsu edited the test plan for this revision. (Show Details)

update breakpoint width

landing/header.css
61 ↗(On Diff #26660)

@atul and I discussed using this in D7763

88 ↗(On Diff #26660)

This media selector means that we will only show the hover effect on devices that can use hovering as an input from the user. This prevents the case where after the user taps on the icon, the hover effect still persists even after the user removes their finger from the screen

Animations look smooth (I think removing the star background improved "performance" a lot)

This revision is now accepted and ready to land.May 19 2023, 10:26 AM