Skip to content

Fix Discover Embeddable not showing _source when all other column are removed#8167

Merged
abbyhu2000 merged 2 commits intoopensearch-project:mainfrom
LDrago27:disocverEmbedableFix
Sep 12, 2024
Merged

Fix Discover Embeddable not showing _source when all other column are removed#8167
abbyhu2000 merged 2 commits intoopensearch-project:mainfrom
LDrago27:disocverEmbedableFix

Conversation

@LDrago27
Copy link
Copy Markdown
Collaborator

@LDrago27 LDrago27 commented Sep 12, 2024

Description

Fix Discover Embeddable not showing _source when all other column are removed.

Issues Resolved

Screenshot

Issue Before the fix

BeforeFix.mp4

After Fix

After.Fix.mp4

Testing the changes

  • Navigate to Dashboards page
  • Add a discover Save Search which contains multiple columns
  • Remove all the columns
  • Check if _source column is displayed

Changelog

  • fix: Discover Embeddable not showing _source when all other column are removed

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

…e removed

Signed-off-by: Suchit Sahoo <suchsah@amazon.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Sep 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.89%. Comparing base (7aecd73) to head (25e365c).
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8167      +/-   ##
==========================================
+ Coverage   63.84%   63.89%   +0.05%     
==========================================
  Files        3738     3739       +1     
  Lines       88723    88762      +39     
  Branches    13803    13814      +11     
==========================================
+ Hits        56646    56718      +72     
+ Misses      31480    31446      -34     
- Partials      597      598       +1     
Flag Coverage Δ
Linux_1 29.96% <ø> (+<0.01%) ⬆️
Linux_2 58.79% <ø> (ø)
Linux_3 40.25% <ø> (+<0.01%) ⬆️
Linux_4 31.36% <ø> (+0.15%) ⬆️
Windows_1 29.97% <ø> (+<0.01%) ⬆️
Windows_2 58.74% <ø> (ø)
Windows_3 40.25% <ø> (+<0.01%) ⬆️
Windows_4 31.36% <ø> (+0.14%) ⬆️

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.

@abbyhu2000 abbyhu2000 merged commit 9ab4377 into opensearch-project:main Sep 12, 2024
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 12, 2024
… removed (#8167)

* Fix Discover Embeddable not showing _source when all other columns are removed

Signed-off-by: Suchit Sahoo <suchsah@amazon.com>

* Changeset file for PR #8167 created/updated

---------

Signed-off-by: Suchit Sahoo <suchsah@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 9ab4377)
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 Sep 12, 2024
… removed (#8167)

* Fix Discover Embeddable not showing _source when all other columns are removed

Signed-off-by: Suchit Sahoo <suchsah@amazon.com>

* Changeset file for PR #8167 created/updated

---------

Signed-off-by: Suchit Sahoo <suchsah@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 9ab4377)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
LDrago27 pushed a commit that referenced this pull request Sep 12, 2024
… removed (#8167) (#8170)

* Fix Discover Embeddable not showing _source when all other columns are removed
* Changeset file for PR #8167 created/updated

---------
(cherry picked from commit 9ab4377)

Signed-off-by: Suchit Sahoo <suchsah@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>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
LDrago27 pushed a commit that referenced this pull request Sep 12, 2024
… removed (#8167) (#8169)

* Fix Discover Embeddable not showing _source when all other columns are removed
* Changeset file for PR #8167 created/updated

---------
(cherry picked from commit 9ab4377)

Signed-off-by: Suchit Sahoo <suchsah@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>
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants