hitrust / google-wave-resources

Automatically exported from code.google.com/p/google-wave-resources
1 stars 0 forks source link

Nestable Gadgets #633

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It would be nice if a gadget could contain other gadgets. They would have
iframes inside of the iframe of their parent gadget, and their own state,
which would be accessible to robots.

Either parent gadgets would need to receive an event for dynamic resizes,
or they would have to specify whether to trigger their own resizing for the
resize of a child.

My particular use case is that I want to be able to create a gadget that
only shows its child gadget under certain circumstances, but it would be
nice to have nestable gadgets in general.

Original issue reported on code.google.com by rockwalrus@gmail.com on 22 Jan 2010 at 4:31

GoogleCodeExporter commented 9 years ago
Hmm. So, the child gadget has state? Is there a reason you don't just toggle a 
DIV on 
and off? Given the latency issues of iframes and sending messages across their 
borders, 
I think we would try to avoid encouraging nested gadgets.

Original comment by pamela.fox on 23 Jan 2010 at 1:30

GoogleCodeExporter commented 9 years ago
I'm creating an IDE for developing Wave gadgets (tidal-ide@appspot.com).  The 
gadget
files are stored in memcache, with a five hour expiry.  I'd like to be able 
check
that the gadget files still are in the cache before showing the gadget, and 
informing
the user how to refresh the cache if the the file isn't currently in it.

Original comment by rockwalrus@gmail.com on 24 Jan 2010 at 5:05

GoogleCodeExporter commented 9 years ago
This is the only use case that I have heard for nestable gadgets so far, and it 
is a 
rather unique one, so I'm not sure we have the resources to support it just for 
this 
use case.

I also have a gadget editor, but I use the wave as the environment and just 
embed the 
gadget in the wave. Have you tried going down that route?

Original comment by pamela.fox on 1 Feb 2010 at 11:13