Commit Graph

494 Commits

Author SHA1 Message Date
Filip Barl
a096f2f76a Reloading deployments in Time Travel. 2018-06-12 15:05:50 +02:00
Filip Barl
35bcd28e81 Show timeline deployments. 2018-06-12 11:35:33 +02:00
jpellizzari
d76483f73f Fix scope report download URL 2018-06-04 13:45:45 -07:00
Filip Barl
20345a6c79 Use TimestampTag component. 2018-05-28 16:44:04 +02:00
Filip Barl
45486f44c0 Use xterm/fit addon. 2018-05-18 17:48:54 +02:00
Filip Barl
6e139c9408 Remove outdated terminalCellSize estimation code. 2018-05-18 16:52:38 +02:00
Filip Barl
43c23d2bc0 Adjusted character width/height estimation. 2018-05-18 16:52:38 +02:00
Roland Schilter
f012c23ca1 Sentence cased text everywhere (#3166)
* Sentence cased text everywhere

Follows Weave Cloud's direction of sentence case on most things.

* More space between sorter caret and label

* Use full topology name for table header
2018-05-17 17:30:38 -07:00
Filip Barl
07c851178c Fix spelling. 2018-05-14 17:58:11 +02:00
Filip Barl
e9cafc634a Close xterm on exit. 2018-05-14 16:39:58 +02:00
Roland Schilter
daccb6648d Dynamic table header width according to scrollbar (#3169)
Sizes the fixed table header of `NodeDetailsTable` width dynamically
depending on the content's scrollbar width. Makes sure the table header
cells align with the table body cells.

This also widens the "Parent PID" cell to make sure the text is not cut
off. Alternatively, could be renamed to "PPID".

Fixes #3158.
2018-05-11 13:26:45 -07: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
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
Filip Barl
97bd290f2c Add explicit tour-step-anchor classNames to Explore tour elements. 2018-02-23 16:27:45 +01:00
Filip Barl
a096c07cce Fix nodes grid row clickability in the tours. 2018-02-19 15:21:17 +01:00
Filip Barl
df8906d6c6 Extracted ViewModeButton into a separate component. 2018-02-19 10:55:29 +01:00
Filip Barl
1a6e49fd3d Added classNames to all the anchor DOM elements. 2018-02-19 10:55:29 +01:00
Roberto Bruggemann
72255468c1 Disable detail panel link
The link is disabled if the `monitor` flag is not true.
If Weave Cloud runs without Monitor, the link is dead. The flag allows to pass Weave Cloud's Monitor state down to Scope.
2018-02-15 17:22:18 +00:00
Filip Barl
165f3be2b4 Always show time travel. 2018-02-12 13:38:36 +01:00
Simon Howe
d5829f21cb Fixes bug showing "container image status" on all resource types
- It should only be visible on the kubernetes contoller node-details
  panels.
- This fixes a bug where we were showing it on all node-details if you
  were on the controller topology.
2018-02-05 11:45:13 +01:00
Roberto Bruggemann
520ca3a570 Close terminal pipe, when closing the pod panel
Moving `deletePipe()` in `componentWillUnmount()` ensures the pipe is deleted when:
1. the terminal is closed
2. the terminal is closed when closing the pod panel

The pipe still does not get deleted when popping out the terminal.
2018-01-31 15:07:55 +00:00
Roland Schilter
f96dd4a532 client: Fix uptime sort in table view (#3038)
* client: Fix uptime sort in table view

Duration dataType for table columns is now sorted as numeric value.
Default sorting is kept as ascending and text is left-aligned, unlike
numbers.

* Make non-second unit show up in tests
2018-01-22 15:31:44 +01:00
Filip Barl
382b0c6951 Fixed appendTime function and its tests. 2018-01-22 14:31:16 +01:00
Filip Barl
77b691ca0b Change pausedAt format from moment() back to ISO string for easier handling. 2018-01-19 19:26:39 +01:00
Filip Barl
0dedbeac07 Merge pull request #3025 from weaveworks/3024-stop-page-router-on-unmount
Stop page router on App unmount
2018-01-17 16:22:43 +01:00
Filip Barl
acfe66c6fe Stop page router on App unmount. 2018-01-17 15:42:03 +01:00
Roberto Bruggemann
c00ab5e9e7 Set a timeout to Terminal animation
If the animation has no effect, `onTransitionEnd`'s handler is not be called.
Since `onTransitionEnd`'s handler controls whether the terminal is shown or not (by passing `connect=true` as a Terminal prop), set the `animated` variable to true after a timeout.

Please see:
* https://stackoverflow.com/questions/2087510/callback-on-css-transition/11354026#11354026
* https://github.com/scttnlsn/backbone.viewkit/issues/4
* https://forums.xamarin.com/discussion/58456/why-isnt-my-transitionlistener-getting-called
2018-01-15 14:28:03 +00:00
Matthias Radestock
9754bf2385 refactor: remove support for non-linkable nodes
since they are now always linkable.
2018-01-02 10:19:22 +00:00
Filip Barl
1db7f42f5c Extended TimeTravelWrapper with dropdown show/hide CSS animation. 2017-12-14 16:23:10 +01:00
Simon Howe
ef99e672c9 Correctly show whether there are new images or not.
find returns 'undefined' not 'null'!
2017-11-20 14:37:33 +01:00
Aaron Kirkbride
2bda044eef Merge pull request #2929 from weaveworks/react-16
Upgrade to React 16
2017-11-15 14:23:27 +00:00
Filip Barl
2df38731a6 Fix some warnings. 2017-11-14 17:26:57 +01:00
Jordan Pellizzari
f0888baf8a Merge pull request #2934 from weaveworks/1449-image-details-undefined
Fix undefined image bug
2017-11-14 07:49:46 -08:00
Aaron Kirkbride
848c9bab3c Upgrade to React 16 2017-11-14 13:22:00 +00:00
Filip Barl
bf78fc5ba4 Merge pull request #2919 from weaveworks/2823-include-timestamp-in-url
Use timestamp in URL
2017-11-14 14:16:41 +01:00
jpellizzari
723d47170e Fix undefined image bug 2017-11-13 16:43:13 -08:00
jpellizzari
85453901d8 Fix incorrect image status text bug 2017-11-13 15:34:43 -08:00
Filip Barl
4bd7fc759a Store the pausedAt state in the app URL. 2017-11-10 16:46:56 +01:00
Filip Barl
892b2326d6 Use firstSeenConnectAt for earliestTimestamp in Time Travel. 2017-10-27 15:04:26 +02:00
Filip Barl
1d665a5a23 Check whether tableContent ref is present. 2017-10-23 17:09:56 +02:00
Filip Barl
397b839678 Removed all legacy TimeTravel code. 2017-10-20 11:50:40 +02:00
Filip Barl
770c58a97b Using TimeTravel from ui-components repo. 2017-10-20 11:50:40 +02:00
Filip Barl
6cc98fdea2 Merge pull request #2896 from weaveworks/2895-update-eslint-deps
Update eslint dependencies
2017-10-18 13:42:56 +02:00
Damien Lespiau
d1eb9862a1 Merge pull request #2897 from weaveworks/2017-10-17-fix-caculated-type
terminal: Fix Caculated typo
2017-10-18 12:10:28 +01:00
Filip Barl
90c120d8d9 Fixed the failing tests. 2017-10-17 21:05:19 +02:00
Filip Barl
ce97b009da Fixed Time Travel component styles. 2017-10-17 19:16:05 +02:00
Filip Barl
982711f9af Wrap multiline JSX DOM. 2017-10-17 19:08:43 +02:00
Filip Barl
230aea32cf Autofix jsx-max-props-per-line. 2017-10-17 19:08:43 +02:00
Filip Barl
d81e50d418 Fix DOM closing tag location. 2017-10-17 19:07:52 +02:00