Skip to content

support for using growthbook features and to handle restrictions via growthbook ui- minds#2905

Mark Harding requested to merge refactor/growthbook-features into master

Ticket(s) / Related Merge Requests

minds#2905 (closed)

Summary of Changes

  • Uses Growthbook Features (proxied via minds engine config)
  • Supports finer grained conditions for when experiments are shown
  • Submits a snowplow event when an experiment has been views (removed contexts as too noisey)

Testing Considerations

  • Clear local storage. Login.
  • Go to your channel page
  • Look in console log for 'MH: experiment...' events

Regression Scope

  • Experiments not firing

Platform Affected (web, mobile, etc)

Web app

Developer Testing Completed

  • Console log is showing
  • To refresh the cached experiments run kubectl exec -it deployments/refactor-growthbook-features-minds-engine-sandbox -- sh -c "source /vault/secrets/env && php /var/www/Minds/engine/cli.php Growthbook syncCache" (this will be on a cronjob but out of scope for this task)
  • Did the cache bust? Look in /api/v1/minds/config and see the output of 'growthbook->features'.

Screenshots

(Any extra UI screens that can be shared)

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode
Edited by Mark Harding

Merge request reports