-
Notifications
You must be signed in to change notification settings - Fork 377
fix(LoginPage): improve submit button UX #944
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
fix(LoginPage): improve submit button UX #944
Conversation
|
PatternFly-React preview: https://944-pr-patternfly-react-patternfly.surge.sh |
Pull Request Test Coverage Report for Build 3298
💛 - Coveralls |
| showError, | ||
| attributes | ||
| attributes, | ||
| isLoading |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perhaps isSubmitting ?
| {isLoading ? ( | ||
| <span> | ||
| {' '} | ||
| <Icon name="spinner" spin size="lg" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perhaps use the spinner component?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have one ? :O
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's a link to the PF3 react spinner (using your storybook preview url, btw)
15a06ea to
c7c04c3
Compare
jeff-phillips-18
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the propTypes should have comments to show up in the storybook descriptions. However, since none of the pre-existing loginPage components do, you can add them or add an issue to have them added in the future.
Please add tests for the LoginCardSubmitButton.
|
Thanks, I will polish the proptypes in another PR, |
|
@jeff-phillips-18 though it seems that |
|
I took a quick look, and don't see any issues from the html/css side. |

As part of the LoginPage implementation in Foreman
Adding loading spinner and disable mode to the login submit button.