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

Make login screen input feels consistent #1993

Merged

Conversation

AMoo-Miki
Copy link
Contributor

@AMoo-Miki AMoo-Miki commented Jun 10, 2024

Description

Ran this by @kgcreative.

Turns

Screenshot 2024-06-10 at 1 49 08 PM

Into

Screenshot 2024-06-10 at 1 28 37 PM

Category

Bug fix

Why these changes are required?

What is the old behavior before changes and new behavior after changes?

Prior to #1980, we had

Screenshot 2024-06-10 at 1 50 55 PM

Check List

  • New functionality includes testing
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

The shading of the icons changed with opensearch-project#1980 and this removes the shading to make the fields look consistent.

Signed-off-by: Miki <miki@amazon.com>
Copy link

codecov bot commented Jun 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.61%. Comparing base (9abc57d) to head (579dbd1).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1993   +/-   ##
=======================================
  Coverage   70.61%   70.61%           
=======================================
  Files          97       97           
  Lines        2600     2600           
  Branches      387      380    -7     
=======================================
  Hits         1836     1836           
  Misses        668      668           
  Partials       96       96           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@RyanL1997 RyanL1997 left a comment

Choose a reason for hiding this comment

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

Hi @AMoo-Miki, and @kgcreative , thanks for the enhancement. Just one nit to double check: do we need to change back to the exact style that is prior to #1980? Or any style but same design for both username and password should be fine? In generally the change itself LGTM.

@RyanL1997 RyanL1997 added the backport 2.x backport to 2.x branch label Jun 10, 2024
@kgcreative
Copy link
Member

kgcreative commented Jun 10, 2024

Hi @RyanL1997 -- since the password field uses the input icon field instead of pre-pend, and the icon style is also consistent with search type fields, the style as Miki has updated it is internally consistent. Append makes sense for show/hide, but we made an explicit call here to move away from using both append and prepend for the login and password fields.

Copy link
Collaborator

@derek-ho derek-ho left a comment

Choose a reason for hiding this comment

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

Thanks

@derek-ho derek-ho merged commit 489ae54 into opensearch-project:main Jun 10, 2024
20 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 10, 2024
The shading of the icons changed with #1980 and this removes the shading to make the fields look consistent.

Signed-off-by: Miki <miki@amazon.com>
(cherry picked from commit 489ae54)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport to 2.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants