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

Issue 1862041: Update common container JS to use Shindig gadget handler (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 8 months ago by mhermanto
Modified:
15 years, 5 months ago
Reviewers:
johnfargo, shindig.remailer
Base URL:
http://svn.apache.org/repos/asf/shindig/trunk
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : Added small new APIs to container.js #

Patch Set 3 : Updated #

Total comments: 8

Patch Set 4 : Updated again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -97 lines) Patch
features/src/main/javascript/features/container/container.js View 1 2 chunks +30 lines, -5 lines 0 comments Download
features/src/main/javascript/features/container/gadget_holder.js View 1 3 6 chunks +19 lines, -59 lines 0 comments Download
features/src/main/javascript/features/container/init.js View 1 1 chunk +0 lines, -2 lines 0 comments Download
features/src/main/javascript/features/container/service.js View 1 3 chunks +3 lines, -12 lines 0 comments Download
features/src/main/javascript/features/container/util.js View 1 3 chunks +58 lines, -19 lines 0 comments Download

Messages

Total messages: 7
mhermanto
15 years, 8 months ago (2010-07-15 19:45:31 UTC) #1
mhermanto
Added small new APIs to container.js
15 years, 8 months ago (2010-07-15 20:42:15 UTC) #2
johnfargo
Looks good. Mostly structuring nits; let's sync our CLs and complete this out. http://codereview.appspot.com/1862041/diff/9002/15004 File ...
15 years, 8 months ago (2010-07-21 09:45:25 UTC) #3
mhermanto
Updated again
15 years, 8 months ago (2010-07-21 19:17:07 UTC) #4
mhermanto
On 2010/07/21 19:17:07, mhermanto wrote: > Updated again I uploaded another patch. Please pick up ...
15 years, 8 months ago (2010-07-21 19:18:12 UTC) #5
mhermanto
http://codereview.appspot.com/1862041/diff/9002/15004 File features/src/main/javascript/features/container/container.js (right): http://codereview.appspot.com/1862041/diff/9002/15004#newcode204 features/src/main/javascript/features/container/container.js:204: }); On 2010/07/21 09:45:26, johnfargo wrote: > why not ...
15 years, 8 months ago (2010-07-21 19:18:45 UTC) #6
johnfargo
15 years, 8 months ago (2010-07-22 01:31:19 UTC) #7
LGTM, committed.

shindig.uri is too.

On 2010/07/21 19:18:45, mhermanto wrote:
> http://codereview.appspot.com/1862041/diff/9002/15004
> File features/src/main/javascript/features/container/container.js (right):
> 
> http://codereview.appspot.com/1862041/diff/9002/15004#newcode204
> features/src/main/javascript/features/container/container.js:204: });
> On 2010/07/21 09:45:26, johnfargo wrote:
> > why not just have this method call:
> > this.getGadgetMetadata(gadgetUrls, function(response) { ...stuff... } );
> 
> Good idea on having less code, but I think service itself should deal with
more
> raw/flexible request and caching/transport mechanism underneath, instead of
the
> actual request itself. Example use case we may want to pass filtering data in
> request (as already supported by endpoint, not verified by me yet). This
cannot
> be expressed by just gadgetUrls. Clients will not use service directly, they
> will do this via this method.
> 
> http://codereview.appspot.com/1862041/diff/9002/15004#newcode214
> features/src/main/javascript/features/container/container.js:214: gadgetUrl,
> callback) {
> On 2010/07/21 09:45:26, johnfargo wrote:
> > ...thus changing gadgetUrl to gadgetUrls
> 
> Same reason.
> 
> http://codereview.appspot.com/1862041/diff/9002/15003
> File features/src/main/javascript/features/container/gadget_holder.js (right):
> 
> http://codereview.appspot.com/1862041/diff/9002/15003#newcode269
> features/src/main/javascript/features/container/gadget_holder.js:269: uri =
> this.updateBooleanQueryParam_(uri, 'testmode');
> On 2010/07/21 09:45:26, johnfargo wrote:
> > feel free to use shindig.uri once committed :)
> > 
> 
> For sure. :)
> 
> http://codereview.appspot.com/1862041/diff/9002/15001
> File features/src/main/javascript/features/container/util.js (right):
> 
> http://codereview.appspot.com/1862041/diff/9002/15001#newcode140
> features/src/main/javascript/features/container/util.js:140: };
> On 2010/07/21 09:45:26, johnfargo wrote:
> > shindig.uri ftw
> 
> Yes. Once shindig.uri.committed.
Sign in to reply to this message.

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