Matthias Radestock
36ea7907e4
export less & comment more
...
to make the linter happy
2018-04-12 17:24:29 +01:00
Matthias Radestock
24672ed046
do not truncate tables
...
Limiting env vars, docker&k8s labels, and weave net connection entries
to 20 is problematic because
- the truncation is arbitrary - there is a good chance that if you
care about a specific entry it won't be there
- the truncation is not consistent - different entries get truncated
at different times
- some of the rendering logic depends on specific labels, for example
namespace filtering of containers depends on the
`io.kubernetes.pod.namespace` label.
In practice, there should never be a huge number of labels, or Weave
Net connection entries. So there is no need to truncate them.
That leaves env vars. These are of limited use, so we now omit them by
default. If they are included they are included in full, so they are
actually useful.
Fixes #3127
2018-04-12 17:13:58 +01:00
Bryan Boreham
e2b4b3edf6
Merge pull request #3135 from weaveworks/map-one
...
Simplify Map.Render()
2018-04-10 16:10:57 +01:00
Bryan Boreham
7e63d0fd19
Comment
2018-04-10 13:25:54 +00:00
Filip Barl
c86e93199f
Update yarn.lock
2018-04-10 10:09:33 +02:00
Filip Barl
e8f423a337
Merge pull request #3134 from weaveworks/use-json-stable-stringify
...
Don't update route if it hasn't changed
2018-04-09 20:44:16 +02:00
Filip Barl
30c99d0e28
Merge pull request #3136 from weaveworks/161-switch-to-theme-cyan-colors
...
Switch to theme cyan colors
2018-04-09 16:52:46 +02:00
Filip Barl
52c4da32af
Switch to theme cyan colors.
2018-04-09 16:10:31 +02:00
Bryan Boreham
dd087cff01
Use joinResults to accumulate nodes in Map.Render()
...
joinResults grew out of a special case of Map.Render(), so now we
merge the two lines back together and have just one way to accumulate
results and remap adjacencies.
2018-04-09 13:16:40 +00:00
Bryan Boreham
e3539a8d92
MapFunc is now Node->Node
...
Save time creating a map for the results which contains at most one entry
2018-04-09 13:16:40 +00:00
Bryan Boreham
ced27b298c
Turn Map2Parent into a Renderer
...
This is the last MapFunc which returns multiple Nodes, so by turning
it into a Renderer we open the door to simplifing every other MapFunc.
2018-04-09 13:16:40 +00:00
Filip Barl
99e4870d99
Don't update route if it hasn't changed.
2018-04-09 09:42:43 +02:00
Filip Barl
c938a5ffa4
Bump ui-components to v0.4.51
2018-04-05 17:16:17 +02:00
Bryan Boreham
9873ab2ea7
Merge pull request #3129 from weaveworks/fix-latestmap-printf
...
Fix format string to work for all types
2018-04-05 15:44:19 +01:00
Matthias Radestock
e36081ac22
Merge pull request #3128 from doodlesbykumbi/patch-1
...
documentation fix: project for openshift installation
2018-04-05 11:35:50 +01:00
Bryan Boreham
27cf8f3b06
Fix format string to work for all types
2018-04-05 08:18:52 +00:00
doodlesbykumbi
3ac9b6c06a
fix: project for openshift installation
2018-04-05 01:38:58 +01:00
Matthias Radestock
805572d70e
refactor: inline single-use constant
2018-04-02 13:50:22 +01:00
Matthias Radestock
e852b18e42
refactor: remove unused constant
2018-04-02 13:48:29 +01:00
Matthias Radestock
fd3ac19c02
refactor: remove dead code
2018-04-02 13:27:51 +01:00
Matthias Radestock
3a8cad1803
Merge pull request #3126 from weaveworks/3083-no-failed-pods
...
don't show Failed pods
Fixes #3083 .
2018-04-02 11:49:10 +01:00
Matthias Radestock
feae4f4fcf
don't show Failed pods
...
these are not alive, and Scope generally only shows the living, not
the dead.
2018-04-02 11:03:25 +01:00
Matthias Radestock
27fb3571e1
refactor: remove StateDeleted from map keys
...
since it is a map value, not a key.
2018-04-02 11:03:01 +01:00
Filip Barl
3090cdcfe5
Merge pull request #3124 from weaveworks/bump-ui-components-to-0-4-48
...
Bump ui-components
2018-03-28 16:43:16 +02:00
Filip Barl
9f0b359199
Bump ui-components to v0.4.49
2018-03-28 12:18:09 +02:00
Filip Barl
7838f3063b
Bump ui-components to v0.4.48
2018-03-28 11:42:58 +02:00
Matthias Radestock
012ee77b20
Merge pull request #3121 from weaveworks/3113-shortcut
...
make shortcut reports work (again)
2018-03-25 12:43:34 +01:00
Matthias Radestock
076acdb319
send shortcut reports on all container state changes
...
This got broken in cec750049f .
2018-03-25 09:08:45 +01:00
Matthias Radestock
eaafe4db6f
copy Shortcut property in Report.Copy()
...
This was causing shortcut reports to be delivered as normal reports.
This got broken in 0ecb908c22 , when Report.BackwardCompatible(),
which does a Copy(), was introduced in the publishing path.
Fixes #3113 .
2018-03-25 09:02:36 +01:00
Filip Barl
5f8da6d077
Merge pull request #3116 from weaveworks/3115-enforce-theme-colors
...
Enforce theme colors
2018-03-22 15:51:43 +01:00
Roland Schilter
a5b4b7c4ca
Fix eslint error
2018-03-21 11:31:42 -07:00
Sidney Wijngaarde
b22b3d6784
Adds link datatype to ui ( #3105 )
2018-03-21 10:41:38 -07:00
Filip Barl
109bc21b57
Add styled components linting.
2018-03-21 16:01:15 +01:00
Filip Barl
631077b68a
Use colors from ui-components theme.
2018-03-21 15:49:52 +01:00
Filip Barl
3d55b23d1b
Bump ui-components to v0.4.42
2018-03-21 15:20:59 +01:00
Filip Barl
cdb3b99712
Include .sass-lint.yml in Dockerfile.
2018-03-21 15:18:30 +01:00
Filip Barl
f12146042c
Simplified internal Scope color variables.
2018-03-21 12:29:49 +01:00
Filip Barl
6152ac0a4d
Got rid of all rgba colors.
2018-03-21 12:01:27 +01:00
Filip Barl
e1a5dc6700
Linked all non-rgba colors.
2018-03-21 11:47:25 +01:00
Filip Barl
4601988ab5
Organized some variable names.
2018-03-21 11:23:40 +01:00
Filip Barl
80dd318c86
Add stylesheets linting.
2018-03-21 10:39:54 +01:00
Roland Schilter
3de06b5a09
Support controls in more k8s topologies ( #3110 )
...
* Refactor: func has already access to probeID
* Allow controls for more k8s topologies
Controls for nodes generally need to know about the probe that is in
control of them.
This PR appends the probe ID info to k8s topologies CronJob, DaemonSet,
Service, and StatefulSet. Therefore allowing plugins to append controls.
* Remove superfluous error check
* Add some tests to verify controls allowance
2018-03-16 12:39:57 -07:00
Bryan Boreham
da6995bd87
Merge pull request #3109 from weaveworks/release-1.8
...
Release 1.8
2018-03-12 15:43:29 +00:00
Bryan Boreham
00868097c8
Add release 1.8.0
v1.8.0
2018-03-12 15:05:22 +00:00
Bryan Boreham
a709163349
Merge pull request #3056 from weaveworks/save-codegen
...
Save codegen output as CI artifact
2018-03-12 11:44:38 +00:00
Filip Barl
7bfd363b84
Merge pull request #3102 from weaveworks/3101-bump-moment-js-dep
...
Bump moment.js & ui-components deps
2018-03-07 11:48:06 +01:00
Filip Barl
90caf5b016
Bump ui-components to v0.4.36
2018-03-07 11:00:43 +01:00
Filip Barl
ea414c148f
Bump moment.js to v2.21.0
2018-03-07 11:00:09 +01:00
Filip Barl
6f72ef6969
Merge pull request #3097 from weaveworks/1999-fix-default-topology-options-filtering
...
Pick up default topology options on initial load
2018-02-27 21:08:07 +01:00
Roberto Bruggemann
d6c2e96e34
Dispatch 'Monitor' flag render function ( #3072 )
...
Adds update of monitor availability when it appears/disappears.
The constructor is only called once at the beginning.
2018-02-26 22:50:58 +00:00