Skip to content
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

build: release v6.50.0 #6347

Merged
merged 36 commits into from
May 18, 2023
Merged

build: release v6.50.0 #6347

merged 36 commits into from
May 18, 2023

Conversation

wanlingt
Copy link
Contributor

@wanlingt wanlingt commented May 18, 2023

New

  • feat: add sample-submission endpoint to retrieve sample submission data of a public form #6325
  • chore: remove conditional frontend routing #6190
  • fix: rm white box for payment preview when disabled #6342
  • chore: remove support for legacy stripe metadata #6264
  • fix: disable payment resume and duplicate modals in preview #6334
  • feat: required copy updates for payment launch on prod #6327
  • fix: pin MockPass version #6324
  • chore: add code of conduct from contributor covenant #6326
  • feat: retain image metadata after compression #6320
  • fix: type change due to upgrade in types/express to 4.17.17 #6319
  • fix: playwright tests cancelled after timeout (and other issues) #6308
  • perf: conditionally use hooks based on activeness of field row #6303
  • feat: prevent prefill editing #6097
  • feat: add local dev support for twilio #5881
  • fix: squished logic block either option #6305
  • build: merge release v6.49.0 to develop #6302
  • test: add stories for admin and public forms with payments #6292
  • build: release v6.49.0 #6298

Dependencies

  • fix(deps): bump @aws-sdk/client-cloudwatch-logs from 3.276.0 to 3.332.0 #6345
  • fix(deps): bump stripe from 11.1.0 to 12.5.0 #6330
  • fix(deps): bump vm2 from 3.9.17 to 3.9.18 #6333
  • fix(deps): bump twilio from 4.7.2 to 4.11.0 #6328
  • fix(deps): bump @sentry/browser from 7.28.1 to 7.51.2 #6314
  • build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 in /frontend #5729
  • build(deps): bump json5 from 1.0.1 to 1.0.2 in /frontend #5688

Dev-Dependencies

  • chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.59.5 to 5.59.6 in /shared #6332
  • chore(deps-dev): bump @typescript-eslint/parser from 5.59.5 to 5.59.6 in /shared #6331
  • chore(deps-dev): bump @types/jsonfile from 6.1.0 to 6.1.1 #6329
  • chore(deps-dev): bump axios-mock-adapter from 1.21.2 to 1.21.4 #6313
  • chore(deps-dev): bump husky from 8.0.2 to 8.0.3 #6312
  • chore(deps-dev): bump @types/opossum from 6.2.2 to 6.2.3 #6316
  • chore(deps-dev): bump @types/express from 4.17.14 to 4.17.17 #6311
  • chore(deps-dev): bump jest-extended from 1.2.1 to 3.2.4 #5793
  • chore(deps-dev): bump type-fest from 2.19.0 to 3.10.0 #6270
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.59.2 to 5.59.5 in /shared #6288
  • chore(deps-dev): bump @babel/plugin-transform-runtime from 7.19.6 to 7.21.4 #6297

Tests

feat: add sample-submission endpoint to retrieve sample submission data of a public form #6325

@justynoh

  • Unit tests have been added
  • Send a GET request to http://staging.form.gov.sg/api/v3/forms/:formId/sample-submission using
    • a public form. You should get a 200 and a sample form response, based on the fields in the form
    • a form ID that does not exist. You should get a 404
    • a private form. You should get a 404
    • an archived form. You should get a 410

chore: remove conditional frontend routing #6190

@wanlingt
For all of these tests, perform them 3 ways: 1) cleared cookies, 2) with v2-(admin|respondent)-ui=react, 3) with v2-(admin|respondent)-ui=angular

  • Ensure that the React landing page can be accessed.
    • The landing page loads
    • Statistics are loaded correctly
  • Admin features
    • Workspace should be accessible, forms should load correctly
    • Admin banner should not be visible
    • Feedback icon should not be visible
  • Public form
    • Form should load correctly with no errors
    • Switch env banner at the bottom of the page should not load.
  • /environment does not work anymore
    • Going to /environment/react does not add the react cookie.
    • Going to /environment/angular does not add the angular cookie.

