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

chore(investigate): Add investigate-app plugin from poc #188122

Merged
merged 30 commits into from
Jul 23, 2024

Conversation

kdelemme
Copy link
Contributor

@kdelemme kdelemme commented Jul 11, 2024

Summary

Second PR that copy POC code from https://github.com/elastic/observability-dev/issues/3811

What's included:

  • investigate UI is hidden but accessible from URL
  • Notes, ESQL and Embeddables

What's removed:

  • AI assistant widget & plugin start dependencies not needed (ai, slo, apm)

Copy link
Contributor

A documentation preview will be available soon.

Request a new doc build by commenting
  • Rebuild this PR: run docs-build
  • Rebuild this PR and all Elastic docs: run docs-build rebuild

run docs-build is much faster than run docs-build rebuild. A rebuild should only be needed in rare situations.

If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status here.

@obltmachine
Copy link

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@mgiota mgiota self-requested a review July 15, 2024 09:39
savedObjectId: explicitInput.savedObjectId,
attributes,
});
return undefined as any; // { id: undefined };
Copy link
Member

Choose a reason for hiding this comment

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

I did this to hide the toast from the embeddable API, but it causes an error - we should talk to the Presentation team about this

@kdelemme kdelemme marked this pull request as ready for review July 17, 2024 12:46
@kdelemme kdelemme requested review from a team as code owners July 17, 2024 12:46
@botelastic botelastic bot added the ci:project-deploy-observability Create an Observability project label Jul 17, 2024
@kdelemme kdelemme added the release_note:skip Skip the PR/issue when compiling release notes label Jul 17, 2024
@ElenaStoeva
Copy link
Contributor

I think @elastic/kibana-management's review was requested by mistake (probably because of 88590b9) so I'm removing the review request.

@ElenaStoeva ElenaStoeva removed the request for review from a team July 18, 2024 10:29
@mgiota mgiota mentioned this pull request Jul 18, 2024
@kdelemme kdelemme requested a review from a team as a code owner July 18, 2024 15:04
Comment on lines 42 to 45
...defaultStory,
args: {
...defaultStory.args,
},
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
...defaultStory,
args: {
...defaultStory.args,
},
...defaultStory,

@dominiqueclarke dominiqueclarke self-requested a review July 18, 2024 19:07
<EuiFlexItem grow={false} className={sideBarClassName}>
<EuiFlexGroup direction="column" gutterSize="m">
<EuiFlexItem className={gridContainerClassName} grow={false}>
<InvestigateWidgetGrid
Copy link
Contributor

@mgiota mgiota Jul 19, 2024

Choose a reason for hiding this comment

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

I moved the InvestigateWidgetGrid to the sidebar, so that added notes appear on the sidebar.

TODO: Once we add the other widgets (ESQL, embeddable) in the UI, we need to rethink the InvestigateWidgetGrid, because now all widgets (included notes) appear in one common timeline. That's not what we want based on the mock up design. We will have one timeline on the left side of the page including ES|QL and embeddable widgets, and one on the right side including the notes

@elasticmachine
Copy link
Contributor

elasticmachine commented Jul 19, 2024

💔 Build Failed

Failed CI Steps

History

@mgiota mgiota force-pushed the investigate-ui-2 branch from 8d67004 to 9ae91bf Compare July 19, 2024 19:53
@mgiota
Copy link
Contributor

mgiota commented Jul 22, 2024

@elasticmachine merge upstream

@mgiota mgiota force-pushed the investigate-ui-2 branch from fa90ef8 to ddda57b Compare July 22, 2024 14:07
Copy link
Contributor

@TinaHeiligers TinaHeiligers left a comment

Choose a reason for hiding this comment

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

config and telemetry mappings LGTM

@kibana-ci
Copy link
Collaborator

kibana-ci commented Jul 22, 2024

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
investigateApp - 338 +338

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
investigateApp - 5 +5

Async chunks

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

id before after diff
apm 3.5MB 3.5MB +121.0B
investigateApp - 436.2KB ⚠️ +436.2KB
observability 420.1KB 420.2KB +125.0B
slo 877.9KB 878.1KB +125.0B
total +436.5KB

