Commit Graph

638 Commits

Author SHA1 Message Date
David Kaltschmidt
72c433eb86 make sure circular layouts lots of nodes spreadout 2015-09-10 15:55:07 +02:00
David Kaltschmidt
b49e1f55d2 Use full adjacency also for mouseover nodes 2015-09-10 15:38:03 +02:00
David Kaltschmidt
7eb6b93ee9 added test for adjacency 2015-09-09 18:44:54 +02:00
David Kaltschmidt
f764e4415e respect both ways of adjacency for selected node 2015-09-09 18:26:44 +02:00
David Kaltschmidt
2c554fe273 blur nodes that not selected nor adjacent 2015-09-09 18:12:02 +02:00
David Kaltschmidt
f0a5fcc439 highlight selected node and circle adjacent nodes 2015-09-09 16:36:33 +02:00
David Kaltschmidt
8dbb13a972 slow animation down a bit 2015-09-08 14:00:52 +02:00
David Kaltschmidt
c0b0e5f807 animate edges via react-motion
edges can have different point counts between updates, that throws
Spring off, therefor I'm making sure the number of points is always 10.
If anyone can find out how many points dagre maximally puts, please
change this (my guess is max. 4).
2015-09-08 13:23:46 +02:00
David Kaltschmidt
4584bed4b7 WIP use react-motion to animate edges 2015-09-08 13:23:46 +02:00
Tom Wilkie
3a32fc8011 make static 2015-09-08 09:55:59 +00:00
Tom Wilkie
62577843c7 Merge pull request #461 from weaveworks/457-refresh-options
Refresh should keep topology options
2015-09-08 10:55:36 +01:00
David Kaltschmidt
4fd53e3ae9 Refresh should keep topology options
fixes #457
2015-09-08 00:11:18 +02:00
Tom Wilkie
bd2a75687f make static 2015-09-07 21:12:07 +00:00
David
453f1bc744 Merge pull request #455 from weaveworks/454-option-api
Apply topology options to detail API
2015-09-07 18:49:59 +02:00
David Kaltschmidt
b698006e04 Apply topology options to detail API
Fixes #454
2015-09-07 18:21:58 +02:00
Peter Bourgon
e81efe6c14 make static 2015-09-07 11:10:48 -04:00
Peter Bourgon
3a48abf380 Merge pull request #420 from weaveworks/without-system-containers
Add filtering options to views; add options for filtering out system containers & unconnected containers.
2015-09-07 16:51:55 +02:00
David Kaltschmidt
27caf0af41 Add dropdown field for topology options, save topology option in url state
- fix nodes reset after topology option change
- set topology on click
- explicitly set default topology options
- set default topo options when topos are received
- prevent JS error on too many nodes layout abort
2015-09-07 14:25:49 +00:00
Peter Bourgon
1dfc725706 Filter system containers from topologies; add API to control filters. 2015-09-07 14:24:15 +00:00
Tom Wilkie
6a6622e398 Merge pull request #453 from weaveworks/452-ellipses
Don't send numeric=true for connections table.
2015-09-07 15:19:22 +01:00
Tom Wilkie
303e11be6a Don't send numeric=true for connections table. 2015-09-07 13:06:13 +00:00
Tom Wilkie
9ab98baafc Merge pull request #451 from weaveworks/reverse-resolver-fix
Small improvements to reverse resolver
2015-09-07 11:43:47 +01:00
Tom Wilkie
4da819b18c Merge pull request #449 from weaveworks/447-short-lived-in-apps
Prevent short lived connections appearing as pseudo nodes in the applications view.
2015-09-07 11:32:38 +01:00
Tom Wilkie
f5d6872c51 Don't rate limit requests that have already been resolved, and cache negative responses. 2015-09-07 10:30:16 +00:00
Alvaro
d3c7138499 Merge pull request #404 from weaveworks/scope-364
reverse resolutions for remote side of connections.
2015-09-07 10:55:12 +02:00
Peter Bourgon
7513b4e396 Wrap comments at 80col throughout the fileset 2015-09-07 10:36:35 +02:00
Tom Wilkie
85bfcddb3f Prevent short lived connections appearing as pseudo nodes in the applications view. 2015-09-06 16:26:57 +00:00
Tom Wilkie
ad6702a196 Some review feedback. 2015-09-05 19:39:22 +00:00
Paul Bellamy
9526663d6d Merge pull request #437 from weaveworks/436-container-image-name-in-rank
Make container rank the image _name_
2015-09-04 17:08:59 +01:00
Tom Wilkie
a454a68841 Merge pull request #443 from weaveworks/442-blank-app
Fix JS error on missing edge target
2015-09-04 16:28:39 +01:00
Alvaro Saurin
15e25edc40 New asynchronous, caching DNS resolver for reverse resolutions
Add nodes for the remote side of connections iff we have a DNS reverse resolution for the IP.
Unit test for the resolver
2015-09-04 17:21:45 +02:00
Tom Wilkie
31f7262d20 Merge pull request #440 from weaveworks/go-1.5
Make scope compile under go 1.5
2015-09-04 16:11:21 +01:00
David Kaltschmidt
398fb7a6ba fix JS error on missing edge target
* replace mergeDeep with merge on node updates to set adjacency to
  updated value