Notes

To do:

  • Delete angular code
  • Delete old deprecated routes
  • remove useFetchForSubmissions
  • migrate react banners to using non-react-suffixed env vars
  • Delete GA Tracking ID env var (only used in Angular) - GA Tracking ID (Angular) cleanup #4786
  • Delete rollout announcement Rollout announcement to be repurposed for new features
  • Delete e2e tests

fix: rm white box for payment preview when disabled #6342

@wanlingt

  • Create a storage-mode form
  • With payment disabled, go to builder mode. There should be no white box or payment preview shown to the right.
  • Enable payment. The payment preview should appear (builder mode).
  • Go to preview the form in preview mode. There should be no white box or payment preview at the bottom of the form.
  • Open the form. Go to the respondent view of the form. There should be no white box or payment preview at the bottom of the form.

fix: disable payment resume and duplicate modals in preview #6334

@tshuli

To ensure functionality within payments

  • go to a payment form
  • open the form, make a payment intent
  • go to preview mode, there should be no resume modal that is shown
  • go back to the public form, the resume modal should be shown
  • resume session, make the payment
  • go to preview mode, attempt to make a preview payment with the same email as above
  • No payment modal should be shown
  • go to public form, attempt to make a payment with the same email
  • duplicate payment modal should be shown
  • go to public form, attempt to make a payment with a new email
  • proceed to pay modal should be shown

To ensure no regression problem

  • go to a normal storage mode form
  • go to preview mode, submit the form
  • go to public form, submit the form
  • do the same for an email mode form

feat: required copy updates for payment launch on prod #6327

@wanlingt
Desktop:

Screenshot 2023-05-15 at 6 57 16 PM

Mobile:

Screenshot 2023-05-15 at 6 57 35 PM
Storage-mode forms payments settings page

Desktop:

Screenshot 2023-05-16 at 9 20 39 AM

Mobile:

Screenshot 2023-05-16 at 9 20 57 AM

Tests

  • On a storage-mode form that does not have payments enabled, go to payment settings page and check that the copy is correct and links to the guide.
  • When the SECRET_ENV is set as production:
    • Go to a storage-mode form with payment enabled and preview the form. There should be a banner and check that the copy is expected as above.
  • When the SECRET_ENV is not set as production:
    • Go to a storage-mode form with payment enabled and preview the form. There should be a banner and check that the copy is expected as above.
    • Go to a storage-mode form with payment enabled, open the form and try to pay as a respondent. On the payment page, check that there is an infobox with the expected copy on the test card.

feat: retain image metadata after compression #6320

@LinHuiqing

In a storage mode form

  • Go to a form with an attachment field. Attempt to upload a jpeg, with metadata, that has a file size larger than the attachment field. The image should be successfully compressed. Submit the form.
  • On admin side, download the submitted image and check that the metadata of the original image is preserved in the compressed image, which was submitted to the form.
  • Go to a form with an attachment field. Attempt to upload a png that has a file size larger than the attachment field. The image should be successfully compressed. Submit the form.
  • On admin side, download the submitted image, and check that the image size is less than the max attachment size

To test for regression

  • Submit a form with an image < max attachment size

In an email mode form

  • Go to a form with an attachment field. Attempt to upload a jpeg, with metadata, that has a file size larger than the attachment field. The image should be successfully compressed. Submit the form.
  • On admin side, download the submitted image and check that the metadata of the original image is preserved in the compressed image, which was submitted to the form.
  • Go to a form with an attachment field. Attempt to upload a png that has a file size larger than the attachment field. The image should be successfully compressed. Submit the form.
  • On admin side, download the submitted image, and check that the image size is less than the max attachment size

To test for regression

  • Submit a form with an image < max attachment size

perf: conditionally use hooks based on activeness of field row #6303

@justynoh

