Commit Graph

844 Commits

Author SHA1 Message Date
Filip Barl
39c95a97c3 Correctly handle Time Travel resuming in Monitor. 2018-01-22 15:16:16 +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
e233e64279 Improved the duration parsing on frontend. 2017-11-03 10:43:41 +01:00
Filip Barl
f5bfa506d6 Verified the TODO comments and make durations be in seconds. 2017-11-03 10:43:41 +01:00
Filip Barl
6c0194b832 Show uptime durations in a more human format. 2017-11-03 10:43:41 +01:00
Filip Barl
892b2326d6 Use firstSeenConnectAt for earliestTimestamp in Time Travel. 2017-10-27 15:04:26 +02:00
Filip Barl
27fea40d09 Merge pull request #2906 from weaveworks/2858-prevent-zooming-nan-errors
Try to prevent zooming NaN errors
2017-10-24 16:15:04 +02:00
Filip Barl
1d665a5a23 Check whether tableContent ref is present. 2017-10-23 17:09:56 +02:00
Filip Barl
35c814e912 Make sure only proper numerical values are cached. 2017-10-23 16:39:34 +02:00
Filip Barl
adea60b07e Set initial viewport size in global state. 2017-10-23 16:28:46 +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
228c9c4ab3 Updated all possible devDependencies. 2017-10-18 14:54:45 +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
Filip Barl
ef2f32dc99 Declared Sparkline PropTypes. 2017-10-17 19:07:14 +02:00
Filip Barl
c26914087f Use destructuring instead of deep assignment whenever possible. 2017-10-17 19:07:14 +02:00
Filip Barl
dbea420883 Autofix for padded-blocks. 2017-10-17 19:07:14 +02:00
Filip Barl
2fcbdb7e16 Applied autofix for object-curly-newline rule. 2017-10-17 19:07:14 +02:00
Filip Barl
d9a8afe81d No restricted globals. 2017-10-17 19:07:14 +02:00
Filip Barl
a07e5dd70a Small DOM semantic replacements. 2017-10-17 19:07:14 +02:00
Filip Barl
a369c158a5 Converted some links into buttons. 2017-10-17 19:07:14 +02:00
Filip Barl
58922730f5 Fixed function-paren-newline. 2017-10-17 19:04:41 +02:00
Filip Barl
659c9b1304 Fixed spaced-comment. 2017-10-17 19:03:44 +02:00
Filip Barl
dfe4944ec7 Fixed indentation. 2017-10-17 19:03:44 +02:00
Damien Lespiau
b767de8e58 terminal: Fix Caculated typo 2017-10-17 16:54:57 +01:00
Filip Barl
760f1d919e Use more colors from the theme in TimeTravelComponent. 2017-10-16 21:25:23 +02:00
Filip Barl
0056424357 TimeTravelComponent as a fully styled component. 2017-10-16 20:01:49 +02:00
Filip Barl
8a5eb637a6 Inject ui-components Theme into App component. 2017-10-16 16:26:50 +02:00
Filip Barl
6b8424305c Merged TimeTravelTimeline into TimeTravelComponent so that whole of time travel is contained in one component. 2017-10-16 15:15:30 +02:00