David Kaltschmidt
72fb2f793c
Treat empty text and no text the same for color
2015-11-26 18:47:07 +01:00
David Kaltschmidt
37b71487cd
Disregard node details response if node is no longer selected
2015-11-25 20:01:42 +01:00
David Kaltschmidt
b1fa8a77b5
Click on node unsets loaded node details
2015-11-24 19:31:46 +01:00
David Kaltschmidt
13a2eec05d
Loading details header now has node color
2015-11-24 18:49:49 +01:00
David Kaltschmidt
e60d64da27
Show a spinner while node details are loading
2015-11-24 18:41:56 +01:00
David Kaltschmidt
d0cea36b3f
tweak saturation and lightness
2015-11-20 16:27:02 +01:00
David Kaltschmidt
104f1574c8
Exclude red and green from color generation
2015-11-20 15:23:44 +01:00
David Kaltschmidt
bf9b5bf947
Procedural color creation for nodes
...
* color hue is based on the first 2 letters of node rank
* color lightness is based on the first 2 letters of node label
2015-11-20 14:47:05 +01:00
David Kaltschmidt
0cae3541fa
Use rank to determine color in details
2015-11-20 13:01:09 +01:00
David Kaltschmidt
7ad7778965
Skip green and red colors for nodes
2015-11-20 13:00:41 +01:00
David
9d3080df68
Merge pull request #686 from weaveworks/439-safari
...
Fix render issues in Safari
2015-11-19 18:18:20 +01:00
David
8a17ad4126
Merge pull request #679 from weaveworks/375-oneline
...
Mitigate one-line-of-nodes layouts
2015-11-18 17:30:17 +01:00
David Kaltschmidt
bfd633fe85
Fix render issues in Safari
...
* remove text shadow on node labels (left artifacts on zoom)
* wrap details header to avoid background color using padding
Fixes #439
2015-11-18 13:00:28 +01:00
David Kaltschmidt
8eb4be8d4f
Added tests for single nodes layout
2015-11-17 22:30:53 +01:00
David Kaltschmidt
8691b04d66
Separate single nodes to render them differently
...
* Layout single nodes next to/below graph
* fixes #375
2015-11-17 15:24:34 +01:00
David Kaltschmidt
5508c0aa67
Moved node control button to node-details
2015-11-16 15:52:17 +01:00
David Kaltschmidt
027c7aead3
Cleaned up node-details-table jsx mess
2015-11-16 15:49:04 +01:00
David Kaltschmidt
ee51247192
Fix getDOMNode warning
2015-11-16 15:39:41 +01:00
David Kaltschmidt
2000890cac
Mitigate flattenChildren warning
2015-11-16 15:39:41 +01:00
David Kaltschmidt
232a2ebe2a
Fix react error in NodeDetailsControls
2015-11-16 15:39:41 +01:00
David Kaltschmidt
9d5b9172fa
Fix react key warning
2015-11-16 15:39:41 +01:00
David
c8c1996506
Merge pull request #678 from weaveworks/625-garbled-topology-options
...
Take default topology option if missing in URL
2015-11-16 15:36:34 +01:00
David
67bf8bd07b
Merge pull request #677 from weaveworks/607-reconnect-on-missing-node
...
Dont treat missing node as UI error
2015-11-16 15:36:20 +01:00
David
1fd26e8547
Merge pull request #675 from weaveworks/666-flash-details
...
Unset previous details when deselecting a node
2015-11-16 15:36:05 +01:00
David Kaltschmidt
95b2c4f829
Take default topology option if missing in URL
2015-11-13 17:45:01 +01:00
David Kaltschmidt
7c6e6277a1
Dont treat missing node as UI error
2015-11-13 17:27:50 +01:00
David Kaltschmidt
308c1596a0
Unset previous details when deselecting a node
2015-11-13 16:05:26 +01:00
David Kaltschmidt
c0e7ade9e9
Add x to close details panel again
...
Fixes #667
2015-11-13 15:29:23 +01:00
David Kaltschmidt
9fb3099a89
Dont scale graph on resize, only selected nodes
2015-11-12 17:22:33 +01:00
David Kaltschmidt
117f8b8444
Fix sublabel sizing
2015-11-12 16:18:19 +01:00
David Kaltschmidt
b6905d136d
Undo pan/zoom after unselecting a node
2015-11-12 15:00:06 +01:00
David Kaltschmidt
3ca7415d47
Always center selected node
...
* dont allow panning while node is selected
* Shift nodes, not canvas on circling selection
* scale nodes on window resize
* Scale selected node to viewable size
2015-11-12 13:59:26 +01:00
David Kaltschmidt
0c0ec79668
Lint sparkline js
2015-11-12 12:55:20 +01:00
David
7bac6d8495
Merge pull request #649 from weaveworks/node-upgrade
...
Upgrade JS node env and dependencies
2015-11-12 12:14:34 +01:00
David Kaltschmidt
2eb80d79bc
object-assign no longer needed under babel 6
2015-11-11 19:35:21 +01:00
David Kaltschmidt
7d5cc11d7e
Enable linter for js test files
2015-11-11 19:09:40 +01:00
David Kaltschmidt
59064e8a2d
Upgrade to Babel 6
2015-11-11 18:42:48 +01:00
Paul Bellamy
510870e2f9
Add Sparklines to the UI based on Metrics.
...
- basic sparklines rendering for load
- Graphs are normalized so they all render on the y-axis.
- Time-axis is fixed to 15-seconds, so that data fills in correctly when data is insufficient
- Move load scalar behind sparkline
- add title to sparklines, showing timespan, samples, etc
2015-11-11 17:24:29 +00:00
David Kaltschmidt
1019e45940
Upgrade node version to v4.2.2, and jest to 0.7.1
...
* the jest update will allow for jest --watch to keep jest running
2015-11-11 18:24:09 +01:00
David Kaltschmidt
acbf8a665d
Upgrade eslint, react and react-motion
...
* get rid of material-ui
* reduced bundle size by 20%
2015-11-11 15:51:27 +01:00
David Kaltschmidt
17f31cdb32
Control bar below node details header
2015-11-09 17:48:36 +01:00
David Kaltschmidt
5cfa193b8d
Comment out console.log
2015-11-09 13:00:44 +01:00
David Kaltschmidt
abcb94b1f1
UI for controls.
...
- Make backend address configurable via env variable
- `BACKEND_HOST=1.2.3.4:4040 npm start` points the frontend to the app on that server. Just for development
- Render control icons
- removed close x for details panel
- added control icons in its space
- closing of panel still works by clicking on same node, or background
- Dont allow control while pending
- Render and auto-dismiss control error
- Make tests pass
2015-11-06 17:44:28 +00:00
David Kaltschmidt
af175b62bc
Review feedback
2015-11-05 11:02:18 +01:00
David Kaltschmidt
f7aad21016
Use edge points to determine changed endpoints
2015-11-05 11:00:31 +01:00
David Kaltschmidt
6cf93f8e17
Prevent dangling reused edge
2015-11-05 11:00:31 +01:00
David Kaltschmidt
1831e07224
Track trivial layout runs
2015-11-05 11:00:31 +01:00
David Kaltschmidt
413220db6b
Fixed bug in unseen nodes detection
2015-11-05 11:00:31 +01:00
David Kaltschmidt
1fe036ab6a
Simplified dance heuristics
2015-11-05 11:00:31 +01:00
David Kaltschmidt
83d7a87d43
dont relayout when node dissappears
2015-11-05 11:00:31 +01:00