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

feat(btn): phase 2 - add growthbook toggle to control adding twilio creds #7290

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

KenLSM
Copy link
Contributor

@KenLSM KenLSM commented Apr 28, 2024

Problem

Closes frm-1718

Solution

Add growthbook toggle to toggle between enabling and disabling adding of Twilio Credentials on the Frontend.

Backend is not disabled as we will be:

  1. removing the whole endpoint in June
  2. forcefully disconnecting the endpoint
  3. does not impact our service

Breaking Changes

  • No - this PR is backwards compatible

Before & After Screenshots

Component Before After
Twilio Credentials Tab Screenshot 2024-04-28 at 5 41 17 PM Screenshot 2024-04-28 at 5 41 41 PM

Tests

Regression
Feature toggle is off, user should still see will be, and able to add twilio credentials

  • Go to Form Settings > Twilio Credentials page
  • Ensure that the infobox text reads will be disabled from 30 April
  • Ensure that "Save Credentials" button is enabled

New feature test

  • Enable toggle on staging env from growthbook
  • Go to Form Settings > Twilio Credentials page
  • Ensure that the infobox text reads will be disabled from 30 April
  • Ensure that "Save Credentials" button is disabled

Deploy Notes

Ensure that adding-twilio-disabled is added on growthbook (with value: True, but not toggled on production) . It should be disabled before April 30 or enabled if it is after April 30.

  • April 30 is the transition window to enable this on production

New environment variables:

  • adding-twilio-disabled : on growth book to control text message and button.

@KenLSM KenLSM requested a review from justynoh April 28, 2024 09:51
Copy link

linear bot commented Apr 28, 2024

@KenLSM KenLSM merged commit d57b85d into develop Apr 29, 2024
29 checks passed
@KenLSM KenLSM deleted the feat/frm-1718-btn-phase-2 branch April 29, 2024 07:09
@KenLSM KenLSM mentioned this pull request Apr 29, 2024
38 tasks
KenLSM added a commit that referenced this pull request Apr 30, 2024
* fix(deps): bump zod from 3.23.0 to 3.23.4 in /shared (#7283)

Bumps [zod](https://github.com/colinhacks/zod) from 3.23.0 to 3.23.4.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Changelog](https://github.com/colinhacks/zod/blob/master/CHANGELOG.md)
- [Commits](colinhacks/zod@v3.23.0...v3.23.4)

---
updated-dependencies:
- dependency-name: zod
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: reduce output, check gh login auth status only if not logged in (#7282)

* fix(deps): bump type-fest from 4.16.0 to 4.17.0 in /shared (#7287)

Bumps [type-fest](https://github.com/sindresorhus/type-fest) from 4.16.0 to 4.17.0.
- [Release notes](https://github.com/sindresorhus/type-fest/releases)
- [Commits](sindresorhus/type-fest@v4.16.0...v4.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: add localhost domain into cors, used by attachment uploads (#7280)

* feat(payments): add min global payment limit override (#7291)

* add flag to allow global min override in form

* allow fe variable fields to pass fe validators

* allow respondent variable payment flow to respect global min override value

* remove check min value check on respondent payment submission

* fix: add missing default variable

* test: add test cases for global limit

* feat(btn): phase 2 - add growthbook toggle to control adding twilio creds (#7290)

feat: add growthbook toggle to control adding twilio creds

* fix: update chromium version (#7294)

update chromium version

* fix(deps): bump type-fest from 4.17.0 to 4.18.0 in /shared (#7297)

Bumps [type-fest](https://github.com/sindresorhus/type-fest) from 4.17.0 to 4.18.0.
- [Release notes](https://github.com/sindresorhus/type-fest/releases)
- [Commits](sindresorhus/type-fest@v4.17.0...v4.18.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix(payments): allow 0 cents (#7298)

fix: allow 0 cents

* fix(btn): use different growthbook api (#7299)

use different growthbook api

* chore: bump version to v6.118.0

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This was referenced Apr 30, 2024
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.

2 participants