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

Hamburger shows/hides menu on mobile #45

Merged
merged 6 commits into from
May 12, 2021

Conversation

antonyharfield
Copy link
Member

✅ DoD

🛑 Problems

  • Not sure if I did the right thing with the right button padding?

📝 Summary

  • Hamburger shows/hides menu on mobile
  • "Add an event" right nav bar button is compressed on mobile
  • "Add an event" has subtler background normally, and crazy background on hover

💡 More ideas

I thought about changing it to be "Share an event", but we already have quite a few different words ("add", "create", "host", "suggest"). We might want to tidy our verbiage! Is that the right word? :p

📸 Screenshots

Screenshot 2021-05-11 at 08 19 34

@charles-allen
Copy link
Member

  1. It's not clear to me if @Ref from vue-property-decorator is the "Vue-3" way to manage refs. There was a lot of discussion about @Prop which I consider semi-deprecated (because that design cannot support types). I don't know how this extends to @Ref (if at all); if it works for now, I guess let's do it; and just keep it in mind.

  2. I don't know if there's precedent on iOS. The closest to this on Android is a navigation drawer. If you click a menu item, it closes the drawer too. I think on balance I slightly prefer that vs keeping the drawer open. It's a quick fix, so I'll commit it and we can revert if we decide not to go that way.

  3. I'm also not sure about the lingering focus ring on the hamburger after closing the menu & mousing away - I think this is also an easy fix; so let's try it :)

    Screen Shot 2021-05-11 at 22 04 21

@charles-allen
Copy link
Member

charles-allen commented May 11, 2021

I was seeing warnings related to vue-property-decorator (which I think mean vue-property-decorator & vue-class-component aren't in sync):

Screen Shot 2021-05-11 at 22 38 42

I've updated to vue-property-decorator@next, which seems to have sync'd the 2 libs & fixed the warnings. Everything still seems to work :)

Copy link
Member

@charles-allen charles-allen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I made a couple of tweaks that I prefer; but we can revert if necessary.

noice

@antonyharfield
Copy link
Member Author

Noice tweaks!

@antonyharfield antonyharfield merged commit 7d5c5b1 into develop May 12, 2021
@antonyharfield antonyharfield deleted the bug/burger-and-top-menu branch May 12, 2021 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Home] Fix burger button
2 participants