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

[Content Management] Cross Type Search - paginate and tags filter #154819

Merged
merged 4 commits into from
Apr 13, 2023

Conversation

Dosant
Copy link
Contributor

@Dosant Dosant commented Apr 12, 2023

Summary

Follow up to #154464
Partially resolve #152224 - implement pagination and tags filtering

@Dosant Dosant changed the title add basic pagination and tags filtering [Content Management] Cross Type Search - paginate and tags filter Apr 12, 2023
@Dosant Dosant added release_note:skip Skip the PR/issue when compiling release notes Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) Feature:Content Management User generated content (saved objects) management labels Apr 12, 2023
@Dosant Dosant marked this pull request as ready for review April 12, 2023 14:55
@Dosant Dosant requested a review from a team as a code owner April 12, 2023 14:55
@elasticmachine
Copy link
Contributor

Pinging @elastic/appex-sharedux (Team:SharedUX)

@Dosant Dosant requested a review from sebelga April 12, 2023 14:55
Copy link
Contributor

@sebelga sebelga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Great job. I left a few comments to use constant/util reusable function.

src/plugins/content_management/server/core/msearch.test.ts Outdated Show resolved Hide resolved
src/plugins/content_management/server/core/msearch.test.ts Outdated Show resolved Hide resolved
src/plugins/content_management/server/core/msearch.ts Outdated Show resolved Hide resolved
@Dosant Dosant enabled auto-merge (squash) April 13, 2023 10:18
@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

Unknown metric groups

ESLint disabled line counts

id before after diff
securitySolution 433 436 +3

Total ESLint disabled count

id before after diff
securitySolution 512 515 +3

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@Dosant Dosant merged commit 10f2015 into elastic:main Apr 13, 2023
@kibanamachine kibanamachine added v8.8.0 backport:skip This commit does not require backporting labels Apr 13, 2023
@@ -8,6 +8,7 @@
import { schema } from '@kbn/config-schema';
import type { IRouter } from '@kbn/core/server';

import { LISTING_LIMIT_SETTING, PER_PAGE_SETTING } from '@kbn/saved-objects-finder-plugin/common';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is causing trouble.

@@ -14,6 +14,7 @@
"@kbn/object-versioning",
"@kbn/core-saved-objects-api-server-mocks",
"@kbn/core-saved-objects-api-server",
"@kbn/saved-objects-finder-plugin",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately this causes problems. content_management dependencies need to be minimized.

@kbn/saved-objects-finder-plugin depends upon @kbn/saved-objects-management-plugin depends upon the data and data-view plugins which means its a circular dependency if they then try to implement the CM api.

I guess there are other places in that dependency chain where changes could be made but this seems like a simple place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting Feature:Content Management User generated content (saved objects) management release_note:skip Skip the PR/issue when compiling release notes Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) v8.8.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CM] Search Layer: stage 1 - forward Saved Object .find() results
6 participants