Commit Graph

1093 Commits

Author SHA1 Message Date
Tom Wilkie
99d72cbc2b Use common.SignalHandlerLoop from weave, and document debug options. 2015-12-04 10:01:00 +00:00
Tom Wilkie
a9b868d310 Vendor in github.com/weaveworks/weave/common 2015-12-04 09:57:44 +00:00
Paul Bellamy
d921b528d8 Merge pull request #722 from weaveworks/app-json-decoder
Add json support to app POST /api/report
2015-12-03 12:20:49 +00:00
Paul Bellamy
68cff926be Add json support to app POST /api/report
This way you can save reports from /app/report, then use curl to post it
to the app later for testing.
2015-12-03 11:39:37 +00:00
Simon
16635ab1b2 Merge pull request #712 from weaveworks/es2015
JS to ES2015
2015-12-01 16:45:56 +01:00
Tom Wilkie
00e63e8b33 Merge pull request #706 from weaveworks/656-unconnected
Filter nodes that are only connected to themselves.
2015-12-01 15:45:22 +00:00
Simon Howe
4b33e32276 Fixes small ES2015 errors introduced while rebasing. 2015-12-01 14:37:14 +01:00
David Kaltschmidt
6b445466ef Move JS to ES2015
Refactored mixins into utils

ES2015 module exports

ES2015-style imports

WIP Fixing tests

Fixes tests after es2015 code migrations.

We we're require()ing an ES2015 module[1]. Have to make sure you account
for the .default in this case.

[1] We had to use ES5 `require` in Jest:
(https://github.com/babel/babel-jest/issues/16)
2015-12-01 14:35:22 +01:00
David Kaltschmidt
2ce9de62f2 add empty eslintignore, original source maps 2015-12-01 14:29:28 +01:00
Tom Wilkie
5632cd8e61 Merge pull request #709 from weaveworks/708-feedback
Add 'getting help' section and update screenshot
2015-12-01 11:58:16 +00:00
Tom Wilkie
4b67506a9d Merge pull request #703 from weaveworks/688-security-warngin
Add basic security warning.
2015-12-01 11:05:42 +00:00
Tom Wilkie
51cc333139 Review feedback 2015-12-01 10:47:34 +00:00
Tom Wilkie
173546525b Add 'getting help' section and update screenshot 2015-12-01 08:08:37 +00:00
Tom Wilkie
3262fa7a5e make static 2015-11-30 14:06:17 +00:00
Tom Wilkie
0c3802c29c Merge pull request #704 from weaveworks/693-no-filter-details
Dont send topology options when requesting node details
2015-11-30 22:55:46 +09:00
Tom Wilkie
5a1cc3fa8f Filter nodes that are only connected to themselves. 2015-11-30 12:43:02 +00:00
David Kaltschmidt
40f504022c dont send topology options when requesting node details 2015-11-30 12:59:53 +01:00
Tom Wilkie
f16db9df1a Merge pull request #701 from weaveworks/693-no-filter-details
Don't apply filters to node endpoints & update details panel logic
2015-11-30 20:59:41 +09:00
Tom Wilkie
a532c2649e Merge pull request #702 from weaveworks/700-update-docker-version
Update the docker version we embed into the scope image to 1.6.2 in sync with weave 1.3 changes.
2015-11-30 19:55:24 +09:00
Tom Wilkie
02ac1fb9cb Add basic security warning. 2015-11-30 09:51:24 +00:00
Tom Wilkie
045a1feba0 Update the docker version we embed into the scope image to 1.6.2 in sync with weave 1.3 changes. 2015-11-30 09:38:42 +00:00
Tom Wilkie
f5aafb7a05 Don't apply filters to node endpoints & update details panel logic such that node which dissappear from the topology (eg when they are stopped) don't dissapear from the details panel. 2015-11-30 09:33:41 +00:00
Tom Wilkie
a8718104de Remove probe/scope-probe .gitignore, to help #696 2015-11-30 08:40:47 +00:00
David
385ba4bf09 Merge pull request #691 from weaveworks/loading-details
Show a spinner while node details are loading
2015-11-26 19:10:29 +01:00
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
1d34689bbb Merge pull request #694 from weaveworks/procedural-colors
Procedural colors (like #690 but merge to master)
2015-11-24 18:41:40 +01:00
David
ec14a59d41 Merge pull request #689 from weaveworks/684-colors
Rank-based colors for nodes
2015-11-24 17:43:38 +01:00
David
79c0a039d9 Merge pull request #687 from weaveworks/react-upgrade
Upgraded react to 0.14.3
2015-11-24 16:16:43 +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
Paul Bellamy
7de420cdb1 make static 2015-11-20 11:32:56 +00:00
David Kaltschmidt
c723978ec5 Upgraded react to 0.14.3
also add production globals to webpack config to reduce bundle size
2015-11-19 18:19:39 +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
03c3bf292d Merge pull request #676 from weaveworks/637-details-refactor
Cleaned up node-details-table jsx mess
2015-11-16 15:54:47 +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
8980f6c4cc Merge pull request #672 from weaveworks/react-key-warning
Fix react key warning
2015-11-16 15:43:55 +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