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(avatarChooser): Handle submit without selecting file #38190 #38191
fix(avatarChooser): Handle submit without selecting file #38190 #38191
Conversation
Gracefully handle when a user has not selected any file and tries to save Avatar. While it is handled in backend but also there is need to display error message at frontend. Fixes #38190
How about instead we make it so the button is just disabled if you haven't selected anything? |
Now save avatar button will disabled if user has not selected any file. |
Gracefully handle when a user has not selected any file and tries to save Avatar. While it is handled in backend but also there is need to disable save button at frontend. 8038494#r968967137 Fixes #38190
/gcbrun |
This looks good, let me make sure all the test are passing and I think we're good to go! |
@evanpurkhiser looks like merging is blocked, can you please suggest if something pending from my side ? |
/gcbrun |
@evanpurkhiser , can you please merge if everything is ok. |
Sorry again for the delay! Will get this merged today! |
/gcbrun |
Gracefully handle when a user has not selected any file and tries to save Avatar.
While it is handled in backend but also there is need to display error message at frontend.
Fixes #38190
Legal Boilerplate
Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.