Closed xscottxbrownx closed 7 months ago
Currently, there is a window.confirm() when a user tries to upload a document that has same name of an already uploaded document.
File: UploadDocumentModal.jsx in the handleDocUpload function's catch block.
UploadDocumentModal.jsx
handleDocUpload
catch
Should be an MUI modal to match all other user feedback styling of app.
It provides consistent and trustworthy feedback to the user.
Just something similar to other dialog modals that popup with 2 button options.
https://github.com/codeforpdx/PASS/assets/71395931/c0da56da-fa63-444b-93b5-7737e1d637d7
Describe the Current Behavior/Feature:
Currently, there is a window.confirm() when a user tries to upload a document that has same name of an already uploaded document.
File:
UploadDocumentModal.jsx
in thehandleDocUpload
function'scatch
block.Proposed Behavior/Feature:
Should be an MUI modal to match all other user feedback styling of app.
Rationale:
It provides consistent and trustworthy feedback to the user.
Proposed Implementation (if applicable):
Just something similar to other dialog modals that popup with 2 button options.
Additional context:
https://github.com/codeforpdx/PASS/assets/71395931/c0da56da-fa63-444b-93b5-7737e1d637d7