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] Fix log rate analysis tab title and route #49646

Merged

Conversation

weltenwort
Copy link
Member

Summary

This aligns the log rate analysis tab title with the requirements. It also changes the sub-route from analysis to log-rate and performs some additional cleanup in anticipation of the soon-to-be-added category analysis tab. The page redirects from /logs/analysis to /logs/log-rate to reduce confusion in the build candidates.

fixes #49198

Preview

grafik

Checklist

For maintainers

@weltenwort weltenwort self-assigned this Oct 29, 2019
'This feature is under active development. Extra functionality is coming, and some functionality may change.',
});

export const TabBetaBadge = euiStyled(EuiBetaBadge).attrs({
Copy link
Member Author

Choose a reason for hiding this comment

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

I factored this out in anticipation of the upcoming categorization tab.

Copy link
Contributor

Choose a reason for hiding this comment

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

Are any other teams going to need a beta-badged tab component? Wondering if we should open a PR to EUI

Copy link
Member Author

Choose a reason for hiding this comment

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

Worth a thought. Although I think for an "official" badged tab I feel it would require more polish. The position and weight don't really feel like an annotation to me.

@@ -152,3 +113,25 @@ export const LogsPage = injectUICapabilities(({ match, uiCapabilities }: LogsPag
</Source.Context.Provider>
);
});

const pageTitle = i18n.translate('xpack.infra.header.logsTitle', {
Copy link
Member Author

Choose a reason for hiding this comment

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

This deduplicates some translations and removes the repeated translation from the render cycle.

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@weltenwort weltenwort added Feature:Logs UI Logs UI feature review Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.5.0 v7.6.0 v8.0.0 labels Oct 29, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui)

@weltenwort weltenwort added the release_note:skip Skip the PR/issue when compiling release notes label Oct 29, 2019
@weltenwort weltenwort marked this pull request as ready for review October 29, 2019 17:31
@weltenwort weltenwort requested a review from a team as a code owner October 29, 2019 17:31
Copy link
Contributor

@Zacqary Zacqary left a comment

Choose a reason for hiding this comment

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

All looks good!

@weltenwort weltenwort merged commit 019ee92 into elastic:master Oct 30, 2019
@weltenwort weltenwort deleted the logs-ui-fix-log-rate-analysis-tab branch October 30, 2019 19:01
weltenwort added a commit to weltenwort/kibana that referenced this pull request Oct 30, 2019
This aligns the log rate analysis tab title with the requirements. It also changes the sub-route from `analysis` to `log-rate` and performs some additional cleanup in anticipation of the soon-to-be-added category analysis tab. The page redirects from `/logs/analysis` to `/logs/log-rate` to reduce confusion in the build candidates.

fixes elastic#49198
weltenwort added a commit to weltenwort/kibana that referenced this pull request Oct 30, 2019
This aligns the log rate analysis tab title with the requirements. It also changes the sub-route from `analysis` to `log-rate` and performs some additional cleanup in anticipation of the soon-to-be-added category analysis tab. The page redirects from `/logs/analysis` to `/logs/log-rate` to reduce confusion in the build candidates.

fixes elastic#49198
weltenwort added a commit that referenced this pull request Oct 30, 2019
Backports the following commits to 7.x:
 - [Logs UI] Fix log rate analysis tab title and route (#49646)
weltenwort added a commit that referenced this pull request Oct 30, 2019
Backports the following commits to 7.5:
 - [Logs UI] Fix log rate analysis tab title and route (#49646)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Logs UI Logs UI feature release_note:skip Skip the PR/issue when compiling release notes review Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.5.0 v7.6.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Logs UI] Log rate analysis tab title and URL incorrect
3 participants