245 Commits

Author SHA1 Message Date
David Kaltschmidt
f3351cf440 Fix columns for pods in service details panel 2016-02-26 16:34:59 +01:00
Simon Howe
569ca9d3d9 Pentagon -> Heptagon! 2016-02-25 16:27:13 +01:00
Simon Howe
292a56dc1d Adds support for the septagon node shape 2016-02-25 16:05:50 +01:00
David
9fa3b1936b Merge pull request #1027 from weaveworks/555-svg-export
SVG export button
2016-02-25 14:09:34 +01:00
David Kaltschmidt
f411b9c437 Review feedback 2016-02-25 14:02:32 +01:00
David Kaltschmidt
4ad74183b1 Inline styles in cloned svg sub tree, skip default styles 2016-02-25 10:14:34 +01:00
David Kaltschmidt
cdf2c21057 Replace Show More buttons with carets w/ counts 2016-02-24 18:58:26 +01:00
David Kaltschmidt
bd821c159e Inject weavescope logo into exported SVG 2016-02-24 17:03:27 +01:00
David Kaltschmidt
1566727e45 SVG export button
* applies CSS styles inline
* exports SVG chart node
* injects A tag to download
* based on SVG-crowbar

Fixes #555
2016-02-24 16:17:45 +01:00
David Kaltschmidt
9dafaef9a9 Force-relayout button
* new button in footer
* when clicked, forces a relayout that could help with degraded graphs
* sets a store flag that will be unset on next nodes delta update
* fixes #863
2016-02-24 15:55:36 +01:00
Simon Howe
36e6b2e4a8 Increase space between stacked nodes and their labels
Fixes #1003.
2016-02-22 17:21:03 +01:00
Simon
88684aa0b6 Merge pull request #884 from weaveworks/node-shapes
Node shapes
2016-02-22 14:13:14 +01:00
Simon Howe
96c34507d6 Back to a parallel proj. for stacks 2016-02-22 12:42:37 +01:00
Simon Howe
46e29c3f15 No grey stacks for now
- May give the feeling something is not there when it should be, or
  incomplete.
- They create visual noise
2016-02-22 12:42:37 +01:00
Simon Howe
2c626776a1 Grey out bottom of stack when there aren't 3 nodes in the stack
E.g. greying out the bottom 2/3 visual nodes if the stack actually only
has a single node.

- Server returns "node_count" for agg nodes.
2016-02-22 12:42:37 +01:00
Simon Howe
24d06d534f Gentle perspective in the nodestacks.
- They get a little bit smaller as they go down.
- Small tweak for shape stacks + high contrast mode.
2016-02-22 12:42:37 +01:00
Simon Howe
54988c1101 Revert "Testing out more shapes."
This reverts commit 9a2504119def6b9afb1ac5897655793a84754152.
2016-02-22 12:42:37 +01:00
Simon Howe
d3283555b9 Testing out more shapes. 2016-02-22 12:42:36 +01:00
David Kaltschmidt
476b7917e4 Let shape be determined by backend 2016-02-22 12:42:36 +01:00
Simon Howe
a34d9c97b8 Adds node-shapes to the canvas
- circle
- rect (w/ radius)
- fluffy cloud shape
- hexagons
- stacks
2016-02-22 12:42:36 +01:00
Simon Howe
ac5d258378 Fixes scope working under a path
- Adds proxy server for easy testing of scope under a path.
2016-02-18 14:17:51 +01:00
Paul Bellamy
611f933f4d Merge pull request #961 from weaveworks/729-open-fds-metric
Gather file descriptors as process metric
2016-02-17 10:13:42 +00:00
David Kaltschmidt
bfc1e29fb6 Review feedback 2016-02-15 18:03:41 +00:00
David Kaltschmidt
7dfb126e31 Docker Labels Component
* moved to bottom of details panel in its own section
* show all labels (no expand/collapse)
* label vs value width 1:1
2016-02-15 17:09:40 +00:00
David
04b05c1a7b Merge pull request #954 from weaveworks/contrast-mode
High contrast mode switch
2016-02-15 16:21:40 +00:00
David Kaltschmidt
531068179c High contrast mode switch
* added button to the bottom right to switch to higher contrast,
* suitable for projectors
* increased contrast between background and text colors
* thicker strokes around chart elements
* ensure yellow details panel backgrounds are darker
2016-02-15 16:20:40 +00:00
Paul Bellamy
5bb3d49297 gather file descriptors as process metric 2016-02-12 17:13:27 +00:00
Paul Bellamy
05d4ce05a3 Merge pull request #946 from weaveworks/929-show-more-metadata
Only show key metadata by default. Hide rest in a drawer.
2016-02-11 11:08:39 +00:00
Paul Bellamy
89d7ebe977 show nice column labels when no children have metrics 2016-02-10 11:42:03 +00:00
David Kaltschmidt
a80d04afe5 Refactored Show-expand, added styles 2016-02-09 12:12:52 -08:00
Simon Howe
3e73226ea7 Refactor some var names 2016-02-09 23:02:18 +07:00
Simon Howe
5237a43c2a Fixes process-by-name layout with ./foo and /foo nodes
lodash (used by dagre) was in effect mixing up these ids.
2016-02-09 22:47:09 +07:00
Paul Bellamy
dfb0f8036c Only show key metadata by default. Hide rest in a drawer.
To make the interface cleaner, we can hide some non-key metadata by
default.

