-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: approvals for mrf #7636
Open
kevin9foong
wants to merge
44
commits into
develop
Choose a base branch
from
feat/mrf-approvals
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feat: approvals for mrf #7636
+3,864
−1,065
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature Todo:
|
kevin9foong
force-pushed
the
feat/mrf-approvals
branch
from
September 3, 2024 08:26
2d04e49
to
230e7f2
Compare
kevin9foong
had a problem deploying
to
staging-alt
September 3, 2024 08:51
— with
GitHub Actions
Failure
kevin9foong
had a problem deploying
to
staging-alt
September 5, 2024 02:21
— with
GitHub Actions
Failure
kevin9foong
force-pushed
the
feat/mrf-approvals
branch
2 times, most recently
from
September 5, 2024 03:50
0e199c4
to
e41f928
Compare
Moving to testing phase:
|
Add |
kevin9foong
force-pushed
the
feat/mrf-approvals
branch
from
September 12, 2024 03:02
4c26b03
to
72d3722
Compare
|
kevin9foong
force-pushed
the
feat/mrf-approvals
branch
10 times, most recently
from
September 16, 2024 05:20
6dc8154
to
6d4d883
Compare
KenLSM
reviewed
Sep 16, 2024
KenLSM
reviewed
Sep 16, 2024
...create/builder-and-design/BuilderAndDesignDrawer/FieldListDrawer/FieldListDrawer.stories.tsx
Show resolved
Hide resolved
KenLSM
reviewed
Sep 16, 2024
KenLSM
reviewed
Sep 16, 2024
KenLSM
reviewed
Sep 16, 2024
KenLSM
reviewed
Sep 16, 2024
KenLSM
reviewed
Sep 16, 2024
...tures/admin-form/create/workflow/components/WorkflowContent/EditStepBlock/ApprovalsBlock.tsx
Show resolved
Hide resolved
KenLSM
reviewed
Sep 16, 2024
...min-form/create/workflow/components/WorkflowContent/EditStepBlock/EditStepBlockContainer.tsx
Show resolved
Hide resolved
KenLSM
reviewed
Sep 16, 2024
...min-form/create/workflow/components/WorkflowContent/EditStepBlock/EditStepBlockContainer.tsx
Outdated
Show resolved
Hide resolved
KenLSM
reviewed
Sep 16, 2024
...ures/admin-form/create/workflow/components/WorkflowContent/EditStepBlock/RespondentBlock.tsx
Outdated
Show resolved
Hide resolved
KenLSM
reviewed
Sep 16, 2024
...ures/admin-form/create/workflow/components/WorkflowContent/EditStepBlock/RespondentBlock.tsx
Outdated
Show resolved
Hide resolved
KenLSM
reviewed
Sep 16, 2024
...ures/admin-form/create/workflow/components/WorkflowContent/EditStepBlock/RespondentBlock.tsx
Show resolved
Hide resolved
KenLSM
reviewed
Sep 16, 2024
...ures/admin-form/create/workflow/components/WorkflowContent/EditStepBlock/RespondentBlock.tsx
Outdated
Show resolved
Hide resolved
KenLSM
reviewed
Sep 16, 2024
frontend/src/features/admin-form/create/workflow/hooks/useAdminFormWorkflow.ts
Outdated
Show resolved
Hide resolved
KenLSM
reviewed
Sep 16, 2024
...atures/admin-form/create/workflow/components/WorkflowContent/EditStepBlock/EditStepBlock.tsx
Outdated
Show resolved
Hide resolved
KenLSM
reviewed
Sep 17, 2024
KenLSM
reviewed
Sep 18, 2024
...ubmission/multirespondent-submission/__tests__/multirespondent-submission.controller.spec.ts
Outdated
Show resolved
Hide resolved
KenLSM
requested changes
Sep 18, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor issues here and there but generally no big issue with the overall design of the approval feature. Discovered some debts, but not attributable to this PR.
Great work @kevin9foong !
kevin9foong
force-pushed
the
feat/mrf-approvals
branch
from
September 18, 2024 10:09
008689a
to
f017397
Compare
kevin9foong
force-pushed
the
feat/mrf-approvals
branch
from
September 18, 2024 14:02
f017397
to
2da84c4
Compare
kevin9foong
force-pushed
the
feat/mrf-approvals
branch
from
September 19, 2024 16:38
e4db6db
to
a3b8fee
Compare
kevin9foong
force-pushed
the
feat/mrf-approvals
branch
from
September 20, 2024 08:18
77bc38a
to
bbee80d
Compare
kevin9foong
force-pushed
the
feat/mrf-approvals
branch
from
September 20, 2024 08:37
bbee80d
to
95fec1b
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
From mrf workshops and user testing sessions, admins want a way for mrf to be used for their approval processes.
Closes FRM-1632, FRM-1829, FRM-1834, FRM-1835, FRM-1836, FRM-1856, FRM-1863
Solution
Implement approval support for mrf according to Approvals v8.
Breaking Changes
Features:
Improvements:
Before & After Screenshots
Revamped workflow builder (inactive state):
Revamped workflow builder (Active state):
New approvals outcome email:
Manual QA Tests
Test set up:
Use for approvals
badge appears beside yes/no fields in drawer.TC1: Regression test - MRF still works
TC2: Regression test - email notif works:
TC3: Approve without email notif. Expect no email sent
TC4: Reject without email notif. Expect no email sent
TC5: Approve and reject with email notification works:
TC6: Multiple approval steps - approve all
TC7: Multiple approval steps - Reject at step 2 (middle step)
TC8: Multiple approval steps - Reject at last step
Edge cases:
TC10: approval field set to optional, respondent did not fill
TC10: approval field deleted, admin did not reassign