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

[IMPROVE] The icons in the message box have a transition of color change and zoom on hovering #21106

Closed
wants to merge 8 commits into from

Conversation

PiyushDhamane
Copy link

Proposed changes (including videos or screenshots)

image
image
image
Fixes ####

Issue(s)

#21070 fixed

Steps to test or reproduce

Further comments

@PiyushDhamane
Copy link
Author

@Sing-Li please have a look at this!
Hopefully, it's improving the user experience a bit!

@aditya-mitra
Copy link
Contributor

aditya-mitra commented Mar 14, 2021

@PiyushDhamane You don't need to make changes in the package-lock.json file.
You can remove the changes in that file from git and then push your changes again.

@PiyushDhamane
Copy link
Author

@aditya-mitra please check

@yash-rajpal
Copy link
Member

yash-rajpal commented Mar 15, 2021

@PiyushDhamane you have deleted package-lock.json and commited the change.

While adding files to commit, please don't use git add ., instead manually add only those files that contain important changes for the pr.

Now to correct this mistake, copy paste entire package-lock.json from develop branch and include this in commit, or again do meteor npm install and commit this file. Make sure this file should not contain any changes with respect to develop branch.

@PiyushDhamane
Copy link
Author

@yash-rajpal thank you for the elaborate explanation. I've made the commit as directed. Please check

&:hover,
&:focus,
&.active {
color: red;
Copy link
Member

Choose a reason for hiding this comment

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

Please don't use a static red color, this doesn't go well with the design. Also we have dynamic colors, I mean, user can change colors of UI elements, so we should not provide static color values, instead do it like this. The variable message-box-markdown-hover-color contains the color selected by user.

&:focus,
&.active {
color: red;
transform: scale(1.5);
Copy link
Member

Choose a reason for hiding this comment

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

I don't think its a good idea to use scaling property, It doesn't go well with UI/UX. This is just my opinion. Other places we are doing linear transform, maybe we can do something like that.

Copy link
Author

Choose a reason for hiding this comment

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

We can use linear transform too, but here we would like to keep the time for transition very small, so that's why I used scaling property.

Copy link
Author

Choose a reason for hiding this comment

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

Hey @yash-rajpal,
So any other transition except zoom you have in mind? I'll just do it and make the final commit

@@ -37432,4 +37432,4 @@
"dev": true
}
}
}
}
Copy link
Member

Choose a reason for hiding this comment

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

There are still some package-lock.json changes, please remove these changes.

Copy link
Author

Choose a reason for hiding this comment

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

@yash-rajpal I'm not sure why is this change shown even though I didn't commit it. If you see it says, the brace deleted from 37435 and added again to the same line.
This is a problem I faced in my other commit too.

@CLAassistant
Copy link

CLAassistant commented Dec 17, 2021

CLA assistant check
All committers have signed the CLA.

@ggazzo ggazzo closed this Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants