> On March 4, 2013, 11:22 a.m., Yuri Zelikov wrote: > > Umm, I think it would be better to try and fix the issues with gadgets that > > don't work properly. Can you tell me what are the names of gadgets that > > don't work?
I don't know with gadgets use this feature without looking their code, but for instance one of our gadgets do: http://mass-mob.appspot.com/massmob/org.ourproject.massmob.client.MassmobGadget.gadget.xml if you play with the disclosure panels and also opening/closing the wave, you will see the gadget truncated in some point (some times even after adding the gadget). But with this patch reverted you have the blip always with the correct height. We were using this gadget for years without any problem. I don't remember now the name of other gadgets with the same problem. - Vicente J. ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/8008/#review17332 ----------------------------------------------------------- On Nov. 10, 2012, 4:50 p.m., rocklund wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/8008/ > ----------------------------------------------------------- > > (Updated Nov. 10, 2012, 4:50 p.m.) > > > Review request for wave. > > > Description > ------- > > GadgetWidget already have a saved height property to be able to load its > correct height faster when a wave is loaded. This property was however not > properly used so gadget heights got changed several times during wave > loading, forcing the user to wait until all gadgets was loaded until he/she > could start to read the wave. > > This patch fixes so that gadgets load with their saved heights if they have > any. A new height is saved when the user perform an action on the gadget that > causes its height to be changed. This greatly improves the perceived load > time of waves with many gadgets. > > > Please review, thanks! > > > Diffs > ----- > > src/org/waveprotocol/wave/client/gadget/renderer/GadgetWidget.java f89abfd > src/org/waveprotocol/wave/client/gadget/renderer/GadgetWidgetUi.java > 50b205d > > Diff: https://reviews.apache.org/r/8008/diff/ > > > Testing > ------- > > Tested on locally run server with most of the gadgets. Trying both the more > static gadgets and the gadgets that have more dynamic heights. > > > Thanks, > > rocklund > >