To ensure no regression issues
All the behaviours below should work as intended

  • create a new field, delete it
  • create a new field, save the field details
  • create a new field by dragging from builder to preview
  • edit a new field, the field in the preview content should update as well
  • edit a new field, do not save, attempt to select another field. Dirty modal should display
  • edit a new field, do not save, attempt to refresh, browser should prompt that it is dirty
  • edit a new field, save, builder should go back to the list of fields. And the preview content should reflect the edits
  • delete a field, the delete modal should show up, you should be able to delete the field
  • duplicate a field
  • drag a field, the field should hover over the potential droppable locations
  • drop the field, all affected fields should have their question numbers updated
  • add logic that conditionally displays the field. The fields hidden by logic should be translucent
  • the fields hidden by logic can be edited successfully
  • the fields hidden by logic can be dragged and dropped successfully
  • preview the form, all your changes should be reflected in the preview

On mobile

  • repeat the tests (except dragging from builder & selecting another field while editing)

feat: prevent prefill editing #6097

@foochifa

  • Can create form with prefill and no prefill lock
  • (via network call) attempting to create a field with no prefill but with prefill lock should return an error
  • Non-prefill forms render and submit correctly
  • Forms with only unlocked prefill can render and submit correctly
  • Forms with only locked prefill can render and submit correctly
  • Forms with combination of locked and unlocked prefill can render and submit correctly
    • Works for singpass form with combination of locked and unlocked prefill

feat: add local dev support for twilio #5881

@foochifa

  • SMS should not be intercepted if it is not in dev environment (dev = local dev)

fix: squished logic block either option #6305

@foochifa

  • Create a form with a Radio field.
  • In this field, create an option with a very long name.
  • Go to the logic option and use this field in the condition.
  • Select "either" as the option for condition and select the long option as the value. The equals to / either option dropdown should not be squished after the long option has been selected.
  • Repeat the above for a Dropdown field.

Deploy notes

feat: add sample-submission endpoint to retrieve sample submission data of a public form #6325

  • Remove the following env vars:
    • REACT_MIGRATION_RESP_ROLLOUT_EMAIL
    • REACT_MIGRATION_RESP_ROLLOUT_STORAGE
    • REACT_MIGRATION_ADMIN_ROLLOUT
    • REACT_MIGRATION_RESP_COOKIE_NAME
    • REACT_MIGRATION_ADMIN_COOKIE_NAME_OLD
    • REACT_MIGRATION_ADMIN_COOKIE_NAME
    • REACT_MIGRATION_QA_COOKIE_NAME
    • REACT_MIGRATION_ANGULAR_END_DATE
    • REACT_MIGRATION_REMOVE_INFOBOX_THRESHOLD_ADMIN
    • REACT_MIGRATION_REMOVE_INFOBOX_THRESHOLD_RESPONDENT
    • REACT_SWITCH_ENV_FEEDBACK_FORM_ID_ADMIN
    • REACT_SWITCH_ENV_FEEDBACK_FORM_ID_RESPONDENT
  • Since the angular /#!/terms page is now no more accessible via routing, ensure that the Load Balancer target group health check for prod is updated to api/v3/analytics/statistics with success codes 200,304 prior to deployment.

feat: add local dev support for twilio #5881

New environment variables:

  • LOCAL_DEV: Used by BE to determine if it is currently running on local development environment
  • TWILIO_ACCOUNT_SID : Updated to follow specification format
  • TWILIO_MESSAGING_SERVICE_SID : Updated to follow specification format

New scripts:

  • mocktwilio : added new docker container that will provide proper API response

New dependencies:

  • "@stoplight/prism-cli": "^4.10.6" : added to provide mocking support

New dev dependencies:

  • dependency : dependency details

justynoh and others added 30 commits May 11, 2023 16:42
* test: add stories for admin and public forms

* test: add stories for FormPaymentPage

* fix: misc frontend updates

