-
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(mrf): response link with key #6967
Merged
Merged
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
wanlingt
approved these changes
Dec 20, 2023
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.
lgtm! left one suggestion for getMultirespondentSubmissionEditPath
frontend/src/features/admin-form/responses/IndividualResponsePage/IndividualResponsePage.tsx
Outdated
Show resolved
Hide resolved
KenLSM
added a commit
that referenced
this pull request
Dec 21, 2023
* feat: multi-respondent form prototype with edit response links * chore: fix build errors * fix: guard against editing authtype * feat: MRF encryption scheme * test: fix test files * chore: fix build error * chore: update copy for form creation modal * chore: update variable name in frontend public form provider * feat: attachment handling in multi-respondent forms for respondent 1+ * chore: fix build errors * chore: move some stuff around * test: fix backend tests * test: update test suite * chore: copy changes * chore: more copy changes, add test mock clearing so that tests pass * fix: nits * chore: add linear ticket labels to all TODOs * feat: gate mrf form creation on frontend and backend * fix: require publicKey on form creation for multi-respondent forms * chore(frm-1599): update multiparty create form modal icon * fix: typing issues * fix: remove unused import * fix: update joi validator to array * fix: column cell not respecting disable required validation * fix: mislabelled test name * fix: model ux issue when admin without mrf flag creates new form * feat(mrf): response link with key (#6967) * feat: append key in response link * refactor: extract iskeypairvalid to fe utils * feat: add prefilling of key * feat: add auto decryption if key is correct * refactor: extract key into getmultirespondentsubmissioneditpath utils --------- Co-authored-by: Ken <ken@open.gov.sg>
wanlingt
added a commit
that referenced
this pull request
Jan 3, 2024
* feat: multi-respondent form prototype with edit response links * chore: fix build errors * fix: guard against editing authtype * feat: MRF encryption scheme * test: fix test files * chore: fix build error * chore: update copy for form creation modal * chore: update variable name in frontend public form provider * feat: attachment handling in multi-respondent forms for respondent 1+ * chore: fix build errors * chore: move some stuff around * test: fix backend tests * test: update test suite * chore: copy changes * chore: more copy changes, add test mock clearing so that tests pass * fix: nits * chore: add linear ticket labels to all TODOs * feat: gate mrf form creation on frontend and backend * fix: require publicKey on form creation for multi-respondent forms * feat: add workflowStep to submission schema * chore(frm-1599): update multiparty create form modal icon * fix: typing issues * fix: remove unused import * fix: update joi validator to array * fix: column cell not respecting disable required validation * fix: mislabelled test name * feat: add workflow emails to form * feat: add workflow run to multirespondent form processing * feat: add error state for invalid emails in frontend workflow settings * feat: use featureflag to conditionally render workflow icon * fix: add placeholder text to input * fix: remove multiparty icon * fix: add multiparty icon * fix: run next workflow step instead of current workflow * fix: model ux issue when admin without mrf flag creates new form * feat(mrf): response link with key (#6967) * feat: append key in response link * refactor: extract iskeypairvalid to fe utils * feat: add prefilling of key * feat: add auto decryption if key is correct * refactor: extract key into getmultirespondentsubmissioneditpath utils * test: add workflowStep to form schema * ref: check for responsemode once * fix: use strokeWidth in svg * fix: reset error state * ref: remove unused component and simplify if condition * fix: remove console.log * fix: use react-hook-form for workflow details * fix: remove duplicate body version * fix: reorder workflow in settings page * fix: copy changes * fix: display previous workflow emails in settings * feat: always fetch response when MRF is enabled * fix: remove comment --------- Co-authored-by: Justyn Oh <justynoh@gmail.com> Co-authored-by: Ken <ken@open.gov.sg>
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
Closes FRM-1604
Solution
Submission level key is stored on search params as
key
Before & After Screenshots
Auto-prefill + Unlock
Screen.Recording.2023-12-19.at.5.42.54.PM.mov