Feature Manager addon allows developers to define and turn on/off features for different reasons. It also allows them to test different implementations of a particular feature.
This addon can only be used by the latest version of ember-cli (0.2.3)
You can add the addon into your application with the command below:
ember install ember-cli-feature-manager
This addon reads the setup/configuration data from the
ENV.APP of the
You can specify the names of the service and feature-data using
featureManagerFixturesName attributes respectively.
These default to
The service name is what get used when injecting the addon into routes, controllers, and components. The feature-data name specifies the array object that contains a list of features. Below is the data format:
APP:featureManagerService: 'features'featureManagerFixtures: 'FEATURES'FEATURES:name: 'search'flag: trueimplementations: 'facetView' 'backend-solr' 'backend-essearch' 'google'selected: 'facetView'name: 'login'flag: true
git clonethis repository
- Visit your app at http://localhost:4200.
ember test --server
For more information on using ember-cli, visit http://www.ember-cli.com/.
- Finish the design of how
selectedattributes, will be used
- Write tests
- write proper documentation