-
Notifications
You must be signed in to change notification settings - Fork 712
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
Show message if topology is empty #505
Conversation
davkal
commented
Sep 21, 2015
Nice design. I have tried to test it but miserably failed: To force an empty graph, I made the probe not report to the app, providing an unassigned IP to scope:
Here's the
|
@2opremio try |
I did that |
<div className="heading">Nothing to show. This can have any of these reasons:</div> | ||
<ul> | ||
<li>We haven't received any reports from probes recently. Are the probes properly configured?</li> | ||
<li>There are nodes, but they're currently hidden. Check the hidden settings in the bottom-left.</li> |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
NB I rebased this. |
David wanted to solve some 'flickering' issues with this before it goes in. |
@@ -44,6 +44,7 @@ function makeNode(node) { | |||
|
|||
// Initial values | |||
|
|||
let changingTopologies = false; |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
@tomwilkie the implementation based on So either we adjust the |
Just found another stats field: |
Alright, a mix of stats and nodes map size does the trick:
|
@@ -101,6 +106,15 @@ describe('AppStore', function() { | |||
} | |||
}; | |||
|
|||
const ReceiveNodesDeltaEmptyAction = { |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
One minor nit; otherwise LGTM. I'm fixing master right now; once I have, could you rebase & squash please? Once you get a green off circle, go ahead and merge. |
Show message if topology is empty