-
Notifications
You must be signed in to change notification settings - Fork 919
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
fix(discover): truncate height of table cell #7178
Conversation
Signed-off-by: Joshua Li <[email protected]>
❌ Empty Changelog SectionThe Changelog section in your PR description is empty. Please add a valid changelog entry or entries. If you did add a changelog entry, check to make sure that it was not accidentally included inside the comment block in the Changelog section. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7178 +/- ##
==========================================
- Coverage 67.56% 67.55% -0.01%
==========================================
Files 3469 3469
Lines 68508 68479 -29
Branches 11141 11130 -11
==========================================
- Hits 46289 46264 -25
+ Misses 19514 19512 -2
+ Partials 2705 2703 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I remember we decided against using clamp in favor of the value from Advanced Settings. I remember some match written to handle this but a quick search doesn't bring it up. The reason for the new math is that |
got it
i think supporting value from advanced settings is a new feature, but right now it doesn't truncate at all which is a bug/regression. we can fix the bug first to improve readability for users, then improve it by implementing the feature and remove legacy stuff |
* fix(discover): truncate height of table cell Signed-off-by: Joshua Li <[email protected]> * Changeset file for PR #7178 created/updated --------- Signed-off-by: Joshua Li <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> (cherry picked from commit 21f4218) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(discover): truncate height of table cell * Changeset file for PR #7178 created/updated --------- (cherry picked from commit 21f4218) Signed-off-by: Joshua Li <[email protected]> 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> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
* fix(discover): truncate height of table cell Signed-off-by: Joshua Li <[email protected]> * Changeset file for PR #7178 created/updated --------- Signed-off-by: Joshua Li <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> (cherry picked from commit 21f4218) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(discover): truncate height of table cell * Changeset file for PR #7178 created/updated --------- (cherry picked from commit 21f4218) Signed-off-by: Joshua Li <[email protected]> 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> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
…ect#7178) (opensearch-project#8257)" This reverts commit 4b5d369.
Could you please tell me - in which version of Opensearch Dashboards is this fix planned to be released? Or is it already included in one of the versions ? 2.17.0 or 2.17.1. Very much waiting for this fix, so I thought I'd ask. Thanks for the answer! |
@ashwin-pc @joshuali925 @AMoo-Miki
|
@iaroslavkorablev it's labeled 2.17.1 but git tag Line 88 in 62cc032
if there's no 2.17.2, then it will be released in 2.18.0 |
thank you very much for your reply |
@ashwin-pc @joshuali925 @AMoo-Miki |
@iaroslavkorablev checking the 2.18.0 release notes it does include this PR, so it is fixed in 2.18.0 OpenSearch-Dashboards/release-notes/opensearch-dashboards.release-notes-2.18.0.md Line 77 in 696b792
if it's not working for you, you can try to clear browser cache first or open a new issue here |
thank you very much |
Description
see #7176.
osdDocTable__limitedHeight
class isn't associated with any style, usetruncate-by-height
to truncate.@AMoo-Miki
osdDocTable__limitedHeight
was added in 1ba45a7, any concerns with this?Issues Resolved
closes #7176
Screenshot
before
after
Testing the changes
Changelog
Check List
yarn test:jest
yarn test:jest_integration