Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sub menu for "Moments" doesn't disappear as intended #595

Closed
andy5995 opened this issue Sep 5, 2017 · 15 comments
Closed

sub menu for "Moments" doesn't disappear as intended #595

andy5995 opened this issue Sep 5, 2017 · 15 comments

Comments

@andy5995
Copy link
Contributor

andy5995 commented Sep 5, 2017

Possible (very) minor bug

Should the sub menu for "Moments' disappear when the mouse is moved to a different top-level menu item?

I see the links for "Categories" and "Moods" (under the top-level "Moments" by default) even after the mouse is moved to different top-level menu items. Those two links disappear only after the mouse cursor is moved outside the navigation panel.

I'm using Firefox 55.0.3 on Debian Linux 9.

@julianguyen
Copy link
Member

This is what the experiences looks like for me:

ifmenav

Hovering away from the entire navigation menu, including the expanded menu with "Categories" and "Moods" causes the menu to close.

So the behaviour you're describing is intended, but we're totally open to changing it if it's not intuitive. Thoughts? :D

@andy5995
Copy link
Contributor Author

andy5995 commented Sep 5, 2017 via email

@julianguyen
Copy link
Member

Ohhh I see what you're saying!

ifmenav

Ooh yes, this would be a bug.

Intended Behaviour

  1. However over Moments link
  2. Expanded menu with Categories and Moods appears
  3. Hovering away from the navigation menu closes it OR hovering over another navigation menu item other than Moments closes it

Would you be interested in fixing this @andy5995? :D

@julianguyen julianguyen added the bug label Sep 5, 2017
@andy5995
Copy link
Contributor Author

andy5995 commented Sep 5, 2017

I'll pass on this one, Julia. I'm not too good with CSS.

@baohouse
Copy link
Contributor

baohouse commented Sep 6, 2017

I had hoped this be a trivial fix, but an initial glance at header.js made me cry at how WET it is (i.e. not DRY). Let me take a stab at this.

@HashNotAdam
Copy link
Collaborator

@baohouse literally? 🔪 🔪 🔪

@baohouse
Copy link
Contributor

baohouse commented Sep 6, 2017

screen shot 2017-09-05 at 5 57 12 pm 2

I'm guessing this shouldn't be possible either.

@julianguyen
Copy link
Member

@baohouse Yeah that shouldn't be possible. Definitely a bug lol

@HashNotAdam
Copy link
Collaborator

@julianguyen @baohouse can I just take a moment to step back?

To be very honest, I've never liked that menu; not only does it create a jarring experience for me but I have concerns that it could create anxiety for people who suffer from certain cognitive disabilities.

What about throwing out the JavaScript completely, use CSS, and allow the subitems to be positioned over the body so the content doesn't move up and down?

@julianguyen
Copy link
Member

Feel free to redesign it yeeeeee.

@ghost
Copy link

ghost commented Sep 22, 2017

oops! I just sent in a suggestion about this with my google forms submission. glad to see it's being worked on! (sorry for a trivial little comment!)

@andy5995
Copy link
Contributor Author

It's the thought that counts, @zx-wolftaur ; Thanks!

@baohouse
Copy link
Contributor

baohouse commented Oct 5, 2017

So now I wonder how #691 is going to affect this issue. I could churn out a rewrite of the header as a React component based on the existing look, but given that this issue really has a low impact (it's not a terrible experience), should we focus on the app redesign efforts instead?

@zawmoelwin
Copy link
Collaborator

If the redesign will take a while, I am open to be assigned on this issue.

@baohouse
Copy link
Contributor

@zawmoelwin If it helps with getting acclimated to the new React codebase, sure, you can work on it. There's a Logo.jsx that you can use as a starting point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants