You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Dan Dumont <dd...@us.ibm.com> on 2012/02/13 23:24:49 UTC

Review Request: Open-Views feature: views opened by gadgets do not always have their resultCallback called.

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3885/
-----------------------------------------------------------

Review request for shindig and Ryan Baxter.


Summary
-------

Added a lifecycle listener to handle when sites were closed so that sites always notify the opener gadget when they close.
Before, sites might not get closed through the open-views feature api, and that would result in the oper gadget never getting notified.

Also, we notify the opener gadget even if no result has been set so that it at least knows the view has been closed.


This addresses bug SHINDIG-1703.
    https://issues.apache.org/jira/browse/SHINDIG-1703


Diffs
-----

  http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/open-views/feature.xml 1242959 
  http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/open-views/viewenhancements-container.js 1242959 

Diff: https://reviews.apache.org/r/3885/diff


Testing
-------

Manual testing with sample gadgets that utilize this feature.


Thanks,

Dan


Re: Review Request: Open-Views feature: views opened by gadgets do not always have their resultCallback called.

Posted by Stanton Sievers <si...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3885/#review5061
-----------------------------------------------------------

Ship it!


LGTM

- Stanton


On 2012-02-13 22:24:49, Dan Dumont wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/3885/
> -----------------------------------------------------------
> 
> (Updated 2012-02-13 22:24:49)
> 
> 
> Review request for shindig and Ryan Baxter.
> 
> 
> Summary
> -------
> 
> Added a lifecycle listener to handle when sites were closed so that sites always notify the opener gadget when they close.
> Before, sites might not get closed through the open-views feature api, and that would result in the oper gadget never getting notified.
> 
> Also, we notify the opener gadget even if no result has been set so that it at least knows the view has been closed.
> 
> 
> This addresses bug SHINDIG-1703.
>     https://issues.apache.org/jira/browse/SHINDIG-1703
> 
> 
> Diffs
> -----
> 
>   http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/open-views/feature.xml 1242959 
>   http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/open-views/viewenhancements-container.js 1242959 
> 
> Diff: https://reviews.apache.org/r/3885/diff
> 
> 
> Testing
> -------
> 
> Manual testing with sample gadgets that utilize this feature.
> 
> 
> Thanks,
> 
> Dan
> 
>


Re: Review Request: Open-Views feature: views opened by gadgets do not always have their resultCallback called.

Posted by Ryan Baxter <rb...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3885/#review5067
-----------------------------------------------------------

Ship it!


LGTM


http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/open-views/feature.xml
<https://reviews.apache.org/r/3885/#comment11121>

    I dont think this is necessary as embedded-experiences already depends on container, but I don't think it will hurt anything.


- Ryan


On 2012-02-13 22:24:49, Dan Dumont wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/3885/
> -----------------------------------------------------------
> 
> (Updated 2012-02-13 22:24:49)
> 
> 
> Review request for shindig and Ryan Baxter.
> 
> 
> Summary
> -------
> 
> Added a lifecycle listener to handle when sites were closed so that sites always notify the opener gadget when they close.
> Before, sites might not get closed through the open-views feature api, and that would result in the oper gadget never getting notified.
> 
> Also, we notify the opener gadget even if no result has been set so that it at least knows the view has been closed.
> 
> 
> This addresses bug SHINDIG-1703.
>     https://issues.apache.org/jira/browse/SHINDIG-1703
> 
> 
> Diffs
> -----
> 
>   http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/open-views/feature.xml 1242959 
>   http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/open-views/viewenhancements-container.js 1242959 
> 
> Diff: https://reviews.apache.org/r/3885/diff
> 
> 
> Testing
> -------
> 
> Manual testing with sample gadgets that utilize this feature.
> 
> 
> Thanks,
> 
> Dan
> 
>


Re: Review Request: Open-Views feature: views opened by gadgets do not always have their resultCallback called.

Posted by Dan Dumont <dd...@us.ibm.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3885/#review5084
-----------------------------------------------------------

Ship it!


Committed r1244008

- Dan


On 2012-02-13 22:24:49, Dan Dumont wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/3885/
> -----------------------------------------------------------
> 
> (Updated 2012-02-13 22:24:49)
> 
> 
> Review request for shindig and Ryan Baxter.
> 
> 
> Summary
> -------
> 
> Added a lifecycle listener to handle when sites were closed so that sites always notify the opener gadget when they close.
> Before, sites might not get closed through the open-views feature api, and that would result in the oper gadget never getting notified.
> 
> Also, we notify the opener gadget even if no result has been set so that it at least knows the view has been closed.
> 
> 
> This addresses bug SHINDIG-1703.
>     https://issues.apache.org/jira/browse/SHINDIG-1703
> 
> 
> Diffs
> -----
> 
>   http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/open-views/feature.xml 1242959 
>   http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/open-views/viewenhancements-container.js 1242959 
> 
> Diff: https://reviews.apache.org/r/3885/diff
> 
> 
> Testing
> -------
> 
> Manual testing with sample gadgets that utilize this feature.
> 
> 
> Thanks,
> 
> Dan
> 
>