| Age | Commit message (Collapse) | Author |
|
bzr revid: xmo@openerp.com-20110922153026-742c7cc76zv9f2t6
|
|
headers
bzr revid: xmo@openerp.com-20110922152704-lu36gl07ijnkd3sl
|
|
In some cases, at least with complex-enough views, inserting many
options in a document in a row will get progressively slower.
In import, this issue is hit on trying to import partners: partners
have a humongous number of fields (direct and on their o2m), ~940,
which yields a correspondingly huge number of options in the
selection.
A basic partner export also has quite high a number of columns (~50
without exporting o2m fields), so this list of 940 options is inserted
50 times in a row (literally too, they're all in the same table row)..
While not all that fast, Firefox 5/6 has no significant issue with
this (~18ms/insertion, where an insertion is a full select with all
its options). Webkit browsers (Chrome and Safari) on the other hand
start out fair (~10ms/insertion), but get slower and slower until they
end up at 3~5 *seconds* for each insertion (3s if inserting a
DocumentFragment, 5s if inserting text via innerHTML). This means the
preview table takes up to *two minutes* to display, even the best
cases (pre-generating everything that can be and optimizing everything
I could think of) take 75 *seconds* for the insertions (the
pregeneration of a given select and its options is ~100ms, the base
template rendering is ~20ms).
rendering divs or inputs does not have this issue, I did not manage to
reduce or fix the issue directly so I replaced the options by
jQuery-ui's autocomplete widget. This is not issues-free: when tabbing
through the fields lists, when reaching the edge of the popup the
browser will automatically scroll the field back into view. However,
this is done *after* autocomplete's popup has opened, and as a result
the popup opens in the wrong place (at the popup's edge, instead of
under the now-moved field).
bzr revid: xmo@openerp.com-20110922085812-3u1esk6czraskm01
|
|
bzr revid: kch@tinyerp.com-20110919052218-lpz4jy6k2bu1inxv
|
|
bzr revid: kch@tinyerp.com-20110915070222-1sw9bpp36s42nvt2
|
|
shows message and field will red coloration.
bzr revid: kch@tinyerp.com-20110915064753-mij2danikyv9iouh
|
|
bzr revid: fme@openerp.com-20110914154610-hlha0bp28197xg1m
|
|
bzr revid: nicolas.vanhoren@openerp.com-20110915123754-iun1kwli7kzl9lm5
|
|
bzr revid: nicolas.vanhoren@openerp.com-20110915093144-0ix1tdc8mcmx6l9p
|
|
bzr revid: fme@openerp.com-20110915081241-3q4us9bweru4iyx1
|
|
bzr revid: nicolas.vanhoren@openerp.com-20110914155127-yc7nnjeo9nx4qdtu
|
|
bzr revid: nicolas.vanhoren@openerp.com-20110914143028-bwjnpw8vbubjc90k
|
|
render the help menu (used by e.g. dashboards)
bzr revid: xmo@openerp.com-20110914131635-qyvwgvw2y67h9pu0
|
|
bzr revid: xmo@openerp.com-20110914121305-mcey8e3t36omkr2k
|
|
session
bzr revid: xmo@openerp.com-20110914101531-ci5c8z7rearvycyh
|
|
bzr revid: xmo@openerp.com-20110914100833-fo4arcaa92zu1361
|
|
bzr revid: xmo@openerp.com-20110914093409-1hc5skp9mn17ieir
|
|
(display view code button) to viewmanageraction as well
bzr revid: xmo@openerp.com-20110914091319-o1941w689183wivt
|
|
bzr revid: kch@tinyerp.com-20110913093756-2z6g8p059lgjxpxq
|
|
menu is closed
lp bug: https://launchpad.net/bugs/842793 fixed
bzr revid: xmo@openerp.com-20110913073730-caukax89lhgwqpch
|
|
bzr revid: kch@tinyerp.com-20110913054406-yrjafv0qdzzijizz
|
|
bzr revid: kch@tinyerp.com-20110912125900-flvro2f4qsllik14
|
|
lp bug: https://launchpad.net/bugs/842545 fixed
bzr revid: xmo@openerp.com-20110912130518-kmvebgjdwzz30ibj
|
|
bzr revid: vda@tinyerp.com-20110912125738-ngubj1wpfp6t7s4u
|
|
bzr revid: vda@tinyerp.com-20110912105654-h8s5xvwbdn3nqe8a
|
|
bzr revid: vda@tinyerp.com-20110912105325-0e7f9jmt79ztao5w
|
|
bzr revid: vda@tinyerp.com-20110912082426-snwh0cc5ac75g7xz
|
|
bzr revid: kch@tinyerp.com-20110909114933-4f0zgiedo9dp865h
|
|
new version was simpler, it was also completely broken
issue here is that <tr> element bears a foreach, which we have to keep, so can't just insert new tds in the row (they'll get repeated), we can't remove the tr (not without grafting the old attributes), etc...
it's really kind-of a pain.
Basically, the replaceAll() is used to make the <t> just created replace the <tr> matched, the unwrapAll removes the <table> around it all, resulting in a <t> with the buttons inserted before and after it, all landed in the editable-listview-generated-row
bzr revid: xmo@openerp.com-20110909134244-mbf5sf4to09fvsyi
|
|
bzr revid: nicolas.vanhoren@openerp.com-20110908163536-bewx1817u96t11rc
|
|
bzr revid: nicolas.vanhoren@openerp.com-20110908160451-gh5josp0nmn3vn7u
|
|
bzr revid: nicolas.vanhoren@openerp.com-20110908154551-oti347kv6f7h0q2y
|
|
bzr revid: nicolas.vanhoren@openerp.com-20110908153715-k3ur78w85kb24iv7
|
|
bzr revid: nicolas.vanhoren@openerp.com-20110908152337-6xsfyicntnm6t7mx
|
|
bzr revid: nicolas.vanhoren@openerp.com-20110908151153-7jiqei1abo90q6sx
|
|
bzr revid: nicolas.vanhoren@openerp.com-20110908150932-kfyot4ivb6auhnod
|
|
bzr revid: nicolas.vanhoren@openerp.com-20110908150645-uqj6f9f5icnsf3jx
|
|
bzr revid: kch@tinyerp.com-20110908103919-0elkj4hdhhgpvx6o
|
|
function fields
lp bug: https://launchpad.net/bugs/823049 fixed
bzr revid: xmo@openerp.com-20110908101406-f6r8bgt155nq65in
|
|
lp bug: https://launchpad.net/bugs/838924 fixed
bzr revid: fme@openerp.com-20110907163315-b014e9pulr3nsqt4
|
|
is being edited
dynamically add and remove padding rows
lp bug: https://launchpad.net/bugs/842644 fixed
bzr revid: xmo@openerp.com-20110908125510-fb7vcjsixj5sqhpz
|
|
bzr revid: kch@tinyerp.com-20110906125440-turixz49exf0po30
|
|
bzr revid: nicolas.vanhoren@openerp.com-20110905160246-4ihfm83ciasubjsx
|
|
bzr revid: nicolas.vanhoren@openerp.com-20110905160206-7f2mcaiicggsms18
|
|
bzr revid: nicolas.vanhoren@openerp.com-20110905160142-7ejecycad72seynn
|
|
bzr revid: nicolas.vanhoren@openerp.com-20110905155935-u68a6vo9n8z4xq92
|
|
bzr revid: nicolas.vanhoren@openerp.com-20110905151420-nnjh005ol8dsouhx
|
|
bzr revid: nicolas.vanhoren@openerp.com-20110905141116-p9b7q2b49tsdzluf
|
|
bzr revid: nicolas.vanhoren@openerp.com-20110905140439-n858qs02fwnib5ac
|
|
bzr revid: nicolas.vanhoren@openerp.com-20110905122702-47eocoa0hn82zleg
|