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

[App Search] Added relevance tuning search preview #93054

Merged
merged 13 commits into from
Mar 4, 2021

Conversation

JasonStoltz
Copy link
Member

@JasonStoltz JasonStoltz commented Mar 1, 2021

Summary

This PR adds the Preview section to the Relevance Tuning view

latest

ent-search version, for comparison:

Elastic_App_Search

Some things to note:

  • I adjusted the width of the flex columns so that the Preview section column is slightly larger. I tried to match it to how it was in ent-search
  • In ent-search, the preview screen shows a lot of highlighting and detail related to which fields are boosted, etc. I have no included that in this PR, I will include it in a subsequent PR.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@JasonStoltz JasonStoltz added v7.13.0 release_note:skip Skip the PR/issue when compiling release notes auto-backport Deprecated - use backport:version if exact versions are needed labels Mar 1, 2021
@JasonStoltz JasonStoltz changed the title Relevance tuning 7 [App Search] Added relevance tuning search preview Mar 1, 2021
@JasonStoltz JasonStoltz marked this pull request as ready for review March 2, 2021 13:03
@JasonStoltz JasonStoltz requested a review from a team March 2, 2021 13:03
@JasonStoltz JasonStoltz enabled auto-merge (squash) March 2, 2021 13:04
@cee-chen cee-chen self-assigned this Mar 2, 2021
@@ -82,10 +84,12 @@ export const RelevanceTuning: React.FC<Props> = ({ engineBreadcrumb }) => {

return (
<EuiFlexGroup>
Copy link
Contributor

Choose a reason for hiding this comment

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

@daveyholler not sure if you want to weigh in on this one, but if we're following the old standalone UI it looks like this shouldn't be stretching the preview panel to match the left column height:

Suggested change
<EuiFlexGroup>
<EuiFlexGroup alignItems="flexStart">

Before:

...

After:

Copy link
Member Author

@JasonStoltz JasonStoltz Mar 4, 2021

Choose a reason for hiding this comment

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

@cee-chen
Copy link
Contributor

cee-chen commented Mar 3, 2021

Just wanted to say thanks so much for splitting this up / making this a super small and easy to review. Seriously made a huge difference for me mentally to be able to sit down and knock it out in one sitting. 🙇‍♀️

@JasonStoltz
Copy link
Member Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
enterpriseSearch 1307 1308 +1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
enterpriseSearch 2.1MB 2.1MB +2.6KB

History

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

cc @constancecchen

Copy link
Contributor

@cee-chen cee-chen left a comment

Choose a reason for hiding this comment

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

Changes look great - thanks Jason!

@kibanamachine
Copy link
Contributor

💚 Backport successful

7.x / #93680

Successful backport PRs will be merged automatically after passing CI.

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Mar 4, 2021
gmmorris added a commit to gmmorris/kibana that referenced this pull request Mar 4, 2021
* master: (107 commits)
  [Logs UI] Fix log stream data fetching (elastic#93201)
  [App Search] Added relevance tuning search preview (elastic#93054)
  [Canvas] Fix reports embeddables (elastic#93482)
  [ILM] Added new functional test in ILM for creating a new policy (elastic#92936)
  Remove direct dependency on statehood package (elastic#93592)
  [Maps] Track tile loading status (elastic#91585)
  [Discover][Doc] Improve main documentation (elastic#91854)
  [Upgrade Assistant] Disable UA and add prompt (elastic#92834)
  [Snapshot Restore] Remove cloud validation for slm policy (elastic#93609)
  [Maps] Support GeometryCollections in GeoJson upload (elastic#93507)
  [XY Charts] fix partial histogram endzones annotations (elastic#93091)
  [Core] Simplify context typings (elastic#93579)
  [Alerting] Improving health status check (elastic#93282)
  [Discover] Restore context documentation (elastic#90784)
  [core-docs] Edits core-intro section for the new docs system (elastic#93540)
  add missed codeowners (elastic#89714)
  fetch node labels via script execution (elastic#93225)
  [Security Solution] Adds getMockTheme function (elastic#92840)
  Sort dependencies in package.json correctly (elastic#93590)
  [Bug] missing timepicker:quickRanges migration (elastic#93409)
  ...
kibanamachine added a commit that referenced this pull request Mar 4, 2021
@JasonStoltz JasonStoltz deleted the relevance-tuning-7 branch March 8, 2021 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes v7.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants