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

feat: customized input UI component to support password visibility to… #260

Merged

Conversation

cybertron15
Copy link
Contributor

@cybertron15 cybertron15 commented Oct 25, 2023

What does this PR do?

I customized the input UI component to support password visibility toggle feature in both LIGHT and DARK mode. So whenever we use input component and set type='password' we'll automatically get the input field with password visibility toggle feature.

Fixes #133
Fixes #138

Loom Video
Video

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • Chore (refactoring code, technical debt, workflow improvements)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How should this be tested?

you can test this by trying to sign in or signup and try to toggle the password visibility

Mandatory Tasks

  • Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.

Copy link

@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.

Good work @cybertron15 😃,

Thank you for raising the PR. Soon, the owner/maintainers will review it and offer feedback/suggestions.
Meanwhile if you enjoy contributing to the project, please consider giving it a star ⭐.

@github-actions
Copy link

github-actions bot commented Oct 25, 2023

Thank you for following the naming conventions! 🙏

Copy link
Collaborator

@hemantwasthere hemantwasthere left a comment

Choose a reason for hiding this comment

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

Can you make the eye icon a little small and please change it's color to match borders of input

@cybertron15
Copy link
Contributor Author

working on it

@cybertron15
Copy link
Contributor Author

made the requested changes @hemantwasthere

Copy link
Collaborator

@hemantwasthere hemantwasthere left a comment

Choose a reason for hiding this comment

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

LGTM for now!

@hemantwasthere hemantwasthere merged commit 3b51e08 into piyushgarg-dev:main Oct 28, 2023
2 checks passed
@cybertron15 cybertron15 deleted the feat/password-visibility-toggle branch October 28, 2023 12:11
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.

2 participants