This needs styling, js testing, and probably a js refactor.
2016-02-08 17:14:16 +00:00
Simon Howe
2695a1a2e7 Update test inline w/ new way we format 0s 2016-02-08 20:08:24 +07:00
Simon Howe
fd55c3064a Unmock some more stuff needed after added in hoc 2016-02-08 20:08:08 +07:00
David Kaltschmidt
88fb9fe4de Highlight topologies with no border
* removed background from sidebar items
2016-02-08 12:21:43 +01:00
David
188eea8f33 Merge pull request #795 from weaveworks/638-animate-sparklines
Animate sparklines
2016-02-05 14:48:55 +01:00
Simon Howe
cd66819f6b Removes console.log 2016-02-04 18:13:53 +01:00
David Kaltschmidt
7d73590ced Enable metric feeder also for health overflow items
* tried activating it for child tables too, but that became quite CPU
  intensive, and feed intervals became out of sync (host CPU < container
  CPU, which is hard to believe)
2016-02-04 17:17:11 +01:00
David Kaltschmidt
8f83a73072 Split samples and feed metrics right away
* also increase sparkline feed to 60 secs
* and keep historic max
2016-02-04 16:56:07 +01:00
David Kaltschmidt
d46f1a9d3c dont format metadata 2016-02-03 16:35:03 +01:00
David Kaltschmidt
64f08dcf96 Metric feeder as higher order component to feed sparklines data 2016-02-03 16:25:54 +01:00
Paul Bellamy
28de56f43f just show the untruncated label in the tooltip on children 2016-02-03 12:34:52 +00:00
Paul Bellamy
0a292f530c move docker labels into their own table of the details panel 2016-02-03 10:29:28 +00:00
David Kaltschmidt
0a0179aeb1 Integrated animated sparklines into new details panel
also added sortBy date after merge in value buffer
2016-02-02 18:06:33 +01:00
David Kaltschmidt
a8809cadfd Animate sparklines by feeding data item by item
* Refactored sparklines to be rendered by react

* Correct row key for sparklines

* Extracted data feed into animated-sparkline

* last value is rendered by sparkline now, because it relies on the
  last value that it is fed, not the lastest availble value
2016-02-02 12:23:51 +01:00
Paul Bellamy
1e4b872a63 Merge pull request #866 from weaveworks/852-processes
Rename Applications -> Process, sort topologies by rank.
2016-02-02 10:45:28 +00:00
David Kaltschmidt
9c4b4e2745 Details panel table header looks up label in all rows
Also fixes sorting of rows that have a missing metrics (0 vs null)

Fixes #891
2016-02-01 16:47:06 +01:00
Tom Wilkie
d3b11ee040 Rename Applications -> Process, sort topologies by rank. 2016-02-01 06:54:18 -08:00
Simon
00755896de Merge pull request #882 from weaveworks/848-resize-terminal-on-card
Stop details cards popping up over the terminal.
2016-02-01 15:33:44 +01:00