Skip to content

[5.x] Reduce lag experienced when expanding doc table rows#9663

Merged
Bargs merged 1 commit into5.xfrom
jasper/backport/9326/5.x
Dec 27, 2016
Merged

[5.x] Reduce lag experienced when expanding doc table rows#9663
Bargs merged 1 commit into5.xfrom
jasper/backport/9326/5.x

Conversation

@elastic-jasper
Copy link
Contributor

Reduce lag experienced when expanding doc table rows

Backports PR #9326

Commit 1:
Only render JSON view when the user clicks the tab

Commit 2:
Decouple width polling from digest cycle

Commit 3:
documentation

Commit 4:
Flush those timeouts!

Commit 5:
Use debounce instead of timeout

Commit 6:
move assignment into if block

Commit 7:
Mock debounce so the tests don't need to know anything about its internals

@elastic-jasper elastic-jasper added backport This PR is a backport of another PR has conflicts labels Dec 27, 2016
Improves responsiveness by avoiding a couple of forced reflows.

* Only renders JSON doc view when requested, instead of rendering it as soon as the row is expanded.
* Improves fixedScroll directive by avoiding width/height checks during the digest cycle.

(cherry picked from commit b6969f5)
@Bargs Bargs force-pushed the jasper/backport/9326/5.x branch from ef9f2f3 to 9f10eee Compare December 27, 2016 23:01
@Bargs Bargs merged commit e3bd56a into 5.x Dec 27, 2016
@epixa epixa deleted the jasper/backport/9326/5.x branch December 28, 2016 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants