Status:
[2024-06-18] Note from Jill in this Slack thread: this is Public Websites tech debt. Not timing critical, but did make a dumpster fire of testing Fri / yesterday. If Dave takes the CTA widget with him to the Health apps crew, this'll be a no op for us.
Context
As a result of moving CTA widget code to LH V1 / facilities-api V2, we found that our older code patterns made testing very difficult. We should update the code to future-proof testing.
To test better in Staging, we could rewrite the CTA widget component to a function component that uses useEffect to only render after the props are received from the flipper vets-api endpoint.
Product pre-requisites / CHANGE MANAGEMENT
The CTA Widget is used all over the place by many teams in implementations we do not own. We need to understand:
How would this change affect other users of the CTA widget?
Do other teams need lead time to account for this change?
Acceptance Criteria
[ ] Product has an understanding of CTA widget usage across OCTODE teams
[ ] Use cases are gathered
[ ] Timeline is established for prep / rollout, if appropriate
[ ] CTA widget code reliably executes after flipper vets-api endpoint props are received, in Staging
Status: [2024-06-18] Note from Jill in this Slack thread: this is Public Websites tech debt. Not timing critical, but did make a dumpster fire of testing Fri / yesterday. If Dave takes the CTA widget with him to the Health apps crew, this'll be a no op for us.
Context
As a result of moving CTA widget code to LH V1 / facilities-api V2, we found that our older code patterns made testing very difficult. We should update the code to future-proof testing.
Context:
Issue to resolve
To test better in Staging, we could rewrite the CTA widget component to a function component that uses useEffect to only render after the props are received from the flipper vets-api endpoint.
Product pre-requisites / CHANGE MANAGEMENT
The CTA Widget is used all over the place by many teams in implementations we do not own. We need to understand:
Acceptance Criteria