Follow+Notes: Create client-side feature flag #3405
Labels
collaboration
good first issue
Good for newcomers
Grant Finder
Issues related to the Grant Finder
javascript
Pull requests that update Javascript code
terraform
Pull requests that update Terraform code
Subtask of [STORY]: Update 'Status' to 'Follow + Note' feature #2960
Blocked by
N/A
Blocks
Definition of Done
A new feature flag,
followNotesEnabled
, is defined in the client-side library of feature flags.Implementation details
(See also: our Feature Flags development guide.)
packages/client/src/helpers/featureFlags/index.js
, create a new function calledfollowNotesEnabled()
that returns a boolean value based on whether a feature flag namedfollowNotesEnabled
strictly evaluates (===
) totrue
.packages/client/public/deploy-config.js
, register the newfollowNotesEnabled
with a value oftrue
so that this feature is enabled by default in development environments.terraform/staging.tfvars
, register the newfollowNotesEnabled
feature flag within thewebsite_feature_flags
map with a value offalse
so that this feature is disable by default in our Staging environment.terraform/prod.tfvars
, register the newfollowNotesEnabled
feature flag within thewebsite_feature_flags
map with a value offalse
so that this feature is disable by default in our Production environment.The text was updated successfully, but these errors were encountered: