-
-
Notifications
You must be signed in to change notification settings - Fork 321
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
Add "More Menu" to Toolbar #19
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good from what I can see at the moment, I do see that some colors are hard coded into the styles but I think that is left over from when I added theme support, I don't expect you to fix this but if you would like to feel free to. I used this resource for the theme information.
src/components/Utility.tsx
Outdated
|
||
let MenuItem = ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you move this (and any other related things) to a new Menu component instead of having it right in the Utility component? It would make the code easier to read for new people if this is separated a bit more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
The context menu was also restyled to be more consistent.
Before:
After:
Many options are grayed out because they have not been implemented