-
Notifications
You must be signed in to change notification settings - Fork 294
Improve the way attachment look #6660
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
Conversation
|
I found bug, when forwarding - attachments not load. I forgot about this moment. I'll fix it soon. |
12aa643 to
97b869d
Compare
st3iny
left a comment
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.
Tested and works so far. Overall, it already looks like the mockups. Good job!
General feedback
- Please rename
src/components/Attachment.vuetosrc/components/ComposerAttachment.vueto clearly differentiate the component from thread envelope attachments.
77feea5 to
996e4fe
Compare
st3iny
left a comment
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! One minor thing is left: Please remove font-weight: bold from the file name and we are ready to go.
Signed-off-by: Mikhail Sazanov <[email protected]>
c23bc83 to
258ea67
Compare
st3iny
left a comment
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.
All good! Thanks again.

Hello! I will be glad if my PR will be useful in some way. Resolves #5768

Of the possible nuances of implementation:
Vue.set(this, 'uploads', {})incomplete(), then due to the fact that it is impossible to correctly identify the necessary object from two identical ones, the progress bar is buggyThere is a parallel PR #6310 which is related to this. It may be worth using the same component to display the attachment.
If you have the opportunity, please take a look and give your comments. Thanks!
BTW the previous version was a bit in a different style =) :

And yes, maybe I overdid it a bit in the code (he shrugs his shoulders)
Signed-off-by: Mikhail Sazanov [email protected]