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

CustomInput - warn option #108

Merged
merged 7 commits into from
Oct 18, 2022
Merged

CustomInput - warn option #108

merged 7 commits into from
Oct 18, 2022

Conversation

Noxdor
Copy link
Member

@Noxdor Noxdor commented Oct 17, 2022

Description

This PR fixes the issue that there exist old or generally uncommon login names, whose setup right now is blocked by our regex on the input field. This PR fixes this by implementing a warn prop for the Input custom component that still marks the field as valid, even if the regex isn't fulfilled. The PR adjusts the style for warn Inputs to show the color themes warning color and uses the phosphor warning icon. It also adds the new prop to the uname input field in Onboarding and setting page.

image

References

Referenced Issue:
#107 (Closed by this)

Type of change

  • Bug fix (non-breaking change which fixes a bug)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that might cause existing functionality to not work as expected)

Further info

  • This change requires a documentation update
  • I updated the documentation accordingly, if required
  • I commented my code where its useful

Testing

We have 1500+ Users. Please test your changes thoroughly.

  • Tested my changes on Firefox
  • Tested my changes on Chromium-Based-Browsers
  • Successfully run npm run test locally

Additional Information

npm run test and npm run lint still error for me, is that for you guys @OliEfr @C0ntroller the case too?

… when

the regex is not valid. Uses it for the username to allow for uncommon usernames

that are currently not accounted for with teh regex.
@Noxdor Noxdor requested a review from a team as a code owner October 17, 2022 12:06
@Noxdor Noxdor requested a review from OliEfr October 17, 2022 12:06
@Noxdor Noxdor self-assigned this Oct 17, 2022
@Noxdor Noxdor requested a review from C0ntroller October 17, 2022 12:06
@ghost
Copy link

ghost commented Oct 17, 2022

👇 Click on the image for a new way to code review
  • Make big changes easier — review code in small groups of related files

  • Know where to start — see the whole change at a glance

  • Take a code tour — explore the change with an interactive tour

  • Make comments and review — all fully sync’ed with github

    Try it now!

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map Legend

@OliEfr OliEfr merged commit cf4b593 into main Oct 18, 2022
@OliEfr OliEfr deleted the CustomLogin/WarnOption branch October 2, 2024 15:09
@OliEfr OliEfr restored the CustomLogin/WarnOption branch October 2, 2024 15:09
@OliEfr OliEfr deleted the CustomLogin/WarnOption branch October 2, 2024 15:09
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