enonic / app-contentstudio-old

Enonic XP - Content Studio app
GNU General Public License v3.0
1 stars 1 forks source link

Debounce refresh of content preview/editor on server events #506

Closed alansemenov closed 6 years ago

alansemenov commented 6 years ago

We refresh Content preview panel (the grid) and Page editor (the Wizard) whenever one of the outbound dependencies of the content is updated. If there are multiple batch updates of the dependent content, it would refresh as many times as well, resulting in flickering etc. Debounce the refresh so that it would update just once, after all updates are finished.