Coder Social home page Coder Social logo

dazzlingfugu / ember-feature-controls Goto Github PK

View Code? Open in Web Editor NEW
7.0 32.0 3.0 4.46 MB

Hot plug your features.

Home Page: https://dazzlingfugu.github.io/ember-feature-controls/

License: MIT License

JavaScript 78.96% HTML 6.00% Handlebars 6.93% TypeScript 7.78% CSS 0.33%
ember ember-addon feature-flags feature-toggles features-switch feature-toggle feature-flag hacktoberfest

ember-feature-controls's People

Contributors

amessinger avatar bluecutofficial avatar cah-danmonroe avatar dependabot[bot] avatar ember-tomster avatar github-actions[bot] avatar greatwizard avatar mengsokun19 avatar mrchocolatine avatar pixelik avatar romgere avatar saintsebastian avatar yonmey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ember-feature-controls's Issues

[JS-951] ember-local-storage config is not correctly handle when not default

Features values are not correctly restored by instance-initializer when ember-local-storage is used with namespace or keyDelimiter options.

The reason is :

feature-controls component uses storageFor from ember-local-storage to write values in locale Store (https://github.com/peopledoc/ember-feature-controls/blob/master/addon/components/feature-controls.js#L6).
storageFor take into account the ember-local-storage config to write the key at the right place in locale storage (with correct namespace and/or delimiter).

In other hand, the instance initializer uses getStorage & get value with the storage:feature-controls key wich does not take into account the ember-local-storage config (https://github.com/peopledoc/ember-feature-controls/blob/master/addon/instance-initializers/load-feature-controls.js#L9)

It results with a desynchronisation between ember-feature-controls & ember-feature-flags as the value are not correctly restored onto ember-feature-flags features service.

Missing integration tests

Feature controls components:

  • showRefresh option
  • showReset option
  • refresh button action
  • reset button action

clean-css 4.x dependencie

We will need to delete the resolution deps of clean-css when ember-cli will upgrade his deps to ember-cli-preprocess-registry v4.x.x because it doens't use it anymore

//package.json "resolutions": { "clean-css": "^4.1.11" }

it could also bring new issue with node.js 12
see: ember-cli/ember-cli-preprocess-registry#71

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.