ECS193-KIBA / SMASH-2.0

0 stars 0 forks source link

Handle unexpected file extension on select file #107

Closed UnHumbleBen closed 2 years ago

UnHumbleBen commented 2 years ago

Added an error box to be display when file uploaded to Select File button has unexpected file extension.

image

Most importantly, the error handling maintains a steady state. If a file was previously being used, then that file will continue to be used. Error message is cleared whenever a stage is selected so that the error message does not disrupt the previously clean file workflow.