* fix: UI fixes for payment preview block in form builder and public form
build: merge release v6.49.0 to develop
…7.21.4 (#6297)

chore(deps-dev): bump @babel/plugin-transform-runtime

Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime) from 7.19.6 to 7.21.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.21.4/packages/babel-plugin-transform-runtime)

---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-runtime"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
… 5.59.5 in /shared (#6288)

chore(deps-dev): bump @typescript-eslint/eslint-plugin in /shared

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.59.2 to 5.59.5.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.59.5/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](json5/json5@v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…nd (#5729)

Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](kornelski/http-cache-semantics@v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [type-fest](https://github.com/sindresorhus/type-fest) from 2.19.0 to 3.10.0.
- [Release notes](https://github.com/sindresorhus/type-fest/releases)
- [Commits](sindresorhus/type-fest@v2.19.0...v3.10.0)

---
updated-dependencies:
- dependency-name: type-fest
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [jest-extended](https://github.com/jest-community/jest-extended) from 1.2.1 to 3.2.4.
- [Release notes](https://github.com/jest-community/jest-extended/releases)
- [Changelog](https://github.com/jest-community/jest-extended/blob/main/CHANGELOG.md)
- [Commits](jest-community/jest-extended@v1.2.1...v3.2.4)

---
updated-dependencies:
- dependency-name: jest-extended
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add minimum width 0 for flex child items that do not respect flex basis settings

* refactor: logicValueWrapperWidth to be more concise

---------

Co-authored-by: Dexter Tan <[email protected]>
* feat: add prism for twilio

* feat: add localdev env config

* fix: mocktwilio randomly assigning errorCode in response

* feat: route sms body to maildev

* fix: incorrect refernce to determine localdev

* refactor: rename localDev to useMockTwilio

* feat: generalize sendLocalDevMail

* fix: test cases not mocking new mocktwilio
Bumps [@types/express](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/express) from 4.17.14 to 4.17.17.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/express)

---
updated-dependencies:
- dependency-name: "@types/express"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 7.28.1 to 7.51.2.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](getsentry/sentry-javascript@7.28.1...7.51.2)

---
updated-dependencies:
- dependency-name: "@sentry/browser"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@types/opossum](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/opossum) from 6.2.2 to 6.2.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/opossum)

---
updated-dependencies:
- dependency-name: "@types/opossum"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [husky](https://github.com/typicode/husky) from 8.0.2 to 8.0.3.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](typicode/husky@v8.0.2...v8.0.3)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [axios-mock-adapter](https://github.com/ctimmerm/axios-mock-adapter) from 1.21.2 to 1.21.4.
- [Release notes](https://github.com/ctimmerm/axios-mock-adapter/releases)
- [Changelog](https://github.com/ctimmerm/axios-mock-adapter/blob/master/CHANGELOG.md)
- [Commits](ctimmerm/axios-mock-adapter@v1.21.2...v1.21.4)

---
updated-dependencies:
- dependency-name: axios-mock-adapter
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: add prefill property to model

* feat: admin can lock prefill

* chore: render locked prefill on public form

* chore: update copy

* feat: styling for locked prefill field

* fix: model validation

* chore: add tests

* chore: add stories

* fix: prefill can be locked only when there is a prefill value

* chore: update copy

* chore: update copy

* fix: styling for dropdown input

* chore: copy update

* chore: unwanted import

* feat: show different message based on combination of prefills

* feat: update stories

* chore: update copy for locked fields
* perf: refactor active field button group

which separates the hooks relating to handling duplicate fields and deleting fields. Preventing unnecessary re-renders to non-active fields.

* perf: update parent builder field

* perf: update dragging over flag only for active fields

* refactor: available size limit should only be computed on attachment

* chore: remove unnecessary check

* refactor: improve name of activeField

* refactor: improve readability for dragging over

* refactor: only pass extra props when active
* fix: add ssm env site name for playwright

* fix: email sort by time in ascending order

* ci: separate playwright test suites into diff steps

* fix: change textbox to combobox for field settings dropdown

* fix: change in fillMultiDropdowns behaviour

- Don't close dropdown between item selections.
- Scroll options into view if they're not in view.

* ci: temporarily comment out responses download

* ci: temp rm of webkit from playwright

- due to secret key download issues only on webkit
fix: type change due to upgrade in types/express
* chore: bump browser-image-compression to 2.0.2

* feat: preserve exif when image is compressed
Bumps [@types/jsonfile](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jsonfile) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jsonfile)

---
updated-dependencies:
- dependency-name: "@types/jsonfile"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
… in /shared (#6331)

chore(deps-dev): bump @typescript-eslint/parser in /shared

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.59.5 to 5.59.6.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.59.6/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
… 5.59.6 in /shared (#6332)

chore(deps-dev): bump @typescript-eslint/eslint-plugin in /shared

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.59.5 to 5.59.6.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.59.6/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [twilio](https://github.com/twilio/twilio-node) from 4.7.2 to 4.11.0.
- [Release notes](https://github.com/twilio/twilio-node/releases)
- [Changelog](https://github.com/twilio/twilio-node/blob/main/CHANGES.md)
- [Commits](twilio/twilio-node@4.7.2...4.11.0)

---
updated-dependencies:
- dependency-name: twilio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.17 to 3.9.18.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](patriksimek/vm2@3.9.17...3.9.18)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: update banner copy on payment forms preview

* feat: add test card banner for non-production envs

* feat: update payments settings page with guide

* chore: remove unnecessary Box import

* fix: remove external link icon for payment guide

* refactor: extract textProps in preview banner

* fix: put px back into payments input panel infobox

* refactor: extract uat link to constant file

* fix: preview banner env condition
* feat: add isPreview context to PublicFormContext

* refactor: change isPreview props to useContext

* fix: disable payment resume modal in preview

* fix: disable payment duplicate modal in preview

* refactor: made isPreview essential

* fix: do not show any payment modal in preview
Bumps [stripe](https://github.com/stripe/stripe-node) from 11.1.0 to 12.5.0.
- [Release notes](https://github.com/stripe/stripe-node/releases)
- [Changelog](https://github.com/stripe/stripe-node/blob/master/CHANGELOG.md)
- [Commits](stripe/stripe-node@v11.1.0...v12.5.0)

---
updated-dependencies:
- dependency-name: stripe
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
justynoh and others added 6 commits May 17, 2023 11:04
chore: remove support for legacy metadata
* fix: rm white box for payment preview when disabled

* fix: paymentPreview must define paymentDetails
* chore: remove react migration vars

* chore: remove more conditional code in angular, backend types

* chore: remove angular from express routing rules!

* chore: add back public route

* chore: remove angular public route

* chore: add react router

* chore: delete home folder, rename frontend to frontend-old and frontend-new to frontend

* chore: remove src_e2e ci test, rename tests to better reflect backend-frontend split

* test: add --openssl-legacy-provider to the ci build step

* chore: update node options for build step

* chore: revert ci to node 14
….0 (#6345)

Bumps [@aws-sdk/client-cloudwatch-logs](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-cloudwatch-logs) from 3.276.0 to 3.332.0.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-cloudwatch-logs/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.332.0/clients/client-cloudwatch-logs)

---
updated-dependencies:
- dependency-name: "@aws-sdk/client-cloudwatch-logs"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ta of a public form (#6325)

* feat: add createSampleSubmissionData function

* feat: add endpoint to get sample submission

* docs: add comments for GET sample submission endpoint

* feat: randomise response, add attachment type

* fix: remove form deactivation check

* tests: add unit tests for sample submission endpoint

* ref: split sample submission creation into smaller functions

* fix: return static fields in createSingleSampleSubmissionAnswer
@wanlingt wanlingt merged commit 6f54334 into release-al2 May 18, 2023
@wanlingt wanlingt deleted the release_v6.50.0 branch May 18, 2023 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants