-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[LoadingButton] Change LoadingButton prop pending to loading #23012
Conversation
I'm not sure the related issue had reached enough maturity to go to the implementation phase. |
This comment has been minimized.
This comment has been minimized.
The issue is marked as "good to take"... |
@mbrookes True, why I reopened it. Do we want to move forward with this direction? |
🍿 |
The pull request has been updated, the unit tests were fixed. The tests that were failing because the original code had an incorrect casing in these props: endIconLoadingEnd, startIconLoadingStart, and labelLoadingCenter. |
OK, re-reading the linked issue a couple of weeks later, I think that we should go all-in on loading. The button isn't in a pending state that's the application or some task. However, the button displays a loader. So I think that that loading, even if not perfect is better, it better describes the state or the button (render a loader) which I think we should optimize for. |
However, we didn't receive a clear approval in the team for going forward so closing both PR and issue. "No is temporary, yes is forever in open-source". @guillermaster thanks for spending time on it! |
This pull request renames the pending prop of the LoadingButton component to loading, as per issue
Closes #21593