Open mischacolley opened 4 years ago
@kbardi keen for you to see what you can do to improve this stuff
- Add validation / prevent submit if supporting docs haven't been uploaded // Right now you can actually submit the form without adding anything at all, including name etc fields
About this, I'm adding a validation in handleSubmit, but we don't have a toastr or snackbar, so I'm not sure how to display the error...I created a PR with the validation, but I added an error text without styles. PR https://github.com/aimementoring/website/pull/207
Also I added the loading.
I saw mobile, but I didn't have time to fix that...And also it is not a programmed behaviour some of the things you experienced, so I'm not sure how to fix them
And some things are related to the component Bruno and David built with Uppy, so maybe it is a good idea to work with them in those issues on mobile
Hey @kbardi thanks for starting on this.
Re the mobile stuff. Looks like an implementation issues v a functionality issue. I just had a look at it on the portal and its functioning how I expect there. See this vid. Sorry no audio again. Essentially the model is kept open while the file uploads where as on the website as soon as you select the file the model closes and you have to re-click the upload button and then click upload file. Also on the portal I'm able to click the + to add a second file etc.
Re notifications. Looks like like we need to revisit the idea of adding toast etc to the website re my comments here https://github.com/aimementoring/blueprint/issues/132
@kbardi can you check back in on this one please 🙏🏻 The unticked checkbox items still look like they are issues. If you want to close this and break them out into their own issues.
@kbardi @rin still more to do here?
Will look into this!
So, two of the three points actually work fine for me (I can add a recording if needed), but I'm struggling to do anything about the scroll to top.
@kbardi Can I get your eyes and brains on this? https://www.loom.com/share/c3a2b1d2f6d04ab79a3fa7e7652ce533
Need to:
Everything is good on desktop but submitting documents on mobile is clunky. See iOS recording:
Essentially need to keep focus on the file uploads section and reduce clicks / indicate status of upload to user. You shouldn't need to click twice.