Commit Graph
1270 Commits
Author SHA1 Message Date
David Kaltschmidt bc7ee66ed9 Fix npm install by fixing version of react-tap-event-plugin 2015-11-03 11:25:56 +01:00
David Kaltschmidt 92e56a492b Fix package.json syntax error 2015-10-26 17:49:21 +00:00
David Kaltschmidt a2877102f1 remove old karma test config, make webpackdevserver optional
`npm install` continues to install everything, but `npm install
--no-optional` wont install the dev server.
2015-10-26 17:49:21 +00:00
David Kaltschmidt cacc2e1bc3 Move testing to Jest 2015-10-26 17:49:21 +00:00
Paul Bellamy d7e26228bd Support wss for secure websockets when page was loaded over ssl 2015-10-19 17:42:11 +01:00
David KaltschmidtandTom Wilkie 2d7e546ae5 Render filtered node count in status bar
* always set updated topology object when received
* track whether route was set on initial load
* removed connection count from status bar (was not deemed important)
* fixed issue where topology option changes did not affect details pane
* only show filtered nodes when count > 0
* clear nodes graph when empty topology is loaded
* also prevent JS error if nodes are hovered over that should be gone
* fixed options sync issue between graph and status bar
* implemented topology options with immutable DS
2015-09-29 08:51:56 +00:00
David Kaltschmidt a3597c9639 Fix zooming and autoshift
* track panning to not trigger mouse up event
* offset angle for circle
* fixed panning/zooming
* center the center node if radius bigger than screen
2015-09-21 11:44:26 +02:00
David Kaltschmidt 808fc55832 filter loopback adjacents on radial layout
needed to adjust size of nodes, too
2015-09-18 18:08:35 +02:00
David Kaltschmidt 6e3883d07e Dont shift canvas after it has been autoshifted 2015-09-18 18:07:52 +02:00
David 79bf8badd7 Merge pull request #501 from weaveworks/495-cover-nodes
Dont cover other nodes on radial layout
2015-09-18 18:07:00 +02:00
David Kaltschmidt 1cce7e514e animate node zoom on focus 2015-09-18 17:58:34 +02:00
David a557769b78 Merge pull request #494 from weaveworks/474-toomanynodes
Show message in UI when topology too big to render
2015-09-18 17:20:57 +02:00
David Kaltschmidt 5b4e084c01 Dont cover other nodes on radial layout
* shift center of radial layout a bit
* shrink blurred nodes
* blow up focused nodes a bit
2015-09-16 21:05:12 +02:00
David Kaltschmidt 438e25df6f s/topology/view/ 2015-09-16 16:29:23 +02:00
David Kaltschmidt 74840169a5 changed topo max nodes text, fade in topo 2015-09-16 15:39:53 +02:00
David Kaltschmidt 6be8b1648a fix truncate issue on details panel 2015-09-16 13:09:55 +02:00
David Kaltschmidt 7f4673ae4b Show message in UI when topology too big to render 2015-09-16 12:53:33 +02:00
David Kaltschmidt 56d040e3ee WIP track layout aborts 2015-09-16 12:23:31 +02:00
David Kaltschmidt c1523863c4 Close details on canvas click 2015-09-16 12:12:51 +02:00
David Kaltschmidt 05e21a9d42 take zoom scale into account when shifting canvas 2015-09-16 11:48:09 +02:00
David Kaltschmidt 7b9e1e2867 add node radius to circle radius for canvas shift 2015-09-16 11:30:35 +02:00
David Kaltschmidt 38fa82dee4 animate status bar, add Loading text 2015-09-15 16:38:31 +02:00
David Kaltschmidt 3a42ec48ea style tweaks for sidebar 2015-09-15 15:28:48 +02:00
David Kaltschmidt 8483492eb7 New sidebar in the bottom left
* status bar (fixes #207)
* moved topology options to sidebar
* render topology option like snackbar
* upgrade material-ui to 0.11
2015-09-15 15:03:18 +02:00
David f74e286700 Merge pull request #473 from weaveworks/324-highlight-selected
Highlight selected node
2015-09-14 14:49:13 +02:00
David Kaltschmidt 6191999c9e shift canvas up/down if node circle off canvas 2015-09-11 16:39:00 +02:00
David Kaltschmidt bc7e8f27fc animate shifting of canvas 2015-09-11 16:26:22 +02:00
David Kaltschmidt afbd1397df shift canvas if selected nodes are hidden 2015-09-11 15:41:26 +02:00
David Kaltschmidt 396ebdd13e pseudo nodes should be equally blurred 2015-09-11 14:46:07 +02:00
David Kaltschmidt 31f7a97016 setState only once in componentWillReceiveProps
setstate does not set this.state immediately, so successive function
calls cant rely on it
2015-09-11 14:42:10 +02:00
David Kaltschmidt 6c5c2c2c94 ignore previous node state/flush states on topo change 2015-09-11 11:03:59 +02:00
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 2c6c7f1995 Set beginning and end points to node coordinates
This is to ignore node bounding box which sometimes leads to
disconnected edges.
2015-09-10 15:17:46 +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 5f2e632319 Fix missing options parameter on reconnect
fixes #468
2015-09-09 14:27:20 +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
David Kaltschmidt 4fd53e3ae9 Refresh should keep topology options
fixes #457
2015-09-08 00:11:18 +02:00
David Kaltschmidt b698006e04 Apply topology options to detail API
Fixes #454
2015-09-07 18:21:58 +02:00
David KaltschmidtandTom Wilkie 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
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
David Kaltschmidt 44e62e3c19 color nodes by rank 2015-09-04 11:31:17 +02: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 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