-
Notifications
You must be signed in to change notification settings - Fork 94
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
Migrate icons to vue material design icons #2439
Migrate icons to vue material design icons #2439
Conversation
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
improves performance and responsivity isolates responsability of image upload Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
…to-vue-material-design-icons
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
improve style/ux Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
…to-vue-material-design-icons
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
…to-vue-material-design-icons
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
…hub.com:nextcloud/text into 2345-migrate-icons-to-vue-material-design-icons
<EmojiPicker class="entry-action entry-action__emoji" | ||
:data-text-action-entry="actionEntry.key" | ||
@selectData="addEmoji"> | ||
<button v-tooltip="actionEntry.label" |
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.
We could switch to the @nextcloud/vue
button component here in order to avoid custom styling from https://github.com/nextcloud/text/pull/2439/files#diff-ad1f213fdd71dfbb7fd8df37ade6a17b7c16e70098218a4b76cce502ee857eabR18
That way the styles should also be the same as with the other icons in regards to opacity and focus style:
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 awesome 🚀
Just a small comment in regards to reusing a shared component instead of styling our own button, but not a blocker from my side.
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.
Very nice. I'll do a deeper review soon.
…to-vue-material-design-icons
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
No more comments, impressive changes. |
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
/compile |
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
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.
Really really nice! Amazing work :)
I only have 2 tiny changes:
- The icons for "Info" and "Warning" look very similar so I would suggest using the triangle icon alert instead
- For "Add link" we could use the icon link as I think it is more recognisable for adding links. I do remember there being a discussion about the icons for "Add link" and "Attachment" being too similar, though. @jancborchardt what do you think?
Other those 2 points it is super cool!
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
I've changed the icons @nimishavijay |
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
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 great now! 🚀
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.
👍
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
/compile |
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Summary
Changes MenuBar implementation to use Material Design Icons.
The previous implementation of MenuBar was very bounded with icon classes.
To migrate to MDI we have changed the implementation to a modern and performant approach.