Merge lp://staging/~rharding/juju-gui/global-ff into lp://staging/juju-gui/experimental
Status: | Needs review |
---|---|
Proposed branch: | lp://staging/~rharding/juju-gui/global-ff |
Merge into: | lp://staging/juju-gui/experimental |
Diff against target: |
355 lines (+187/-89) 6 files modified
app/app.js (+4/-78) app/index.html (+86/-0) test/index.html (+3/-0) test/test_feature_flags.js (+86/-0) test/test_routing.js (+0/-11) test/test_startup.js.bottom (+8/-0) |
To merge this branch: | bzr merge lp://staging/~rharding/juju-gui/global-ff |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju GUI Hackers | Pending | ||
Review via email: mp+165438@code.staging.launchpad.net |
Commit message
Move the featureFlag processor into window scope.
- In order to check for feature flags the processing must be done before the
app starts
- Adds some tests to verify we parse the url correctly with our regex/etc.
- Update the app.js to not deal with feature flags. It's done in index.html.
- Update the simulateEvents to be triggered by the feature flag existing vs
the custom route.
https:/
R=bcsaller, hatch
R=bcsaller, hatch
Description of the change
Move the featureFlag processor into window scope.
- In order to check for feature flags the processing must be done before the
app starts
- Adds some tests to verify we parse the url correctly with our regex/etc.
- Update the app.js to not deal with feature flags. It's done in index.html.
- Update the simulateEvents to be triggered by the feature flag existing vs
the custom route.
Reviewers: mp+165438_ code.launchpad. net,
Message:
Please take a look.
Description:
Move the featureFlag processor into window scope.
- In order to check for feature flags the processing must be done before
the
app starts
- Adds some tests to verify we parse the url correctly with our
regex/etc.
- Update the app.js to not deal with feature flags. It's done in
index.html.
- Update the simulateEvents to be triggered by the feature flag existing
vs
the custom route.
https:/ /code.launchpad .net/~rharding/ juju-gui/ global- ff/+merge/ 165438
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/9682046/
Affected files: feature_ flags.js routing. js startup. js.bottom
A [revision details]
M app/app.js
M app/index.html
M test/index.html
A test/test_
M test/test_
M test/test_