-
Notifications
You must be signed in to change notification settings - Fork 263
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
Make it possible to mark messages important #2796
Conversation
As icon, you can use the same icon that Gmail uses: https://material.io/resources/icons/?search=label_important&icon=label_important&style=baseline If a message is important, we can overlay it on the avatar just like the Favorite star. |
I can't find that icon in https://www.npmjs.com/package/vue-material-design-icons. What's its name? |
This comment has been minimized.
This comment has been minimized.
It’s on the link / in the url: |
This comment has been minimized.
This comment has been minimized.
Looking good! Could use some more opacity, and ideally a slight white border around the icon to separate it from the avatar – same for the favorites icon. But how do we do this so it works with the dark theme? Should I make it 2 icons each, white border for normal, dark border for dark theme? |
How does it work with the other icons? Don't we do this automagically? |
We currently do not do this visual separation for any icons which overlay other things. Cases where it’s similar:
cc @skjnldsv @juliushaertl is it possible to add this border programmatically, and adjust it based on the theme – maybe like the shadow and the black/white version? it should be a hard 1 or 2px border of the background color, just like the avatars in the Text app. |
you can fill the whole icon if you want, the border, don't think so. |
Now it looks like this, after the style fixup. Not related to this but should we maybe change also the star icon and add a border, or remove the border from the important one, just to have the consistency.. cc @jancborchardt |
Yep, already talked to @skjnldsv that of course the star icon should have the same style with border. He mentioned the standardization of list items to be a blocker for that – correct me if that was wrong @skjnldsv. :) |
Yep, this is coming from server, until we have a nice dedicated component in #nextcloud-vue, there is no proper way to do it (inline svg + css variables) |
I hope I'll be able to give some love to this once the call view in talk is done |
c12e44f
to
6f5890f
Compare
@nextcloud/mail please give this a test. The basic marking as important should just work. The automatic classification is very basic. Let's get this implementation in and see how it performs. Then we can improve it. |
|
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.
DB stuff looks good!
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
fce904a
to
74d5c73
Compare
O lala, we’re getting closer! :) Congrats everyone 🎉 |
For https://github.com/nextcloud/mail/projects/7
Fixes #2963