Feature Toggles

Title Text

  • Bullet One
  • Bullet Two
  • Bullet Three

Case Studies

  • Jane
  • Instructure
  • Canopy

Jane

Complex lists of features with associated data to allow a lot of  control.

Feature Rule Sets

  • Associated to the user
  • Comprised of Feature Items

Feature ITEMS

  • Can be "ON", "OFF" or "NOT-SET"
  • Have a timestamp for when last changed
  • After authentication the user's features are compared to rules

Feature Rules

  • Have a timestamp
  • Have a condition
  • At request time the timestamp and on/off/not-set flag are compared to the rule and the actual feature is here turned on or off for the user
  • Allows purely random samples, or more complicated rules, for example email regex or an is employee check

Managing / Using Flags

  • If it is for a feature that all users will have default to on, create a feature flag to disable.
  • They use feature flags to hide a branch of component trees
  • They use feature flags to develop component branches  - ComponentA and children for feature flag a, ComponentB and children for feature flag b
  • They avoid feature flag use on the server, preferring to simply set up new endpoints when necessary

Copy of Feature Toggles At MX

By Ryan Moore

Copy of Feature Toggles At MX

  • 105