Merge lp:~rharding/launchpad/gallery-accordian_fix into lp:launchpad
Status: | Merged |
---|---|
Approved by: | j.c.sackett |
Approved revision: | no longer in the source branch. |
Merged at revision: | 14821 |
Proposed branch: | lp:~rharding/launchpad/gallery-accordian_fix |
Merge into: | lp:launchpad |
Prerequisite: | lp:~rharding/launchpad/combo_yui_tests5 |
Diff against target: |
183 lines (+15/-19) 11 files modified
buildout-templates/bin/combine-css.in (+2/-6) buildout-templates/bin/combo-rootdir.in (+0/-2) lib/lp/app/javascript/tests/test_beta_notification.html (+1/-1) lib/lp/app/javascript/tests/test_listing_navigator.html (+1/-1) lib/lp/app/templates/base-layout.pt (+3/-0) lib/lp/bugs/javascript/tests/test_buglisting.html (+1/-1) lib/lp/bugs/javascript/tests/test_bugtask_delete.html (+2/-3) lib/lp/bugs/javascript/tests/test_bugtask_delete.js (+1/-1) lib/lp/code/javascript/tests/test_branchmergeproposal.nominate.html (+1/-2) lib/lp/registry/javascript/tests/test_structural_subscription.html (+1/-1) lib/lp/registry/javascript/tests/test_team_mailinglists.html (+2/-1) |
To merge this branch: | bzr merge lp:~rharding/launchpad/gallery-accordian_fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
j.c.sackett (community) | Approve | ||
Review via email: mp+93406@code.launchpad.net |
This proposal supersedes a proposal from 2012-02-15.
Commit message
[r=jcsackett]
Description of the change
= Summary =
Ignore the poor branch name. This started out as fixing gallery-accordion for the combo loader so that it can be served via the build/js directory. In the end, the goal was to wipe out contrib and find better homes for all of the code there.
== Proposed Fix ==
We've moved the accordion and mustache code into lib/lp/app. We then moved the google analytics to the icing directory and pull it in with the rest of the GA setup code in the base-layout instead. Finally, we moved the webfonts to the place it was originally symlinked from.
== Implementation Details ==
These changes required us to update tests to pull from the build location vs the contrib directory, but in the end, since things are pulled in via YUI.use(), it doesn't require any changes to the real JS blocks.
== Tests ==
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
== Demo and Q/A ==
- The mustache templates when using the bug listings should still work fine
- The Google Analytics code should still load on each page load if you have the combo loader FF or not.
- You should still get the custom fonts css on every page load
- The structural subscriptions view should still be able to load the accordion code if you have the combo loader FF or not enabled.
Rick--
This looks good to me. Thanks for cutting through the underbrush of our JS some. :-)