Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

added hover effects to the card #3893

Merged
merged 3 commits into from
Feb 7, 2023
Merged

added hover effects to the card #3893

merged 3 commits into from
Feb 7, 2023

Conversation

whitedevil-glitch
Copy link
Contributor

@whitedevil-glitch whitedevil-glitch commented Jan 24, 2023

Added shadows hover effects (mainly scaling up the cards), removed the hover border color, and made the profile username font a bit light and color black

Fixes Issue

Changes proposed

added shadows,
added hover effect,
changed profile username text on the card to light and black

Check List (Check all the applicable boxes)

  • My code follows the code style of this project.
  • My change requires changes to the documentation.
  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • This PR does not contain plagiarized content.
  • The title of my pull request is a short description of the requested changes.

Screenshots

image

It's a hover effect so moving the cursor pointer on it will show you the changes, although you may see the change I made in the profile username text

Note to reviewers

Made these changes to make the UI better than before.

The suggestion is to remove the orange box containing profile view numbers which are on the top right of the profile picture. Instead what you can do is:
suggestion

mainly added shadows, hover effects (mainly scaling up the cards), removed the hover border color, and made the profile username font a bit light and color to black
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

It's great having you contribute to this project

Welcome to the community 🤓

If you would like to continue contributing to open source and would like to do it with an awesome inclusive community, you should join our Discord chat and our GitHub Organisation - we help and encourage each other to contribute to open source little and often 🤓 . Any questions let us know.

@github-actions github-actions bot added the small Pull request with less than 10 changed lines label Jan 24, 2023
@github-actions
Copy link
Contributor

Welcome @whitedevil-glitch! Thank you so much for your first pull request!

Copy link
Contributor

@stevenovak123 stevenovak123 left a comment

Choose a reason for hiding this comment

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

Please provide a video of the hover transition. Also @eddiejaoude what do you think of the font color. I dont see much of difference between the two

@whitedevil-glitch
Copy link
Contributor Author

here's the video, if needed we can add colors to hover transition or more shadow-drops

screen-capture.mp4

Copy link
Contributor

@ManishBisht777 ManishBisht777 left a comment

Choose a reason for hiding this comment

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

The original one looks good it me as there is a clear separation between cards also the UserName is of different color so it stood out from the rest of the information.

The views on the bottom would be a little problematic as it is giving less space for the description of the profile

@whitedevil-glitch
Copy link
Contributor Author

whitedevil-glitch commented Jan 24, 2023

so, we can increase the font weight for UserName instead of using ''text-bold''... which will make the heading separate from the description down below and the orange color (all over the website) can be lighter for eg. #F0A500 or RGB(240, 165, 0)
Is the hover transition fine?

@whitedevil-glitch
Copy link
Contributor Author

that less space for description can be solved by adding an anchor tag of more... If a user wants to read the remaining part of the description he can click on the more hyperlink which will redirect to the profile link of the user. In this way, the user will also get more views on his profile.

@stevenovak123
Copy link
Contributor

I'd just wait and let Eddie or the maintainers make a call on this!. Thanks for the contribution <3

@whitedevil-glitch
Copy link
Contributor Author

Okay! Cool

@eddiejaoude
Copy link
Member

I think the orange border looks great also 👍 maybe try with the orange border and the new effects and see how it looks?

@whitedevil-glitch
Copy link
Contributor Author

whitedevil-glitch commented Jan 27, 2023

@eddiejaoude Oh! I made the change! I think it looks good. Here's the video:

Untitled.mp4

should I change the code? and it looks slow in the video(because of compression) but it's good when tested on website

@ManishBisht777
Copy link
Contributor

@eddiejaoude Oh! I made the change! I think it looks good. Here's the video:

Untitled.mp4
should I change the code? and it looks slow in the video(because of compression) but it's good when tested on website

looks good to me :)

stevenovak123
stevenovak123 previously approved these changes Jan 28, 2023
Copy link
Contributor

@stevenovak123 stevenovak123 left a comment

Choose a reason for hiding this comment

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

lgtm

@whitedevil-glitch
Copy link
Contributor Author

whitedevil-glitch commented Jan 28, 2023

@ManishBisht777 @stevenovak123 thank you!! when it will be merged? 😃

@stevenovak123
Copy link
Contributor

Hey. One of the maintainers will look into it and take a decision

@whitedevil-glitch
Copy link
Contributor Author

Okay, got it! 👍🏼

@whitedevil-glitch
Copy link
Contributor Author

@eddiejaoude can you please check the changes and merge if it's looking good?

@stevenovak123
Copy link
Contributor

Hey. Give it a few days before mentioning. A good period would be 7 days, post that you can reach out to the maintainers on the discord server

@whitedevil-glitch
Copy link
Contributor Author

Hey. Give it a few days before mentioning. A good period would be 7 days, post that you can reach out to the maintainers on the discord server

Oh okay, thanks for the info.

Copy link
Member

@eddiejaoude eddiejaoude left a comment

Choose a reason for hiding this comment

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

Looks good, great collaboration 👍

Copy link
Member

@eddiejaoude eddiejaoude left a comment

Choose a reason for hiding this comment

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

There is a falling GitHub Action for accessibility, please fix so we can merge?

@whitedevil-glitch
Copy link
Contributor Author

@stevenovak123 I just committed a change to the profile username... the username will be underlined once hovered on it. what do you think about that?

@stevenovak123
Copy link
Contributor

Imo it is a good addition, I'm just a person that helps maintainers review. Its the maintainers call if its a good addition to be merged into repo. So make the contribution and wait until a maintainer takes a decision

@whitedevil-glitch
Copy link
Contributor Author

There is a falling GitHub Action for accessibility, please fix so we can merge?

done. 👍🏼

@eddiejaoude
Copy link
Member

Please can you add a screenshot of the latest changes

@whitedevil-glitch
Copy link
Contributor Author

Please can you add a screenshot of the latest changes

the latest change was the bold black username and underline transition when hovering

image

and hover effect can be seen in the video I sent earlier in the conversation :)

Copy link
Member

@eddiejaoude eddiejaoude left a comment

Choose a reason for hiding this comment

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

Thank you 👍

Next time please raise an issue first so it can be triaged by the maintainers before raising a pull request

@eddiejaoude eddiejaoude changed the base branch from main to usercard-hover February 7, 2023 06:41
@eddiejaoude eddiejaoude merged commit bda0caf into EddieHubCommunity:usercard-hover Feb 7, 2023
eddiejaoude added a commit that referenced this pull request Feb 7, 2023
* added hover effects to the card

mainly added shadows, hover effects (mainly scaling up the cards), removed the hover border color, and made the profile username font a bit light and color to black

* added orange border to hover

* added underline to header while hovering the card

Co-authored-by: Sai-Shankar <saishankar2803@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
small Pull request with less than 10 changed lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants