Skip to content

Conversation

@jnovack
Copy link

@jnovack jnovack commented Apr 2, 2018

image

  • Node Availability. drain has a gray background (third server), pause has a gray border (fourth server), active has a green border.
  • Fixed dateStamp from 1/4 4:3 to 2018-04-01 04:03
  • Update regex for images (see below picture)
  • Adds role to node-meta box. Removes RAM/CPU type.
  • Hide the filter by default to make use of space better on dashboards
  • Completely necessary style upgrades (removal of padding, correcting sizes)

image

adding...

  • Corrected data-provider to use getFullYear() as suggested. #derp
  • Node Name can now fit ~20 characters.

image
image

let imageNameMatches = imageNameRegex.exec(cloned.Spec.ContainerSpec.Image);
let tagName = imageNameMatches[3];
let dateStamp = dt.getDate() + "/" + (dt.getMonth() + 1) + " " + dt.getHours() + ":" + dt.getMinutes();
let dateStamp = (1900+dt.getYear()) + "-" + ('0' + (dt.getMonth() + 1)).slice(-2) + "-" + ('0' + dt.getDate()).slice(-2) + " " + ('0' + dt.getHours()).slice(-2) + ":" + ('0' + dt.getMinutes()).slice(-2);
Copy link
Contributor

Choose a reason for hiding this comment

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

How about dt.getFullYear().toString().substr(2,2) for the year so it fits better to to the square (no need for the 2 first numbers for a long time)

Copy link
Author

Choose a reason for hiding this comment

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

I shrunk the zoom to make a cleaner tighter picture.

When it's full, there's plenty of space. BUT, yes, I will do dt.getFullYear() because I derped.

image

Copy link
Contributor

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

Choose a reason for hiding this comment

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

you could also add that image to the readme, the one in it needs an update 😄

Copy link
Author

Choose a reason for hiding this comment

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

@pahakalle I will add one final commit updating the README.md with a new image once we finalize all the visual bits and changes.

Do we want anything else for this PR, or shall I do that now?

@jnovack
Copy link
Author

jnovack commented Apr 8, 2018

Ok, all done with the pushes. Any more changes requested?

@kawaii
Copy link

kawaii commented Aug 19, 2018

Any ETA on having these improvements merged?

@ManoMarks
Copy link
Contributor

We're trying to keep this sample app as simple as possible. With all the enhancements, this would become a greater maintenance burden. If you have fixes to broken features, please submit them separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants