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

[Monitoring] Design/UI improvements #76946

Merged
merged 27 commits into from
Sep 23, 2020

Conversation

chrisronline
Copy link
Contributor

@chrisronline chrisronline commented Sep 8, 2020

Resolves #77492

Adds headlines to each page, like:

Screen Shot 2020-09-15 at 10 19 37 AM

and how it looks with the Setup Mode button:

Screen Shot 2020-09-15 at 10 20 07 AM

Improves numbers in listing tables

Screen Shot 2020-09-15 at 10 20 58 AM

Show deltas in the ES nodes listing table differently

Screen Shot 2020-09-15 at 10 23 49 AM

Screen Shot 2020-09-15 at 10 23 53 AM

Update labels

Jobs -> Machine learning jobs

Screen Shot 2020-09-15 at 10 38 30 AM

Screen Shot 2020-09-15 at 10 38 35 AM

APM -> APM Server

Screen Shot 2020-09-15 at 10 53 34 AM

System indices -> Filter by system indices

Screen Shot 2020-09-15 at 10 58 18 AM

Screen Shot 2020-09-15 at 10 58 27 AM

@elasticmachine
Copy link
Contributor

Pinging @elastic/stack-monitoring (Team:Monitoring)

@cchaos cchaos removed the request for review from a team September 15, 2020 16:54
@@ -30,6 +30,9 @@ uiRoutes.when('/elasticsearch/ccr', {
title: i18n.translate('xpack.monitoring.elasticsearch.ccr.routeTitle', {
defaultMessage: 'Elasticsearch - Ccr',
}),
pageTitle: i18n.translate('xpack.monitoring.elasticsearch.ccr.pageTitle', {
defaultMessage: 'Elasticsearch Ccr',
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should use one/same title for title and pageTitle, and also Ccr should be CCR

@@ -48,6 +48,15 @@ uiRoutes.when('/elasticsearch/ccr/:index/shard/:shardId', {
$scope.$watch(
() => this.data,
(data) => {
this.setPageTitle(
i18n.translate('xpack.monitoring.elasticsearch.ccr.shard.pageTitle', {
defaultMessage: 'Elasticsearch Ccr Shard - Index: {followerIndex} Shard: {shardId}',
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: 'Elasticsearch Ccr Shard - Index: {followerIndex} Shard: {shardId}',
defaultMessage: 'Elasticsearch CCR Shard - Index: {followerIndex} Shard: {shardId}',

@katrin-freihofner
Copy link
Contributor

@chrisronline thank you for these improvements! During my review, I found some minor things to improve. Please let me know if that makes sense:

Responsive overview page

Can we please also improve the responsive behavior of the overview page:

Screenshot 2020-09-16 at 12 42 00

Screenshot 2020-09-16 at 12 42 14

APM overview

Clicking on "Overview" under "APM server" brings me to a page with the title "APM overview" and the breadcrumbs "APM". I think we should use "APM server overview" consistently.

Can we please remove the nested panels on this view:
Screenshot 2020-09-16 at 13 05 52

Preview without nesting:
Screenshot 2020-09-16 at 13 03 24

@chrisronline
Copy link
Contributor Author

@katrin-freihofner Thanks for the great feedback. I made the requested changes and this PR is ready for another round!

@chrisronline
Copy link
Contributor Author

@elasticmachine merge upstream

Copy link
Contributor

@igoristic igoristic left a comment

Choose a reason for hiding this comment

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

Everything looks good 👍 ...so long as the tests are fixed and CI is green

Also, I think we should change all instances of Ccr to CCR

@katrin-freihofner
Copy link
Contributor

This looks good.

I only found this issue with the documents count:
Screenshot 2020-09-23 at 11 28 15
I suggest having a two column layout if the screen gets that narrow (with two rows).

Also, I would place the up/down trend arrow next to the number, like this:
Screenshot 2020-09-23 at 11 48 03

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

@kbn/optimizer bundle module count

id value diff baseline
monitoring 626 +7 619

async chunks size

id value diff baseline
monitoring 1.2MB +12.2KB 1.1MB

History

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

@chrisronline chrisronline merged commit c07a512 into elastic:master Sep 23, 2020
@chrisronline chrisronline deleted the monitoring/ui branch September 23, 2020 15:48
chrisronline added a commit that referenced this pull request Sep 24, 2020
* [Monitoring] Design/UI improvements (#76946)

* UI tweaks

* Add more page titles

* Respect pagination settings

* Update snapshot

* Fix loc issues

* Update node listing

* Fix tests

* Update icon

* Update jobs label

* More label changes

* Fix tests

* Fix tests

* PR feedback

* Improve responsive design here

* PR feedback

* Fix tests

* Fix test and i18n

* Remove unused translations

* Fix tests

* Tweaks
# Conflicts:
#	x-pack/plugins/monitoring/public/components/apm/instance/instance.js
#	x-pack/plugins/monitoring/public/components/apm/instances/instances.js
#	x-pack/plugins/monitoring/public/components/apm/overview/index.js
#	x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/overview.test.js.snap
#	x-pack/plugins/monitoring/public/components/beats/overview/overview.js
#	x-pack/plugins/monitoring/public/components/elasticsearch/nodes/__tests__/__snapshots__/cells.test.js.snap
#	x-pack/plugins/monitoring/public/components/elasticsearch/nodes/cells.js

* Fix tests

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@chrisronline
Copy link
Contributor Author

Backport:

7.x: 3515b64

consulthys added a commit that referenced this pull request Oct 3, 2024
Closes #194838

## Summary

This PR wraps up the change made in
#76946 (issue
#77492)

The change was about relabeling the "Show system indices" toggle showing
below to "Filter for system indices", but when no indices show up, the
warning message still contains the old text, i.e. "Show system indices"


![Image](https://github.com/user-attachments/assets/9c3003a8-5689-4d3a-8175-8e707d1ec40a)


![Image](https://github.com/user-attachments/assets/cfdd9ba1-d87d-47ae-afb9-4fa81473230d)

### Checklist

- [X] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [X] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [X] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Monitoring] Design updates
5 participants