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

[Logs UI] Mark Log Stream for deprecation #186510

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

tonyghiani
Copy link
Contributor

@tonyghiani tonyghiani commented Jun 20, 2024

📓 Summary

Closes #184992

Due to Logs Explorer and Logs being 2 separate apps, it was more complicated to redirect the Logs default nav menu to Logs Explorer maintaining the same hierarchy on both the sidebar and the global search.
The implemented workaround redirects from the logs app to logs explorer once the main app route for logs UI is accessed, which should keep all the previous behaviours.

Screen.Recording.2024-06-20.at.15.15.53.mov

@tonyghiani tonyghiani added the release_note:skip Skip the PR/issue when compiling release notes label Jun 20, 2024
@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!)

@flash1293
Copy link
Contributor

I think I wasn't really precise about this, sorry - I meant the beta tag should be on the "Logs" entry in the main nav menu (as it leads to the logs explorer, which is beta), not on the "Logs" section in the Observability menu.

I think it's OK to keep it on the "Explorer" entry on there.

@tonyghiani
Copy link
Contributor Author

I think I wasn't really precise about this, sorry - I meant the beta tag should be on the "Logs" entry in the main nav menu (as it leads to the logs explorer, which is beta), not on the "Logs" section in the Observability menu.

In this case, it might not be a quick win because the sidebar entry is displayed using the app registration title, which does not support adding a beta badge or any other custom react node (the same value is used by the core application app to register the global search entry).

I can move back the Beta badge next to the Logs Explorer entry, but I don't think there is something quick we can do for a badge in the main sidenav entry, given the time constraint for 8.15.

@flash1293
Copy link
Contributor

Ah, wasn't aware we couldn't control this easily. OK, let's move it back then, I think it's OK that way

@tonyghiani
Copy link
Contributor Author

@mdbirnstiehl could you please take a look at the copies for this work? Would be great if we can merge it before the feature freeze for 8.15 of next week.

@tonyghiani tonyghiani marked this pull request as ready for review June 26, 2024 13:25
@tonyghiani tonyghiani requested review from a team as code owners June 26, 2024 13:25
@tonyghiani tonyghiani added the Team:obs-ux-logs Observability Logs User Experience Team label Jun 26, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs)

@botelastic botelastic bot added the ci:project-deploy-observability Create an Observability project label Jun 26, 2024
@tonyghiani tonyghiani removed the request for review from a team June 26, 2024 15:31
Copy link
Contributor

@mdbirnstiehl mdbirnstiehl left a comment

Choose a reason for hiding this comment

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

I had a few suggestions. Let me know if you have any issues or questions.

return (
<EuiCallOut
title={i18n.translate('xpack.infra.logsDeprecationCallout.euiCallOut.discoverANewLogLabel', {
defaultMessage: 'Discover a new Logs Exploration experience!',
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
defaultMessage: 'Discover a new Logs Exploration experience!',
defaultMessage: 'There's a new, better way to explore your logs!',

>
<p>
{i18n.translate('xpack.infra.logsDeprecationCallout.p.wereExcitedToIntroduceLabel', {
defaultMessage: `We're excited to introduce a powerful new way to explore logs.\nThis enhanced experience offers better performance and more intuitive navigation.`,
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
defaultMessage: `We're excited to introduce a powerful new way to explore logs.\nThis enhanced experience offers better performance and more intuitive navigation.`,
defaultMessage: `The new Logs Explorer makes viewing and inspecting your logs easier with more features, better performance, and more intuitive navigation.`,

<p>
{i18n.translate('xpack.infra.logsDeprecationCallout.p.weRecommendUsingTheLabel', {
defaultMessage:
'We recommend using the new Logs Explorer, as the Logs Stream will no longer be supported.',
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
'We recommend using the new Logs Explorer, as the Logs Stream will no longer be supported.',
'We recommend switching to Logs Explorer. As we focus on and continue to improve Logs Explorer, we'll no longer support Logs Stream.',

{...getLogsExplorerLinkProps(share)}
>
{i18n.translate('xpack.infra.logsDeprecationCallout.tryLogsExplorerButtonLabel', {
defaultMessage: 'Try Logs Explorer!',
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
defaultMessage: 'Try Logs Explorer!',
defaultMessage: 'Try Logs Explorer',

@kibana-ci
Copy link
Collaborator

kibana-ci commented Jun 26, 2024

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
infra 1580 1581 +1

Async chunks

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

id before after diff
infra 1.5MB 1.5MB +1.6KB
logsExplorer 247.2KB 247.3KB +67.0B
total +1.7KB

Page load bundle

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

id before after diff
infra 101.8KB 101.8KB +46.0B

History

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apm:review ci:project-deploy-observability Create an Observability project release_note:skip Skip the PR/issue when compiling release notes Team:obs-ux-logs Observability Logs User Experience Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Log Stream] Soft-deprecate log stream app and embeddable
9 participants