-
Notifications
You must be signed in to change notification settings - Fork 0
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
PLT-7591: Improved Auditor Report Upload #19
Conversation
Note: we need to integrate changes from PR #8 here once that is approved/merged |
Love the new design. Error messagesOk, I don't know why, but at first, the checks for the values were not happening until I clicked on Send report. And after that it would only show me one field that was wrong. I fixed them in the order requested:
And then, it showed all the other field with wrong values, and will display live the error messages of everything I filled wrong. Wrong RegexI don't get from the code why this Website value (example.com or www.example.com) is not ok for the regex: |
Fixed! |
Added Auditor Report Upload fields prefill with user profile |
@EehMauro , Here are my thoughts - Have you kept this in mind in this PR, otherwise what is your suggestion. We need to discuss over this, to reduce redundancy and make this simpler. |
@EehMauro , Also I see you are not making use of schema validators like yup. Is there a particular reason why? Also, do you advocate in removing them throughout the app? |
PR #8 was merged after a lot of integration testing / bug fixes / schema corrections 😆 |
Hi @amnambiar, I can merge #20 here so I can re-use the form you made and the yup validations |
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.
Two more things but I don't know where to point it into the code but:
- The checks on the values don't start until I click a first time on "Send report"
- If I put a too long "Script Hash" like :
01234567890123456789012345678901234567890123456789012345678901234567890012345678901234567890123456789012345678901234567890123456789012345678900123456789012345678901234567890123456789012345678901234567890123456789001234567890123456789012345678901234567890123456789012345678901234567890
it never shows on the form that it is wrong but I get an error when clicking on "Send report"
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.
Sorry, Missed this during the first review
@EehMauro bugs/changes to be addressed here |
@EehMauro , Pardon my bad. Can you please fix (1) POST /auditor/reports expects . Can you fix that. And, the error
|
@EehMauro Bugs - In Review Certification Metadata --
|
This is done. |
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.
LGTM now
@coderabbitai: ignore