Commit Graph

276 Commits

Author SHA1 Message Date
David Kaltschmidt
20b3c4286d Improve contrast of default view
* expand contrast between text styles
* remove low opacity from footer
2016-02-18 12:35:09 +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 Kaltschmidt
5c2a80d573 Fixes status icon regression 2016-02-15 16:40:56 +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 Kaltschmidt
c3878eb649 No borders for topology links
* added .btn-opacity to control opacity for buttons on hover/selected
  state

* increased contrast in topology link labels

* removed dark background from status to not confuse with topo links
2016-02-08 10:43:05 +01:00
David Kaltschmidt
4890220984 Highlight selected topology 2016-02-05 16:56:39 +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
02a449348b Merge pull request #895 from weaveworks/891-fix-details-columns
Details panel table header looks up label in all rows
2016-02-01 17:32:43 +01:00
David
6f70e70192 Merge pull request #894 from weaveworks/no-npm-progress
Disable npm progress to speed up build
2016-02-01 16:53:39 +01: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
Simon
6bec4bca7c Merge pull request #892 from weaveworks/864-fix-overflowing-details-panel
Fixes some fields overflowing badly.
2016-02-01 16:07:15 +01:00
Tom Wilkie
d3b11ee040 Rename Applications -> Process, sort topologies by rank. 2016-02-01 06:54:18 -08:00
David Kaltschmidt
6cf295ea9f Disable npm progress to speed up build 2016-02-01 15:52:41 +01: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
Simon Howe
3c23bd950a Fixes some fields overflowing badly.
The Chrome guys have implmeneted a new change (in Chrome 48) in the CSS
flexbox spec, min-width now defaults to auto instead of 0. "auto" has
some complicated behaviour described in the table here:
https://drafts.csswg.org/css-flexbox/#min-size-auto

This results in a very long min-width (I don't understand why). So we
have to let the browser know it can make it smaller if it wants to,
which in this case would be great.

Here's another person's experience with the issue.
 - https://code.google.com/p/chromium/issues/detail?id=551336
2016-02-01 15:12:52 +01:00
Simon Howe
aad6e1fbeb Fixes new browser window size when popping out terminal.
Calculate the size more dynamically based on the size of the terminal
dom element.
2016-01-29 13:19:06 +01:00
Simon Howe
06aff39548 Fixes details cards opening out over the terminal 2016-01-29 13:17:58 +01:00
Simon Howe
ab75bb5e41 Move details panel styling dimensions into common constants file.
They are used in a couple of places around the code base.
2016-01-29 13:16:33 +01:00
Simon Howe
dcb621d7e6 Close terminal when we click "show node in its topology" 2016-01-29 13:14:47 +01:00
Simon Howe
5500c2f280 Fixes harmless exception: hitting esc with no cards open. 2016-01-29 13:14:08 +01:00
Simon Howe
bac56c6c03 Fixes terminal being closed when its node's card is closed. 2016-01-29 13:13:33 +01:00
Simon Howe
2c74196c1c Fixes host node/details panel color mismatch
- 'label_major' has been changed to 'label' in the details api response.
- getNodeColorDark was giving up too early if a rank wasn't provided.
  The topo diagram which uses getNodeColor will select a color even w/
  no rank. Hosts don't have ranks at the mo.
2016-01-29 11:26:59 +01:00
Simon Howe
6edbd49791 Fixes pipe status when reloading page.
Correctly load in state from the url.
2016-01-21 21:15:54 +01:00
Simon Howe
d5cf3d2c59 Fixes exec/attach from the 2nd+ card.
- Also fixes strange issue where hitting ESC while a terminal was
  active, would update the route, reload the top card, and break the
  terminal connection status.
2016-01-21 16:57:22 +01:00
Simon Howe
f63c50475c Corrects the node control error placement 2016-01-19 18:23:21 +01:00
Simon Howe
c43abd6075 Reconcile some details-panel stuff after the rebase. 2016-01-19 16:31:17 +00:00
Simon Howe
0785d5393a Fixes pipes again
- Treat control objects that come back from the server as little
  black boxes.
- Pass our local client nodeId around more instead, use that for
  comparisons etc, (vs. inspecting the control object and doing brittle
  magic w/ the ids).
2016-01-19 16:48:35 +01:00