----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/8008/#review17181 -----------------------------------------------------------
Sorry but since this review was applied several gadgets are not setting its height correctly. For instance this: http://mass-mob.appspot.com/massmob/org.ourproject.massmob.client.MassmobGadget.gadget.xml that uses adjustHeight gadget feature. https://developers.google.com/gadgets/docs/ui?hl=en#Dyn_Height so I propose to revert back this patch til this is fixed. - Vicente J. Ruiz Jurado 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 > >
