Talal Sharabi
3e143526e8
Fix build errors: add missing stub exports and fix implicit any types
...
- Add getApprovalWorkflowsByEntities to approval.workflows.be.ts stub
- Add filterAllowedUsers to users.be.ts stub
- Make convertToUsers synchronous in groups.be.ts stub
- Remove unused import of deleted API route in entities/[id]/index.tsx
- Fix implicit any type errors in approval-workflows, entities, permissions pages
Made-with: Cursor
2026-03-14 17:17:56 +04:00
Joao Correia
d5bffc9bad
Add pagination to approval workflows table and change module styling to match project colors.
2025-02-09 18:10:59 +00:00
Joao Correia
3a3d3d014d
filter workflows user can see based on entities
2025-02-08 19:23:42 +00:00
Joao Correia
bf2aa29b98
implement workflow permissions
2025-02-06 23:26:21 +00:00
Tiago Ribeiro
36afde8aa4
Created the new permissions as an example
2025-02-06 18:48: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
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
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
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
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
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
Joao Correia
a40ae04aa3
Add workflow table name filter
2025-01-27 12:50:18 +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
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
a4f60455b5
Render previous select input options when switching between workflows in builder
2025-01-23 17:08:32 +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
4e81c08adb
fix bug in last commit where all entities would show up on select filter instead of user entities
2025-01-22 18:07:09 +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
8f8d5e5640
Work on workflows table
2025-01-22 00:30:14 +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
Joao Correia
f485c782f3
Start implementing workflow step form behaviour
2025-01-19 19:23:56 +00:00
Joao Correia
66d23b4140
Add local test data, implement [id].tsx for approval workflows
2025-01-17 18:44:52 +00:00