Skip to content

cpa_experience value passed to Javascript. - #51222

Merged
daynew merged 6 commits into
stagingfrom
p20-99-create-cpa-feature-flag
Apr 20, 2023
Merged

cpa_experience value passed to Javascript.#51222
daynew merged 6 commits into
stagingfrom
p20-99-create-cpa-feature-flag

Conversation

@daynew

@daynew daynew commented Apr 7, 2023

Copy link
Copy Markdown
Member

In a previous PR, we added a backend feature flag cpa_experience which informs our backend which Colorado Privacy Act (CPA) compliance experience we should give the student. This PR makes that feature flag value available to the frontend/React code by injecting it into the window context.

Links

Testing story

@daynew
daynew requested a review from wilkie April 7, 2023 21:48
@daynew daynew changed the title P20 99 create cpa feature flag cpa_experience value passed to Javascript. Apr 7, 2023

@wilkie wilkie left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I didn't see this right away. Looks great! Super super straightforward. Thanks for doing this.

@daynew
daynew merged commit 51bb854 into staging Apr 20, 2023
@daynew
daynew deleted the p20-99-create-cpa-feature-flag branch April 20, 2023 18:33
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