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] Improve visual design of Promoted Documents panel #115683

Merged

Conversation

byronhulcher
Copy link
Contributor

@byronhulcher byronhulcher commented Oct 19, 2021

Summary

Adds a nice blue background and border. I also updated CurationResult so it will only have space between results (no trailing margin)

I recommend hiding whitespace changes while reviewing

Screen Shot 2021-10-19 at 7 35 16 PM

Screenshot

Screen Shot 2021-10-19 at 7 26 28 PM

Checklist

@byronhulcher byronhulcher requested a review from a team October 19, 2021 23:23
@byronhulcher byronhulcher requested a review from a team as a code owner October 19, 2021 23:23
@byronhulcher byronhulcher added auto-backport Deprecated - use backport:version if exact versions are needed Feature:Plugins release_note:skip Skip the PR/issue when compiling release notes v7.16.0 labels Oct 19, 2021

import { LoadingOverlay } from '../../../shared/loading';

import './data_panel.scss';

interface Props {
type Props = Omit<_EuiPanelDivlike, 'title'> & {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm doing this so I can pass in any arbitrary prop from EuiPanel into DataPanel

className={classes}
hasShadow={false}
aria-busy={isLoading}
{...props}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I move this below so I can pass in a custom color prop that will overwrite the above logic. This is kind of a hack.

Copy link
Contributor

@daveyholler daveyholler left a comment

Choose a reason for hiding this comment

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

LGTM

@byronhulcher byronhulcher self-assigned this Oct 20, 2021
@byronhulcher
Copy link
Contributor 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 1551 1560 +9

Async chunks

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

id before after diff
enterpriseSearch 1.4MB 1.4MB +1.7KB

History

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

cc @byronhulcher

@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

tylersmalley pushed a commit that referenced this pull request Oct 20, 2021
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 Feature:Plugins release_note:skip Skip the PR/issue when compiling release notes v7.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants