Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust project description as per regulator's approval status (#361)
* feat: Implement S3 path structure & file upload for user-specific drone operator certificate uploads * refac: refactor user profile update: Add validation for empty data, handle certificate URL and role updates * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * feat: update certificate URL in database for user profile * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * feat: update registration registration of drone operator * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix(profile-update): UI Issue * feat: add method parameter on `callApiSimultaneously` function * feat(update-profile): post add files `certificate` and `drone registration` file along with the other details * feat: post drone registered certificate and drone pilot certificate on profile complete * feat: show default image on profile in case of failure * feat(update-profile): post only the binary file on certificate * feat: add `@cyntler/react-doc-viewer` package * feat: add document preview modal * feat(dashboard): implement drone certificate preview on task lock request * fix(individual-project): task requested for lock although the project owner lockes the task * feat: set certificate & registration url in my-info endpoint * fix: document viewer details style * fix: UploadArea component * feat: show uploaded certificates on edit profile page * feat: clear selectedDocumentDetails on document preview component unmount * feat(document-preview): download certificate using blob and additional UI if the file is image * feat: set the certificate & registration url in task request page * feat(dashboard): show drone certificate and pilot certificate on task request log * feat: ommit password section if the existing user is trying to login as another role * fix: remove comment code from task schemas * feat(regulators-approval-page): clear local storage on main page unmount * fix: set iscertifiedDroneUser initial value once * feat(user-profile): support pdf to upload certificates * feat(project-approval-page): clear comment on approval comment success * feat: make project `DescriptionSection` dynamic to render on both project description and project approval page * feat: add about section on project description page * feat: make regulator approval status optional to view on description section * feat(project-description): make map popup disabled if the regulator approval status is `REJECTED` * feat(project-description): disable popup open on table row click if requlator approval status is `REJECTED` --------- Co-authored-by: Pradip-p <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Sujit <[email protected]>
- Loading branch information