-
Notifications
You must be signed in to change notification settings - Fork 893
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
Add extension point in saved object management to register namespaces and show filter #2656
Merged
zhongnansu
merged 27 commits into
opensearch-project:main
from
cwperks:saved-object-management-filter-registry
Oct 28, 2022
Merged
Changes from 20 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
15878e3
Create filter registry for saved object management to make filters ex…
cwperks e61d803
WIP on making fetchCounts generic
cwperks ef6bd97
First step at making scroll_counts generic
cwperks bc6158c
Work on getting other filter counts with same object count endpoint
cwperks e3dc3b3
Get tenant count options to display
cwperks 445ffc7
Extend find to work with namespaces for saved objects
cwperks f31e0ef
Add missing filterFields
cwperks f4d13eb
Update jest tests
cwperks ee15b77
Update saved_objects_table snapshot
cwperks 2141b33
Append index to id to make unique
cwperks 51b1325
Add semi-colon
cwperks c2ceffe
Fix saved objects table tests with new id scheme
cwperks 5f01763
Only append idx on config type to ensure Advanced Settings have a uni…
cwperks 2d97645
Remove itemsClone in favor of showing only Advanced Settings of curre…
cwperks 0cd8012
Revert snapshots in table.test.tsx
cwperks b805531
Add additional parse_query test
cwperks 9a153ea
Add comma
cwperks 8211f5e
Create namespaceRegistry to decouple security dashboards plugin and o…
cwperks 8bd743f
Merge branch 'add-namespace-filter-and-registry-to-saved-objects' int…
cwperks d2098e8
Add ability to register an alias
cwperks 3331bf2
Update parse query and add to CHANGELOG
cwperks deb909f
Merge branch 'main' into saved-object-management-filter-registry
cwperks ad80403
Remove commented out code
cwperks 05a3943
Address code review comments
cwperks 24f9d38
Merge branch 'main' into saved-object-management-filter-registry
cwperks 2630566
Override i18n if alias is regitered
cwperks 9cd0900
Merge branch 'main' into saved-object-management-filter-registry
cwperks File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 27 additions & 19 deletions
46
...t/public/management_section/objects_table/__snapshots__/saved_objects_table.test.tsx.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this be made optional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
filterFields
param? It can, but in practical use it will always at least containtype
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI reverted this back to the original parseQuery, but modified the function to also extract namespaces.