* added json-loader to make json import of websocket frames easier
* console message for this was `Cannot read property 'id' of undefined`
2015-09-04 15:44:11 +02:00
Tom Wilkie
6e7a22ecae Update example app to include a loadbalancer. 2015-09-04 13:07:29 +00:00
Tom Wilkie
31f1fbee6d Make scope compile under go 1.5 2015-09-04 12:01:32 +00:00
Tom Wilkie
ccf6c1fdca Make container rank the image _name_ 2015-09-04 10:16:17 +00:00
David
1c21feac07 Merge pull request #435 from weaveworks/rank-color
Color nodes by rank
2015-09-04 11:32:41 +02:00
David Kaltschmidt
44e62e3c19 color nodes by rank 2015-09-04 11:31:17 +02:00
Tom Wilkie
fb37763574 Merge pull request #434 from weaveworks/356-nodemetadata-to-node-rename
Rename NodeMetadata -> Node
2015-09-03 17:37:19 +01:00
Tom Wilkie
57f7b4f2e6 Rename NodeMetadata -> Node 2015-09-03 16:18:54 +00:00
Tom Wilkie
8610151518 Merge pull request #425 from weaveworks/357-no-more-leaf-map
Remove LeafMap - have a generic function which converts a Topology to RenderableNodes
2015-09-03 11:29:03 +01:00
Tom Wilkie
d09a853fb2 Show container image details for containers. 2015-09-03 10:26:13 +00:00
Tom Wilkie
9ba38d71cc Review feedback 2015-09-03 10:19:27 +00:00
Tom Wilkie
892ecf78bb Merge pull request #431 from weaveworks/427-resolvers-flaky
Wait longer for resolver goroutine to stop.
2015-09-03 11:11:24 +01:00
Tom Wilkie
9ab22bd8dc Wait longer for the goroutine to stop. 2015-09-03 08:33:15 +00:00
David
0eccd9a6b9 Merge pull request #430 from weaveworks/413-trim-node-title
Trim node titles in graph
2015-09-03 09:45:19 +02:00
David
37e11d32d6 Merge pull request #429 from weaveworks/413-418-trim
Trim long container names and labels in details
2015-09-02 18:54:29 +02:00
David Kaltschmidt
a439c7ca97 trim node titles in graph via JS
fix for #413

Sadly, the title attribute to show something on hover does not work in
SVG. So we might need another solution for that.
2015-09-02 18:53:04 +02:00
David Kaltschmidt
e08d533b72 truncate details table titles as well 2015-09-02 18:09:36 +02:00
David Kaltschmidt
3fd98df8ac add row keys to keep react happy 2015-09-02 18:05:26 +02:00