Commit Graph

824 Commits

Author SHA1 Message Date
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
Filip Barl
742a8c528c Made two time travel component parts independent of global state. 2017-10-16 14:43:44 +02:00
Filip Barl
ada122c192 Started making component more independent. 2017-10-16 14:43:44 +02:00
Simon
71a18fe190 Merge pull request #2882 from weaveworks/use-service-ui-terminal-route
Use a context sensitive route for the popped out terminal.html
2017-10-12 11:12:30 +02:00
Simon Howe
7dcdc8db12 Fixes images in details-panel after service -> resources change 2017-10-11 12:41:18 +02:00
Simon Howe
bf7cde32e0 Fixes "Save as svg" functionality. 2017-10-10 16:51:06 +02:00
Simon Howe
b990473636 Use a context sensitive route for the popped out terminal.html
- Service-ui has learned a new route which corresponds to the existing
  scope terminal.html route. Both standalone and service-ui scope can now
  respond to terminal.html:
  - If using standalone scope path/to/scope/ -> path/to/scope/terminal.html will be used.
  - If using service-ui app/instanceid -> app/instanceId/terminal.html
2017-10-09 12:12:51 +02:00
Filip Barl
c0c04c2e2b Replaced react-tooltip with own component. 2017-09-28 13:18:20 +02:00
Damien Lespiau
53f1890ad7 tracking: Fix in-flight collision of two related PRs
Unfortunately, I forgot to rebase before renaming trackMixpanelEvent() and a PR
adding a new trace point was already in-flight.

More precisely:
  - https://github.com/weaveworks/scope/pull/2861 renames trackMixpanelEvent()
    to trackAnalysticsEent()
  - https://github.com/weaveworks/scope/pull/2857 add a new
    trackMixpanelEvent() call.

Each PR is fine, but with the merge of both without rebasing any, we end up
with master having a dandling call to trackMixpanelEvent().
2017-09-26 12:59:29 +01:00
Damien Lespiau
03475cec83 Merge pull request #2861 from weaveworks/tracking-with-segment
tracking: Use segment for tracking
2017-09-25 14:36:32 +01:00
Damien Lespiau
cbfe63dc78 tracking: Fix now out of date comment 2017-09-25 14:03:09 +01:00
Damien Lespiau
a205f6ecb7 tracking: Rename trackMixpanelEvent() to trackAnalyticsEvent()
Might as well not mention Mixpanel now that we're sending all events to
Segment.

Commit done with:

  git grep trackMixpanelEvent | cut -d : -f 1 | sort -u | \
	xargs sed -e s/trackMixpanelEvent/trackAnalyticsEvent/g
2017-09-25 13:57:00 +01:00
Damien Lespiau
74c0c782ac Merge pull request #2857 from weaveworks/2017-09-21-control-tracking
tracking: Add Mixpanel event on Control clicks
2017-09-25 12:06:19 +01:00
Damien Lespiau
3f6faa5371 tracking: Use segment for tracking
Align scope to the rest of the platform.
2017-09-22 16:51:37 +01:00
Damien Lespiau
802559e527 tracking: Add Mixpanel event on Control clicks
We'd like to gain some insight on how controls are used.
2017-09-22 16:39:37 +01:00
Filip Barl
687d061939 Cleanup and revert to optimized waypoints recalculation. 2017-09-12 12:16:30 +02:00
Filip Barl
75e0d383fe Simplified spring usage. 2017-09-11 18:50:23 +02:00
Filip Barl
736770c978 Fix edges disappearing. 2017-09-11 18:10:42 +02:00
Filip Barl
f8343c189d Added one more comment. 2017-08-24 18:14:43 +02:00
Filip Barl
16e520da5e Proper handling of namespace selection when time travelling. 2017-08-24 18:11:46 +02:00
Filip Barl
c159315245 Split between topology API polling & one time calls. 2017-08-24 18:11:46 +02:00