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

[Backport 2.11] [BUG][Discover] Allow default columns settings #5271

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport b3104ce from #5261.

* [BUG][Discover] Allow default columns settings

This is a missing functionality
* When user sets up `Default columns` in advanced settings, discover should display
default columns if the selected idp has the columns.
* If selected idp has no such columns, display `_source` column.

Issue Resolve
#5246

Signed-off-by: ananzh <[email protected]>

* fix unit test

Signed-off-by: ananzh <[email protected]>

---------

Signed-off-by: ananzh <[email protected]>
(cherry picked from commit b3104ce)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@opensearch-trigger-bot opensearch-trigger-bot bot added bug Something isn't working discover for discover reinvent autocut Skip the changelog verification check on backports labels Oct 10, 2023
@opensearch-trigger-bot opensearch-trigger-bot bot added Skip-Changelog PRs that are too trivial to warrant a changelog or release notes entry v2.11.0 labels Oct 10, 2023
@codecov
Copy link

codecov bot commented Oct 10, 2023

Codecov Report

Merging #5271 (b042b52) into 2.11 (4bfc5e4) will increase coverage by 0.00%.
Report is 3 commits behind head on 2.11.
The diff coverage is 60.00%.

@@           Coverage Diff           @@
##             2.11    #5271   +/-   ##
=======================================
  Coverage   66.81%   66.81%           
=======================================
  Files        3284     3284           
  Lines       63146    63149    +3     
  Branches    10047    10048    +1     
=======================================
+ Hits        42191    42194    +3     
- Misses      18483    18484    +1     
+ Partials     2472     2471    -1     
Flag Coverage Δ
Linux_1 35.26% <0.00%> (-0.01%) ⬇️
Linux_2 55.26% <ø> (ø)
Linux_3 43.85% <60.00%> (+<0.01%) ⬆️
Linux_4 35.49% <ø> (ø)
Windows_1 35.28% <0.00%> (-0.01%) ⬇️
Windows_2 55.23% <ø> (ø)
Windows_3 43.85% <60.00%> (-0.01%) ⬇️
Windows_4 35.49% <ø> (ø)

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

Files Coverage Δ
...pplication/view_components/utils/filter_columns.ts 100.00% <100.00%> (ø)
...lication/utils/state_management/discover_slice.tsx 42.42% <0.00%> (-2.74%) ⬇️

... and 1 file with indirect coverage changes

@ananzh ananzh merged commit 3c83816 into 2.11 Oct 10, 2023
77 of 78 checks passed
@github-actions github-actions bot deleted the backport/backport-5261-to-2.11 branch October 10, 2023 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut Skip the changelog verification check on backports bug Something isn't working discover for discover reinvent Skip-Changelog PRs that are too trivial to warrant a changelog or release notes entry v2.11.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants