Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1042)

Issue 9682046: Move the featureFlag processor into window scope.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 11 months ago by rharding
Modified:
10 years, 11 months ago
Reviewers:
bcsaller, jeff.pihach, mp+165438
Visibility:
Public.

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)

Patch Set 1 #

Total comments: 2

Patch Set 2 : Move the featureFlag processor into window scope. #

Total comments: 7

Patch Set 3 : Move the featureFlag processor into window scope. #

Patch Set 4 : Move the featureFlag processor into window scope. #

Patch Set 5 : Move the featureFlag processor into window scope. #

Patch Set 6 : Move the featureFlag processor into window scope. #

Patch Set 7 : Move the featureFlag processor into window scope. #

Patch Set 8 : Move the featureFlag processor into window scope. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -89 lines) Patch
A [revision details] View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M app/app.js View 3 chunks +4 lines, -78 lines 0 comments Download
M app/index.html View 1 2 2 chunks +86 lines, -0 lines 0 comments Download
M test/index.html View 1 chunk +3 lines, -0 lines 0 comments Download
A test/test_feature_flags.js View 1 chunk +86 lines, -0 lines 0 comments Download
M test/test_routing.js View 1 chunk +0 lines, -11 lines 0 comments Download
M test/test_startup.js.bottom View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 8
rharding
Please take a look.
10 years, 11 months ago (2013-05-23 16:37:38 UTC) #1
rharding
Please take a look.
10 years, 11 months ago (2013-05-23 16:46:24 UTC) #2
bcsaller
Thanks for this, I think this is moving in the right direction but I did ...
10 years, 11 months ago (2013-05-23 17:18:49 UTC) #3
gary.poster
https://codereview.appspot.com/9682046/diff/3001/app/index.html File app/index.html (right): https://codereview.appspot.com/9682046/diff/3001/app/index.html#newcode238 app/index.html:238: /** On 2013/05/23 17:18:50, bcsaller wrote: > What do ...
10 years, 11 months ago (2013-05-23 17:23:36 UTC) #4
jeff.pihach
LGTM Thanks there is a trivial request if you so choose. https://codereview.appspot.com/9682046/diff/1/app/index.html File app/index.html (right): ...
10 years, 11 months ago (2013-05-23 17:28:22 UTC) #5
rharding
Responses below. https://codereview.appspot.com/9682046/diff/3001/app/index.html File app/index.html (right): https://codereview.appspot.com/9682046/diff/3001/app/index.html#newcode238 app/index.html:238: /** On 2013/05/23 17:18:50, bcsaller wrote: > ...
10 years, 11 months ago (2013-05-23 17:29:43 UTC) #6
bcsaller
LGTM Thanks for the follow up.
10 years, 11 months ago (2013-05-23 17:34:21 UTC) #7
rharding
10 years, 11 months ago (2013-05-23 18:50:58 UTC) #8
*** Submitted:

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.

R=bcsaller, gary.poster, jeff.pihach
CC=
https://codereview.appspot.com/9682046
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b