Optimize scrolling behavior of Discover table#6683
Optimize scrolling behavior of Discover table#6683AMoo-Miki merged 1 commit intoopensearch-project:mainfrom
Conversation
| return ( | ||
| <tr data-test-subj="docTableHeader" className="osdDocTableHeader"> | ||
| <th style={{ width: '24px' }} /> | ||
| <th style={{ width: '28px' }} /> |
There was a problem hiding this comment.
24px for the button + 4px for a right padding = 28px
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6683 +/- ##
===========================================
+ Coverage 32.93% 67.66% +34.72%
===========================================
Files 2260 3415 +1155
Lines 45769 66886 +21117
Branches 7200 10884 +3684
===========================================
+ Hits 15075 45259 +30184
+ Misses 29984 19025 -10959
- Partials 710 2602 +1892
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
dbb8be3 to
a27f2c9
Compare
|
@AMoo-Miki for the test failure, I think it might be worth to reduce the number instead of having the test build in the non-optimized version. Versus modifying your logic for the test to pass. |
Also: * some minor cleanup Signed-off-by: Miki <miki@amazon.com>
a27f2c9 to
0e909d6
Compare
Since |
oh so you are saying it's an actual failure? i thought maybe the test might have just been actually expecting 50 rows that aren't in fully view but since we optimized it wasn't able to find those rows unless it was scrolled with |
kavilla
left a comment
There was a problem hiding this comment.
one test is flaky. and the link checker has been fixed. lgtm!!
Also: * some minor cleanup Signed-off-by: Miki <miki@amazon.com> (cherry picked from commit 9ac5203) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Also: * some minor cleanup Signed-off-by: Miki <miki@amazon.com> (cherry picked from commit 9ac5203) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Also: * some minor cleanup (cherry picked from commit 9ac5203) Signed-off-by: Miki <miki@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Also: * some minor cleanup (cherry picked from commit 9ac5203) Signed-off-by: Miki <miki@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Also: * some minor cleanup Signed-off-by: Miki <miki@amazon.com>
This is an improvement to opensearch-project#6683 Signed-off-by: Miki <miki@amazon.com>
This is an improvement to opensearch-project#6683 Signed-off-by: Miki <miki@amazon.com>
* Optimize scrolling behavior of Discover table This is an improvement to #6683 Signed-off-by: Miki <miki@amazon.com>
* Optimize scrolling behavior of Discover table This is an improvement to #6683 (cherry picked from commit ebe2b9f) Signed-off-by: Miki <miki@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Optimize scrolling behavior of Discover table This is an improvement to #6683 (cherry picked from commit ebe2b9f) Signed-off-by: Miki <miki@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
This change addresses three problems by lazy-loading additional rows when infinitely scrolling the table:
Issues Resolved
TBA
Screenshot
Before
Before.mov
After
After.mov
Changelog
Check List
yarn test:jestyarn test:jest_integration