Skip to content

Dashboard Table cleanups#1793

Merged
rmars merged 8 commits intomasterfrom
rmars/table-fixups
Oct 24, 2018
Merged

Dashboard Table cleanups#1793
rmars merged 8 commits intomasterfrom
rmars/table-fixups

Conversation

@rmars
Copy link

@rmars rmars commented Oct 20, 2018

This branch:

  • Removes the restrictions on the MetricsTables for Authorities Grafana links (Authorities Grafana dashboards were added in Add Grafana dashboard for Authorities #1772)
  • Fixes the tables overflowing their containers on the Overview page
  • Allows tables to be denser, allowing for more data on screen
  • Fixes the colour of the meshed status bar in the ServiceMesh page
  • fixes the ErrorModal icon alignment and colour
  • small appearance tweaks to the things in the table e.g. icons

Before

screen shot 2018-10-19 at 5 49 29 pm

After

screen shot 2018-10-19 at 5 49 09 pm

Before

screen shot 2018-10-19 at 5 35 09 pm

After

screen shot 2018-10-19 at 5 34 48 pm

Fixes #1783

@rmars rmars added the area/web label Oct 20, 2018
@rmars rmars self-assigned this Oct 20, 2018
@rmars rmars requested review from dadjeibaah and klingerf October 20, 2018 00:56
Copy link
Contributor

@klingerf klingerf left a comment

Choose a reason for hiding this comment

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

⭐️ Huge improvement! Just had some quibbles about the icons, but otherwise looks good to me.

const isMeshedTooltip = (
<Tooltip title="Namespace is meshed" placement="right-start">
<CheckCircleIcon />
<CheckCircleIcon color="primary" />
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure what the issue is here, but the check icon doesn't show up for me in Chrome or Firefox:

image

It does show up in Safari:

image

Also, this is nit-picky, but is it possible to shrink the icon somewhat so that it matches the letter height more closely? And to possibly give it some left passing to separate it from the namespace name? It feels a bit to big at the moment.

Copy link
Author

Choose a reason for hiding this comment

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

that is sooooo strange! the icons show up for me on Chrome and Safari, but not Firefox

Copy link
Author

Choose a reason for hiding this comment

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

I've made #1805 to track this, which I'll address soon after merging this branch!

} else {
return <ErrorIcon onClick={this.handleClickOpen} />;
return (
<ErrorIcon color="error" fontSize="small" onClick={this.handleClickOpen} />
Copy link
Contributor

Choose a reason for hiding this comment

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

Similar to my other comment -- would it be possible to make the height of this icon match the height of the text here, and remove the padding on the bottom?

image

Copy link
Author

Choose a reason for hiding this comment

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

That's so strange... it's aligned for me:
screen shot 2018-10-24 at 11 00 50 am

Copy link
Author

Choose a reason for hiding this comment

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

I figured it out, I was looking at the icons in the StatusTable, but the ones on the MetricsTable aren't aligned!

Copy link
Contributor

Choose a reason for hiding this comment

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

Ahhh, that makes sense.

@rmars rmars merged commit 98ee363 into master Oct 24, 2018
@rmars rmars deleted the rmars/table-fixups branch October 24, 2018 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MaterialUI followup: Tables

2 participants