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

[Integrations] Added link in old Add Data description and fixed alignment in cards #116213

Merged
merged 6 commits into from
Oct 26, 2021

Conversation

cchaos
Copy link
Contributor

@cchaos cchaos commented Oct 25, 2021

Added link

In case users ended up at Sample Data without having gone through integrations, we probably still want to steer them there. So I applied the integrations link to the integrations text in the description.

Screen Shot 2021-10-25 at 17 03 04 PM

Changed text alignment of all No Data cards back to center

I know this was a contentious design decision stemming from #115495, but the mismatch of left aligned text and center aligned buttons was harder to read. There was also a mismatch in logic where the "No privileges" one was left aligned, but the regular one was centered with extra wrapping divs in the footer that weren't necessary.

Basically this reverts those custom styles. Sorry. We can revisit later, but I didn't see an improvement over how it was before. It also doesn't actually change how the regular card was rendering.

image

Also, I fixed the known orphan from the "no privileges" version by making the min-width a tad smaller.

image

Checklist

Delete any items that are not applicable to this PR.

@cchaos cchaos added v8.0.0 auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes labels Oct 25, 2021
@cchaos cchaos marked this pull request as ready for review October 25, 2021 21:10
@cchaos cchaos requested review from a team as code owners October 25, 2021 21:10
@cchaos cchaos added the Feature:Unified Integrations Unified Integrations view feature label Oct 25, 2021
@cchaos cchaos marked this pull request as draft October 25, 2021 21:51
@cchaos cchaos marked this pull request as ready for review October 25, 2021 21:52
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Test Failures

  • [job] [logs] Default CI Group #6 / apis SecuritySolution Endpoints Overview Network With packetbeat Make sure that we get OverviewNetwork data
  • [job] [logs] Default CI Group #12 / detection engine api security and spaces enabled Detection exceptions data types and operators Rule exception operators for data type keyword "is in list" operator will return 4 results if we have two lists with an AND contradiction keyword === "word one" AND keyword === "word two"

Metrics [docs]

Async chunks

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

id before after diff
home 81.4KB 81.6KB +239.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
kibanaReact 81.0KB 80.9KB -136.0B

History

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

@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.16

This backport PR will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Oct 27, 2021
@@ -93,12 +92,7 @@ export const ElasticAgentCard: FunctionComponent<ElasticAgentCardProps> = ({
defaultMessage: `Use Elastic Agent for a simple, unified way to collect data from your machines.`,
})}
betaBadgeLabel={recommended ? NO_DATA_RECOMMENDED : undefined}
footer={
<div className="eui-textCenter">
{button}
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry if this is a dumb question, but where is this button now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The footer always contained the button so this would have actually duplicated it if the button was configured.

jloleysens added a commit to jloleysens/kibana that referenced this pull request Oct 27, 2021
…-migrate-away-from-injected-css-js

* 'master' of github.com:elastic/kibana: (61 commits)
  [ML] Nodes overview for the Model Management page (elastic#116361)
  [Uptime] Uptime index config using kibana.yml (elastic#115775)
  [Controls] Dashboard Integration (elastic#115991)
  skip flaky suite (elastic#104260)
  Include Files in GitHub UI (elastic#115956)
  skip flaky suite (elastic#116060)
  [Canvas] By-Value Embeddables (elastic#113827)
  Skip failing test (elastic#115366)
  [Osquery] Fix live query search doesn't return relevant results for agents (elastic#116332)
  [Integrations] Added link in old Add Data description and fixed alignment in cards (elastic#116213)
  [Actions] Extended ActionTypeRegistry with connector validation to validate config with secrets (elastic#116079)
  skip flaky suite (elastic#109329)
  Grant access to machine learning features when base privileges are used (elastic#115444)
  Skipping failing test (elastic#84957)
  [RAC][Security Solution] Adds migration to new SecuritySolution rule types (elastic#112113)
  skip flaky suite (elastic#115366)
  [Fleet] Marking API spec as experimental (elastic#116331)
  [Docs] Cleaning up the versions in the upgrade paths. Closes elastic#116223 (elastic#116228)
  [Reporting] Suppress debug logs in the mock logger (elastic#116012)
  [Metrics UI] Clear threshold alert groups state when filterQuery changes (elastic#116205)
  ...

# Conflicts:
#	src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx
#	src/plugins/dashboard/public/types.ts
@cchaos cchaos deleted the design/integrations-link branch March 11, 2022 17:03
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:Unified Integrations Unified Integrations view feature release_note:skip Skip the PR/issue when compiling release notes v7.16.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants