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

Issue 7554047: Allow passing app config through app to subapps.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by rharding
Modified:
11 years, 1 month ago
Reviewers:
mp+153451, jeff.pihach, j.c.sackett
Visibility:
Public.

Description

Allow passing app config through app to subapps. - Adjusted the addSubApplications call to allow passing config - Add a blacklist of config we know that SubApps should never inherit from the main App. - Merge the application config with any config specified in the subApplications prototype list of subapps to mount. - Add a test that we can create app/subapp and that the config is merged correctly. https://code.launchpad.net/~rharding/juju-gui/subapp_config/+merge/153451 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 4

Patch Set 2 : Allow passing app config through app to subapps. #

Patch Set 3 : Allow passing app config through app to subapps. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -8 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M app/app.js View 2 chunks +3 lines, -2 lines 0 comments Download
M app/assets/javascripts/app-subapp-extension.js View 1 3 chunks +27 lines, -4 lines 0 comments Download
M app/config-debug.js View 1 chunk +6 lines, -1 line 0 comments Download
M app/config-prod.js View 1 chunk +6 lines, -1 line 0 comments Download
M test/test_subapp_app_extension.js View 1 1 chunk +42 lines, -0 lines 0 comments Download

Messages

Total messages: 4
rharding
Please take a look.
11 years, 1 month ago (2013-03-14 19:32:22 UTC) #1
j.c.sackett
lgtm. Thanks.
11 years, 1 month ago (2013-03-14 19:48:07 UTC) #2
jeff.pihach
LGTM land with changes. Thanks for creating this feature it's definitely needed! Just one small ...
11 years, 1 month ago (2013-03-14 19:48:42 UTC) #3
rharding
11 years, 1 month ago (2013-03-15 01:00:11 UTC) #4
*** Submitted:

Allow passing app config through app to subapps.

- Adjusted the addSubApplications call to allow passing config
- Add a blacklist of config we know that SubApps should never inherit from the
main App.
- Merge the application config with any config specified in the
subApplications prototype list of subapps to mount.
- Add a test that we can create app/subapp and that the config is merged
correctly.

R=jeff.pihach
CC=
https://codereview.appspot.com/7554047
Sign in to reply to this message.

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