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

Issue 9036049: Fixes #1174358 remove dupe code/driveby route fix

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years ago by rharding
Modified:
11 years ago
Reviewers:
mp+163575, gary.poster, j.c.sackett
Visibility:
Public.

Description

Fixes #1174358 remove dupe code/driveby route fix - subapp views search and editorial share some common event handling code as you can select, activate, etc on both views. - Performs a drive by fix for making REALLY sure that the Y.Router uses the QueryString.parse method to parse query strings. Per call with Gary, we just directly monkey patch Y.Router when our own route code loads. - Remove the old hack of prefixing the module list in index.html. - Add a test in the route code that Y.Router._parseQuery will in fact parse a list-value query string. https://code.launchpad.net/~rharding/juju-gui/dupe-code-1174358/+merge/163575 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Fixes #1174358 remove dupe code/driveby route fix #

Total comments: 10

Patch Set 3 : Fixes #1174358 remove dupe code/driveby route fix #

Patch Set 4 : Fixes #1174358 remove dupe code/driveby route fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+544 lines, -512 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M app/assets/javascripts/ns-routing-app-extension.js View 3 chunks +10 lines, -3 lines 0 comments Download
M app/index.html View 1 chunk +1 line, -5 lines 0 comments Download
M app/modules-debug.js View 1 chunk +4 lines, -0 lines 0 comments Download
M app/subapps/browser/browser.js View 1 chunk +6 lines, -0 lines 0 comments Download
A app/subapps/browser/views/charmresults.js View 1 2 1 chunk +181 lines, -0 lines 0 comments Download
M app/subapps/browser/views/editorial.js View 1 1 chunk +147 lines, -263 lines 0 comments Download
M app/subapps/browser/views/search.js View 1 2 1 chunk +173 lines, -238 lines 0 comments Download
M test/test_routing.js View 2 chunks +20 lines, -3 lines 0 comments Download

Messages

Total messages: 9
rharding
Please take a look.
11 years ago (2013-05-13 17:52:26 UTC) #1
rharding
Please take a look.
11 years ago (2013-05-13 18:01:21 UTC) #2
gary.poster
LGTM. I skimmed the meat of the now-less-duplicated classes, and did not do QA. I'm ...
11 years ago (2013-05-13 18:20:33 UTC) #3
j.c.sackett
Rick-- Not sure about implementing this as a parent class; as it's not a complete ...
11 years ago (2013-05-13 18:34:05 UTC) #4
rharding
JC, I've tried to look at this as an extension and I'm not really sold. ...
11 years ago (2013-05-14 10:54:08 UTC) #5
j.c.sackett
On 2013/05/14 10:54:08, rharding wrote: > JC, I've tried to look at this as an ...
11 years ago (2013-05-14 13:17:56 UTC) #6
rharding
Please take a look.
11 years ago (2013-05-14 13:27:44 UTC) #7
j.c.sackett
LGTM. Thanks for those changes.
11 years ago (2013-05-14 14:03:12 UTC) #8
rharding
11 years ago (2013-05-14 14:20:16 UTC) #9
*** Submitted:

Fixes #1174358 remove dupe code/driveby route fix

- subapp views search and editorial share some common event handling code as
you can select, activate, etc on both views.

- Performs a drive by fix for making REALLY sure that the Y.Router uses the
QueryString.parse method to parse query strings. Per call with Gary, we just
directly monkey patch Y.Router when our own route code loads.
- Remove the old hack of prefixing the module list in index.html.
- Add a test in the route code that Y.Router._parseQuery will in fact parse a
list-value query string.

R=gary.poster, j.c.sackett
CC=
https://codereview.appspot.com/9036049
Sign in to reply to this message.

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