747 Commits
Author SHA1 Message Date
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 HoweandPaul Bellamy 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
Paul BellamyandSimon Howe bf13a824d4 render detail status section for metadata or metrics 2016-01-19 16:47:49 +01:00
Tom WilkieandSimon Howe 9e61ad37f4 Get Pipes working again.
They stopped working because of the change to container node IDs (and rendered nodes IDs for containers).  The UI was comparing the IDs, which was never safe.  I have just removed that code.  This does leave the possibility of us having the pipe control operation take a long time, the user navigate to a different node, and then the terminal pop up, but I think thats better that teaching the UI to understand the format of the node IDs.
2016-01-19 16:47:48 +01:00
David KaltschmidtandSimon Howe d39fd847b7 Details Panel UI Redesign
Refactored nodedetails to support multiple data sets, probably broke some tests
  Allow api requests to out-of-view topologies
  Fix ESC behavior with details panel
  Stack details panel like cards
  Details pain side-by-side
  Details panel piles
  Fix node details table header styles
  Render load and not-found captions like relatives
  Fix topology click action
  Make node detail tables sortable
  Grouped metrics for details health
  Group metrics in same style
  Link node details children
  Fix scroll issues on double-details
  Fix DESC sort order for node details table
  Save selected node labels in state - allows rendering of node labels from other topologies before details are loaded
  Change detail card UX, newest one at top, pile at bottom
  Details panel one pile w/ animation
  Sort details table nodes by metadata too
  Animate sidepanel from children too
  Fix radial layout
  Dont set origin if a node was already selected, suppresses animation
  stack effect: shift top cards to the left, shrink lower cards vertically
  Clear details card stack if sibling is selected
  Check if node is still selected on API response
  Make detail table sorters robust against non-uniform metadata
  Dont show scrollbar all the time, fix sort icon issue
  Button to show topology for relative
  Overflow metrics for details panel health
  Fix JS error when no metrics are available for container image details
  Column-based rendering of node details table
  Fix JS tests
  Review feedback (UI)
2016-01-19 16:47:05 +01:00
Simon 359ec29c09 Merge pull request #797 from weaveworks/758-independent-node-controls
Fix node controls so they behave independently across nodes
2016-01-19 14:41:37 +01:00
Simon 4c4748e722 Merge pull request #819 from weaveworks/818-close-disconnected-pipe-with-esc
Allow dismissing a disconnected terminal w/ <esc>
2016-01-19 10:30:01 +01:00
Simon Howe b2774ed981 Fixes scope from crashing with "long" edges.
Long edges are those w/ a lot of points on them. Which can pop up in
heavily connected layouts.
2016-01-18 18:06:02 +01:00
Simon Howe 8a7cfdb46f Allow dismissing a disconnected terminal w/ <esc> 2016-01-14 18:08:08 +01:00
Simon Howe 18d31a0d08 Send xterm equivilant codes for ctrl-arrow keys
Docker sets $TERM=xterm.
2016-01-14 17:30:24 +01:00
Simon Howe 3c5e357150 Highlight a single unconnected node on hover.
Wasn't happening before.
2016-01-13 17:01:37 +01:00
Simon Howe 5b390994b8 Fix node controls so they behave independently across nodes
If one node was busy performing an action, any other nodes controls
would also be in a 'blocked and waiting' state.
2016-01-05 19:17:10 +01:00
Simon Howe 22247130d3 Log proxy connection errors rather than killing server.
Don't have accurate repro for when they occur.
2016-01-04 16:40:02 +01:00
Simon Howe a17355e667 Fixes display of unicode characters in the terminal 2015-12-29 09:33:31 +00:00
David 4ea854519b Merge pull request #775 from weaveworks/build-performance
Speed up npm bundle builds
2015-12-16 18:54:35 +01:00
David Kaltschmidt 57dfe4a4e8 Dont use -p on webpack when declaring uglifyjs plugin 2015-12-16 18:53:11 +01:00
Simon Howe a166ecc92c Tidying up a little bit. 2015-12-16 17:32:46 +01:00
Simon Howe 4df1cac033 Set correct size for terminal which fixes text wrapping.
Sometimes it was going off the sides/bottom.
2015-12-16 17:32:45 +01:00
David Kaltschmidt b70e68a319 Split JS bundle into vendor and app 2015-12-16 13:45:37 +01:00
David Kaltschmidt acaef9f639 Speed up npm bundle builds
Use include option to point to app sources
2015-12-16 10:33:58 +01:00
Simon Howe dbd789317d Also proxy WS to the BE while in dev mode.
WS weren't using the proxy.
2015-12-15 16:39:57 +01:00
Simon Howe 6ddd2ed9ff Fixes linting violations 2015-12-15 16:14:39 +01:00
David 2c9e0fa60a Merge pull request #763 from weaveworks/748-fix-terminal-keys
Fixes AltGr+3 which is required in some locales (UK).
2015-12-14 15:28:30 +01:00
Simon Howe 08a68aa605 Oops, forgot to remove a log. 2015-12-14 15:23:48 +01:00
Simon Howe 24530a3eed Send ctrl-a through to server rather activate term.js's copy mode. 2015-12-14 14:29:19 +01:00
Simon Howe 437cd737cc Fixes popped out terminal title 2015-12-14 14:02:19 +01:00
Simon Howe fdd45fdd43 Fixes AltGr+[0-9] which is required in some locales (UK). 2015-12-14 13:57:18 +01:00
David Kaltschmidt d93a3e22c9 Dont deselect node on ESC if there is a controlPipe 2015-12-11 11:34:18 +01:00
Simon Howe 8a6361559c Add terminal setTimeouts as instance properties instead of globals
in case we ever have 2 terminals
2015-12-10 19:59:38 +01:00
Simon Howe 921a7b723f More Terminal-UI and code post review fixes. 2015-12-10 19:43:46 +01:00
Simon Howe e0ff3e3ddd Cleanup our timeouts. 2015-12-10 19:43:45 +01:00