Joao Correia
16545d2075
refactor workflows api
2025-02-02 11:11:52 +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
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
Joao Correia
9de4cba8e8
refactor fetched users into single array and replace Image tag with img
2025-01-31 10:37:14 +00:00
Joao Correia
c968044160
switch to mongo's id handling
2025-01-30 11:50:28 +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
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
Joao Correia
73610dc273
implement edit workflow
2025-01-25 19:45:39 +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
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
Joao Correia
f6b0c96b3b
Finish Approval Workflow builder for the most part. TODO: implement permissions
2025-01-24 00:33:45 +00:00
Joao Correia
dcd25465fd
on workflow builder, only render steps if name and entity are set. reset workflow on entity reset.
2025-01-23 22:56:45 +00:00
Joao Correia
c921d54d50
code refactoring
2025-01-23 22:12:25 +00:00
Joao Correia
a4f60455b5
Render previous select input options when switching between workflows in builder
2025-01-23 17:08:32 +00:00
Joao Correia
a0936cb1a4
Prevent same input on selects from the same step.
...
Change behaviour of initial step to allow multiple assignees
2025-01-23 15:10:14 +00:00
Joao Correia
aa76c2b54b
Work on workflow builder:
...
- Made number of approvers dynamic with many select inputs as needed
- Tracking approval select input changes with step.assignees
- Fetching teachers and corporates from backend
- Responsive styling when rendering several select inputs
2025-01-23 02:48:25 +00:00
Joao Correia
4895f00184
Add entityId to workflow. Allow filter workflows based on entityId. Restrict creation of workflows based on user entities.
2025-01-22 16:39:18 +00:00
Joao Correia
01222b3a13
dynamic list of new workflows in workflow builder and some code refactoring
2025-01-20 23:32:32 +00:00