Page load bundle

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

id before after diff
investigateApp - 12.9KB +12.9KB
Unknown metric groups

API count

id before after diff
investigateApp - 5 +5

async chunk count

id before after diff
investigateApp - 5 +5

ESLint disabled in files

id before after diff
investigateApp - 2 +2

ESLint disabled line counts

id before after diff
investigateApp - 2 +2

References to deprecated APIs

id before after diff
investigateApp - 1 +1

Total ESLint disabled count

id before after diff
investigateApp - 4 +4

History

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

Copy link
Contributor

@tonyghiani tonyghiani left a comment

Choose a reason for hiding this comment

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

deeplinks changes LGTM

@kdelemme kdelemme merged commit aa67c80 into elastic:main Jul 23, 2024
41 checks passed
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Jul 23, 2024
TinLe added a commit to TinLe/kibana that referenced this pull request Jul 30, 2024
* master: (3487 commits)
  `BedrockChat` & `GeminiChat` (elastic#186809)
  [ResponseOps] log error when ES Query rules find docs out of time range (elastic#186332)
  skip flaky suite (elastic#188997)
  [Security solution][Alert Details] Enable preview feature flag and cypress tests (elastic#188580)
  [EuiProviders] Warn Developer if EuiProvider is missing (elastic#184608)
  [Security Solution ] Fixes Timeline infinite loading bug (elastic#188943)
  Improve SearchSource SearchRequest type (elastic#186862)
  Deprecate Search Sessions config (elastic#188037)
  [Synthetics] Add missing monitorType and tag info in cards !! (elastic#188824)
  [Console Monaco] Resolve uncaught error from tokenizer (elastic#188746)
  [Data Forge] Add `service.logs` dataset as a  data stream (elastic#188786)
  [Console] Fix failing bulk requests (elastic#188552)
  Update dependency terser to ^5.31.2 (main) (elastic#188528)
  [APM][ECO] Telemetry (elastic#188627)
  [Fleet] Fix uninstall package validation accross space (elastic#188749)
  Update warning on `xpack.fleet.enableExperimental` (elastic#188917)
  [DOCS][Cases] Automate more screenshots for cases (elastic#188697)
  [Fleet] Fix get one agent when feature flag disabled (elastic#188953)
  chore(investigate): Add investigate-app plugin from poc (elastic#188122)
  [Monaco Editor] Add Search functionality (elastic#188337)
  ...
TinLe added a commit to TinLe/kibana that referenced this pull request Jul 30, 2024
* master: (2400 commits)
  `BedrockChat` & `GeminiChat` (elastic#186809)
  [ResponseOps] log error when ES Query rules find docs out of time range (elastic#186332)
  skip flaky suite (elastic#188997)
  [Security solution][Alert Details] Enable preview feature flag and cypress tests (elastic#188580)
  [EuiProviders] Warn Developer if EuiProvider is missing (elastic#184608)
  [Security Solution ] Fixes Timeline infinite loading bug (elastic#188943)
  Improve SearchSource SearchRequest type (elastic#186862)
  Deprecate Search Sessions config (elastic#188037)
  [Synthetics] Add missing monitorType and tag info in cards !! (elastic#188824)
  [Console Monaco] Resolve uncaught error from tokenizer (elastic#188746)
  [Data Forge] Add `service.logs` dataset as a  data stream (elastic#188786)
  [Console] Fix failing bulk requests (elastic#188552)
  Update dependency terser to ^5.31.2 (main) (elastic#188528)
  [APM][ECO] Telemetry (elastic#188627)
  [Fleet] Fix uninstall package validation accross space (elastic#188749)
  Update warning on `xpack.fleet.enableExperimental` (elastic#188917)
  [DOCS][Cases] Automate more screenshots for cases (elastic#188697)
  [Fleet] Fix get one agent when feature flag disabled (elastic#188953)
  chore(investigate): Add investigate-app plugin from poc (elastic#188122)
  [Monaco Editor] Add Search functionality (elastic#188337)
  ...
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 ci:project-deploy-observability Create an Observability project release_note:skip Skip the PR/issue when compiling release notes Team:obs-ux-management Observability Management User Experience Team v8.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.