Commit Graph

1477 Commits

Author SHA1 Message Date
Joao Correia
cf12a4ed4f implement logging of exam edits on workflow's current step 2025-02-06 19:12:18 +00:00
Tiago Ribeiro
8711802b97 Merged develop into approval-workflows 2025-02-06 18:50:07 +00:00
Joao Correia
752881df41 - Fix bug where workflows were being created again after exam update
- Moved createWorkflows function into an helper file instead of a post request.
- Moved the workflow creation logic into the post of exam creation instead of a seperate post in each exam module
2025-02-06 13:16:32 +00:00
Tiago Ribeiro
63604b68e2 Added the permission to update the privacy of an exam 2025-02-06 12:12:34 +00:00
Joao Correia
c3849518fb amend last commit 2025-02-05 19:14:18 +00:00
Joao Correia
7fb5e1a62b fix typo and bug on exam edit. It was throwing an exception if it found an id with the same owners, but should throw when the owners are different. It was also throwing an error if owners was not set in exam. 2025-02-05 18:55:31 +00:00
Joao Correia
4b405297f2 Merge branch 'approval-workflows' into develop 2025-02-05 17:26:58 +00:00
Joao Correia
f0849b9b42 - fix assignees bug after editing active workflow
- only allow corporate+ to configure workflows
- give admins and devs permissions to approve and reject steps even when they are not assigned to them.
- small fixes
2025-02-05 16:50:09 +00:00
Joao Correia
845a5aa9dc fix stale state behaviour 2025-02-05 13:34:47 +00:00
Joao Correia
d48c7b0d03 implement clone in new builder and fix typo 2025-02-05 13:03:42 +00:00
Joao Correia
6692c201e4 instanciate all workflows configured for an exam author based on different entities. 2025-02-05 12:37:53 +00:00
Joao Correia
f4c7961caa implement edit active workflow and do not allow editing on already completed steps 2025-02-05 00:43:49 +00:00
Joao Correia
b215885dc6 - Make isDiagnostic false when all steps of the exam workflow have been approved.
- Implement Load Exam and Edit Exam buttons
2025-02-04 23:22:56 +00:00
Joao Correia
de15eb5ee1 implement initialization of approval workflows on exam creation. 2025-02-04 22:04:58 +00:00
Joao Correia
d3385caaf8 use custom hook to render approval workflows list instead of reloading full page. 2025-02-03 12:52:03 +00:00
Joao Correia
19f2193414 use custom hook to rerender workflow instead of reloading full page. 2025-02-03 12:31:21 +00:00
Joao Correia
d59b654ac2 do not allow empty steps in workflows 2025-02-03 11:34:56 +00:00
Francisco Lima
b77476dc9a Merged develop into layout-bug-fixes 2025-02-03 00:07:05 +00:00
José Marques Lima
5a685ebe80 Remove unused imports and changed and improved layout design and responsiveness in some components and fixed some bugs. 2025-02-02 23:58:23 +00:00
Joao Correia
835a9bee03 - Filter available form intakers so that no form intaker can be in two workflows at once.
- add getApprovalWorkflowByIntaker to prepare workflow start after exam creation.
- fix builder bug with step keys
- ignore edit view for now because it will only be available for active workflows and not configured workflows.
2025-02-02 22:40:05 +00:00
Joao Correia
16545d2075 refactor workflows api 2025-02-02 11:11:52 +00:00
Joao Correia
b684262759 Fix id handling on update 2025-02-01 23:14:17 +00:00
Joao Correia
ac539332e6 major change on how workflow builder works. It now fetches in edit mode all the currently configured workflows 2025-02-01 22:36:42 +00:00
José Marques Lima
e33ab315ad Merge branch 'develop' into refactor-getserverprops 2025-01-31 22:37:36 +00:00
José Marques Lima
1feef5c419 Fix Finish page 2025-01-31 22:34:43 +00:00
Joao Correia
a0229cd971 implement rejection of steps 2025-01-31 20:56:40 +00:00
Joao Correia
662e3b0266 - implement approval of steps
- remove currentStep field from step
- implement save comments on step
- fix _id issue when saving to mongo
2025-01-31 17:01:20 +00:00
Tiago Ribeiro
54a9f6869a Reduced the maxPoolSize 2025-01-31 12:05:39 +00:00
Joao Correia
9de4cba8e8 refactor fetched users into single array and replace Image tag with img 2025-01-31 10:37:14 +00:00
José Marques Lima
98ba0bfc04 Refactor most getServerProps to fetch independent request in parallel and projected the data only to return the necessary fields and changed some functions 2025-01-30 18:25:42 +00:00
Joao Correia
f89b42c41c remove currentStep from step type 2025-01-30 12:06:13 +00:00
Joao Correia
c968044160 switch to mongo's id handling 2025-01-30 11:50:28 +00:00
Joao Correia
5d727fc528 implement delete workflow 2025-01-30 11:07:13 +00:00
Joao Correia
bdc5ff7797 - edit workflow back-end implementation
- clone workflow back-end implementation
- added loading and redirecting to form submissions
- fixed form intake in progress bug
- fixed rendering bug
2025-01-29 20:49:19 +00:00
Joao Correia
011c6e9e30 Start implementing with back-end. Create workflows completed and fetching workflows on server side as well, to show them in the table. 2025-01-29 17:50:03 +00:00
Joao Correia
42a8ec2f8a small fixes 2025-01-29 15:35:59 +00:00
José Marques Lima
b69b6e6c77 Fix login page having a Card 2025-01-28 20:31:19 +00:00
José Marques Lima
16b959fb7a Fix entities Page not rendering 2025-01-27 22:06:34 +00:00
Joao Correia
a40ae04aa3 Add workflow table name filter 2025-01-27 12:50:18 +00:00
Joao Correia
8db47a3962 Filter out empty select inputs on form submission 2025-01-26 14:07:25 +00:00
Joao Correia
ab81a1753d - Implement cloning of workflow
- Entity change will now only clear the assignees instead of the whole workflow
- Fix bug where side panel was showing all workflow assignees instead of just selected step assignees
2025-01-26 04:31:36 +00:00
José Marques Lima
c98af863c3 Merge branch 'develop' of https://bitbucket.org/ecropdev/ielts-ui into ENCOA-316-ENCOA-317 2025-01-25 20:01:52 +00:00
Joao Correia
73610dc273 implement edit workflow 2025-01-25 19:45:39 +00:00
José Marques Lima
37216e2a5a ENCOA-316 ENCOA-317:
Refactor components to remove Layout wrapper and pass it in the App component , implemented a skeleton feedback while loading page and improved API calls related to Dashboard/User Profile
2025-01-25 19:38:29 +00:00
Joao Correia
ac072b0a5a small fixes and animate side panel content 2025-01-25 15:47:33 +00:00
Joao Correia
2c0153e055 Fix animations 2025-01-25 15:10:52 +00:00
Joao Correia
2eff08bf86 Add approval by to step details panel and add text size prop to UserWithProfilePicture component 2025-01-25 04:23:28 +00:00
Joao Correia
f71a7182dd - Refactor of workflow and steps types to differentiate between editView and normalView.
- Added side panel with steps details
2025-01-25 03:44:50 +00:00
Joao Correia
1f7639a30e - initial selected step
- assignees id to name on table view
2025-01-24 17:09:37 +00:00
Joao Correia
41d09eaad8 Make data dynamic in workflow view. Add requester and startDate to workflows. 2025-01-24 14:14:07 +00:00