Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@AHarmlessPyro
Copy link
Contributor

Description

Refer to Issue #128
Some users feel that the User Profile can be improved. It is not clear to everyone that you can click on the profile photo to update account info.

Have added a pointer style cursor to profile. In addition, nested the profile avatar inside a container that highlights to a color (#1890ff, as used in other button style elements in UI).

Testing

Has been tested manually.

Documentation

N.A.

Checklist:

  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been merged
  • I have documented any changes if required in the docs.

@JBAhire
Copy link
Collaborator

JBAhire commented Oct 8, 2022

Hey @AHarmlessPyro , can you please add screenshot for this in PR description?

@AHarmlessPyro
Copy link
Contributor Author

Here you go @JBAhire
20221008_183405

Can't use a screenshot since cursor doesn't seem to be captured in mac os. This shows the highlight ring around the profile avatar along with the different cursor.

I've tried to mimic the visual behavior of facebook a bit here since that works well while still keeping the clickable area limited to the avatar itself.

@JBAhire
Copy link
Collaborator

JBAhire commented Oct 8, 2022

This looks good to me, @AHarmlessPyro ! Thanks for putting this together. @piyushroshan , please review.

Copy link
Collaborator

@JBAhire JBAhire left a comment

Choose a reason for hiding this comment

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

LGTM.

@piyushroshan piyushroshan merged commit 49f990e into OWASP:develop Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants