Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize scrolling behavior of Discover table #7017

Merged
merged 2 commits into from
Jun 13, 2024

Conversation

AMoo-Miki
Copy link
Collaborator

@AMoo-Miki AMoo-Miki commented Jun 13, 2024

This is an improvement to #6683

To prevent influencing the auto-sizing, this change unset the column widths from a previous render. It results in a much better auto-sizing outcome.

Testing the changes

  1. Open discover in legacy tables.
  2. Add columns manually.
  3. Expect columns sizing to be acceptable.

Changelog

  • skip

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

This is an improvement to opensearch-project#6683

Signed-off-by: Miki <miki@amazon.com>
@github-actions github-actions bot added distinguished-contributor Skip-Changelog PRs that are too trivial to warrant a changelog or release notes entry labels Jun 13, 2024
@AMoo-Miki AMoo-Miki added backport 2.x v2.15.0 backport 2.15 and removed Skip-Changelog PRs that are too trivial to warrant a changelog or release notes entry labels Jun 13, 2024
This is an improvement to opensearch-project#6683

Signed-off-by: Miki <miki@amazon.com>
@AMoo-Miki AMoo-Miki added the Skip-Changelog PRs that are too trivial to warrant a changelog or release notes entry label Jun 13, 2024
Copy link

codecov bot commented Jun 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.46%. Comparing base (e74ed2c) to head (b136393).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7017      +/-   ##
==========================================
+ Coverage   67.45%   67.46%   +0.01%     
==========================================
  Files        3442     3442              
  Lines       67816    67816              
  Branches    11027    11027              
==========================================
+ Hits        45742    45752      +10     
+ Misses      19408    19397      -11     
- Partials     2666     2667       +1     
Flag Coverage Δ
Linux_1 33.08% <ø> (ø)
Linux_2 55.11% <ø> (ø)
Linux_3 45.19% <ø> (-0.01%) ⬇️
Linux_4 34.86% <ø> (ø)
Windows_1 33.13% <ø> (+0.02%) ⬆️
Windows_2 55.06% <ø> (ø)
Windows_3 45.21% <ø> (ø)
Windows_4 34.86% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@AMoo-Miki AMoo-Miki merged commit ebe2b9f into opensearch-project:main Jun 13, 2024
71 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 13, 2024
* Optimize scrolling behavior of Discover table

This is an improvement to #6683

Signed-off-by: Miki <miki@amazon.com>
(cherry picked from commit ebe2b9f)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 13, 2024
* Optimize scrolling behavior of Discover table

This is an improvement to #6683

Signed-off-by: Miki <miki@amazon.com>
(cherry picked from commit ebe2b9f)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AMoo-Miki pushed a commit that referenced this pull request Jun 13, 2024
* 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>
AMoo-Miki pushed a commit that referenced this pull request Jun 13, 2024
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport 2.15 distinguished-contributor Skip-Changelog PRs that are too trivial to warrant a changelog or release notes entry v2.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants