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

fix(discover): break new lines in table cell #7207

Merged
merged 2 commits into from
Jul 25, 2024

Conversation

joshuali925
Copy link
Member

Description

add white-space: pre-wrap; back to table cell to fix regression in #7177

Issues Resolved

fixes #7177

Screenshot

image

Testing the changes

Changelog

  • fix: break new lines in table cell in legacy discover

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

fixes opensearch-project#7177

Signed-off-by: Joshua Li <joshuali925@gmail.com>
Copy link

codecov bot commented Jul 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.55%. Comparing base (3a32191) to head (f921ddc).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7207      +/-   ##
==========================================
- Coverage   67.57%   67.55%   -0.02%     
==========================================
  Files        3469     3469              
  Lines       68479    68479              
  Branches    11130    11130              
==========================================
- Hits        46276    46264      -12     
- Misses      19500    19512      +12     
  Partials     2703     2703              
Flag Coverage Δ
Linux_1 33.13% <ø> (ø)
Linux_2 55.26% <ø> (ø)
Linux_3 45.30% <ø> (-0.02%) ⬇️
Linux_4 34.71% <ø> (ø)
Windows_1 33.15% <ø> (-0.03%) ⬇️
Windows_2 55.21% <ø> (ø)
Windows_3 45.32% <ø> (ø)
Windows_4 34.71% <ø> (ø)

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.

@ananzh ananzh added bug Something isn't working discover for discover reinvent backport 2.x labels Jul 25, 2024
@ananzh ananzh merged commit 4ff4c3c into opensearch-project:main Jul 25, 2024
75 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 25, 2024
* fix(discover): break new lines in table cell

fixes #7177

Signed-off-by: Joshua Li <joshuali925@gmail.com>

* Changeset file for PR #7207 created/updated

---------

Signed-off-by: Joshua Li <joshuali925@gmail.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 4ff4c3c)
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 Jul 25, 2024
* fix(discover): break new lines in table cell

fixes #7177

Signed-off-by: Joshua Li <joshuali925@gmail.com>

* Changeset file for PR #7207 created/updated

---------

Signed-off-by: Joshua Li <joshuali925@gmail.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 4ff4c3c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ananzh pushed a commit that referenced this pull request Jul 25, 2024
* fix(discover): break new lines in table cell

fixes #7177



* Changeset file for PR #7207 created/updated

---------



(cherry picked from commit 4ff4c3c)

Signed-off-by: Joshua Li <joshuali925@gmail.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>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Qxisylolo pushed a commit to Qxisylolo/OpenSearch-Dashboards that referenced this pull request Aug 1, 2024
* fix(discover): break new lines in table cell

fixes opensearch-project#7177

Signed-off-by: Joshua Li <joshuali925@gmail.com>

* Changeset file for PR opensearch-project#7207 created/updated

---------

Signed-off-by: Joshua Li <joshuali925@gmail.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Discover no longer shows new lines in a field
3 participants