owl icon indicating copy to clipboard operation
owl copied to clipboard

wip

Open ged-odoo opened this issue 5 years ago • 5 comments

ged-odoo avatar Oct 30 '19 07:10 ged-odoo

part of #424

ged-odoo avatar Oct 30 '19 07:10 ged-odoo

I guess you meant 'part of #420'

aab-odoo avatar Nov 04 '19 11:11 aab-odoo

hmm, it's actually true that PR 424 is a part of PR 424...

ged-odoo avatar Nov 04 '19 15:11 ged-odoo

It is a bit of a shame not to track sets, as we could expect they'd work like arrays in useState But, I suppose implemening some kind of wrapper around add(), clear() etc... will be costly

kebeclibre avatar Dec 12 '19 16:12 kebeclibre

@kebeclibre this is one of the point of this issue. We should find a way to do that. It involves changing the prototype to another which overrides all the state-modifying methods of Set/Map/...

I have a few idea on how to do that, but it is certainly not high priority. Also, this will make the observer more complex.

ged-odoo avatar Dec 12 '19 19:12 ged-odoo