Commit Graph
212 Commits
Author SHA1 Message Date
Filip Barl 297e21d42c Removed d3-zoom reference in package.json. 2017-08-23 15:04:50 +02:00
jpellizzari 659759fdfd Use Node 8.4 for builds 2017-08-21 13:47:31 -07:00
Roland SchilterandGitHub 0d381a34d6 Link scope-ui graphs clickable to prometheus queries (#2664)
scope-app:
* Adds `-app.metrics-graph` cli flag for configuring the base url to
use for graph links; supports :orgID and :query placeholders
* Assigns query URLs to existing metrics and appends empty metrics if missing

scope-ui:
* Extends <CloudFeature /> with option alwaysShow
* Adds <CloudLink /> to simplify routing when in cloud vs not in cloud
* Links metric graphs in the ui's node details view for all k8s
toplogies and containers so far
* Tracks metric graph click in mixpanel `scope.node.metric.click`
* Uses percentages and MB for CPU/Memory urls
* Passes timetravel timestamp to cortex in deeplink
2017-08-15 18:56:23 +01:00
Filip BarlandGitHub 2183a93916 Time Travel 3.0 (#2703)
* Experimental.

* Getting somewhere.

* Good zooming behaviour.

* Working timeline zooming & panning.

* Clickable timestamps.

* Dragging cursor

* Timeline panning buttons.

* Capping at current time.

* Scale limits.

* Better ticks.

* Time tags fading in smoothly.

* Removed seconds.

* Better tick spacing.

* Vertical panning as zooming.

* Organizing the code..

* Replaced d3-zoom with native events.

* Got rid of scaleX

* More code beautified.

* Almost done polishing the code.

* Some cleanup.

* Better request triggers.

* More cleaning up.

* Styled the timestamp input.

* Final cleanup.

* Update yarn.lock

* Zoom tracking.

* Animate timeline translations.

* Fixed the PAUSE button glitch and updating the time control info.

* Opacity fix and timeline arrows removed.

* Fixed the red vertical bar.

* Use preventDefault() on timeline scrolling.
2017-07-27 14:40:20 +02:00
Roland Schilter 0d2a1e3eb1 Set package.json version to 0.0.0
The package version is irrelevant for the build process
and is not read anywhere.

The package is not published and causes confusion if the
bump is forgotten.
2017-07-10 13:36:32 +02:00
Roland Schilter 202e1569e5 Fix yarn pack ignoring directory cli flag 2017-07-07 13:00:23 +02:00
Roland Schilter c3ee9cda91 Yarn prefixes version with v when packing 2017-07-06 22:13:21 +02:00
Roland Schilter 718e817c73 Update README/Makefile/package.json to use yarn
Fixes #2606
2017-07-04 14:50:53 +02:00
Filip BarlandGitHub eb64d3f09b Make API calls with time travel timestamp (#2600)
* Node details fetching reports at proper timestamp.

* Corrected all the relevant timestamps in the UI.

* Renamed some state variables.

* Time travel works for topologies list.

* Added a whole screen overlay for time travel.

* Polished the backend.

* Make time travel work also with the Resource View.

* Fixed the jest tests.

* Fixed the empty view message for resource view.

* Some naming polishing.

* Addressed the comments.
2017-06-20 12:31:22 +02:00
Alfonso AcostaandGitHub e42347addc Merge pull request #2590 from weaveworks/release-1.5
Release 1.5.0
2017-06-19 12:13:26 +02:00
Roland Schilter 64ba2b2a89 Fix zoom for npm start
Pins d3-transition and d3-drag dependencies which were previously
pulled in as deps from d3zoom as version 1.1.0 each. This broke
the zoom feature for `npm start`.

Fixes #2545
2017-06-15 23:29:15 +02:00
Roland Schilter 8067ac93ae Bump client version in package.json 2017-06-13 16:40:45 +02:00
Roland SchilterandGitHub 5ef7bd151a es6ify server.js and include in eslint (#2560) 2017-06-08 18:39:53 +02:00
Roland Schilter a1e58c13e5 bump package.json version to current scope version 2017-06-01 18:24:58 +02:00
Filip BarlandGitHub 5935a32d0a Canvas zoom control (#2513)
* Added a zoom slider control in the bottom-right corner.

* Made the control vertical and added the buttons.

* Adjusted the styles and borders.

* Trying to fix Webpack

* Hide zoom control when there is no content.

* Polished the code.
2017-05-15 11:49:12 +02:00
Filip BarlandGitHub 10b276c28a Use prop-types library to silence PropTypes deprecation warning (#2498)
* Use prop-types library to fix the deprecation warning.

* Updated weaveworks-ui-components version.
2017-05-05 18:23:43 +02:00
Filip BarlandGitHub 7669c325d7 Update node libraries (#2292)
* Upgraded Webpack 1.13 -> 2.2

* Made webpack.prodution.config.js work and updated yarn.lock

* Updated a lot of small dependencies.

* Upgraded React

* Bunch of small devDependencies updated.

* Fully updated devDependencies

* Updated optionalDependencies

* Updated everything except D3 zoom.

* Fixed linting error.

* Another update.

* Reverted materialize-css upgrade and applied new eslint rules

* Final fixes to webpack configs.

* Updated yarn.lock again.
2017-05-04 13:12:00 +02:00
jpellizzari 3ec7cc82e6 Added service images widget 2017-05-03 10:31:25 -07:00
jpellizzari ee084dffd6 Changed client to use minor Node version when used as an npm package 2017-05-02 14:53:53 -07:00
jpellizzari aced163601 Bumped packge.json version 2017-03-27 14:15:33 -07:00
jpellizzari 9dfcd213c3 Replaced timely dependency 2017-03-21 12:26:52 -07:00
jpellizzari fd0a19fdda Bumped react version 2017-03-16 10:21:58 -07:00
jpellizzariandJordan Pellizzari 38d2b8ddff Added more granular JS API exports 2017-03-08 10:54:56 -08:00
jpellizzari efdd8e4b0e Changed ui-build-pkg job to use a docker container 2017-02-24 14:03:05 -08:00
Jordan PellizzariandGitHub 341446fa93 Merge pull request #2237 from weaveworks/change-instance
Add logic to remove non-transferrable state when switching Cloud instances
2017-02-20 10:47:45 -08:00
jpellizzariandJordan Pellizzari 3d13e916af Added logic to remove non-transferrable state keys when switching Cloud instances 2017-02-20 10:28:01 -08:00
Filip Barl 6d0066cd38 Polished the selectors code and fixed failing tests. 2017-02-20 10:58:26 +01:00
Filip Barl 2a54085c62 Node transformations done from NodeContainer. Put node searching logic in selectors. 2017-02-20 10:58:26 +01:00
jpellizzari ca97cee4dd Upgraded xterm.js to 2.2.3 2017-02-01 08:29:30 -08:00
jpellizzari 33844ca650 npm scripts change 2017-01-24 17:41:41 -08:00
jpellizzari b3f3dc180e Makefile changes 2017-01-24 17:21:31 -08:00
jpellizzari a0b1aa12c0 Changed client build-pkg directory 2017-01-24 16:15:02 -08:00
jpellizzari 9acca772a9 Added npm module scripts to CI 2017-01-24 13:36:39 -08:00
jpellizzari 0bf7fa49dd Exported wsUrl constant from web-api-utils for the terminal component 2017-01-24 11:25:03 -08:00
jpellizzari 59ed9b8f3f Added S3 release script 2017-01-24 11:25:03 -08:00
jpellizzari c1303e181e Added ActionTypes and styles exports 2017-01-24 11:25:03 -08:00
jpellizzari 0575e85ca1 Changed API URLs when running as dependency 2017-01-24 11:25:02 -08:00
jpellizzari d5d853ebba Added package installation scripts 2017-01-24 11:25:02 -08:00
jpellizzari bfefa0902b Added exports and install script 2017-01-24 11:25:02 -08:00
jpellizzari df85fa577b Locked sass deps; fixed .matched-text fade function 2017-01-20 10:06:04 -08:00
jpellizzari 1efbb933d0 Changed font-awesome imports to use Sass 2017-01-20 10:06:04 -08:00
jpellizzari 9675cd2551 Converted stylesheets to Sass 2017-01-20 10:06:04 -08:00
Filip Barl e345f42b18 Moved font-awesome-webpack to devDependencies. 2016-12-15 15:04:53 +01:00
Filip Barl 26b3e9efc9 Reapplied all the eslint upgrade changes 2016-12-15 15:04:53 +01:00
DavidandGitHub 99bfab89b7 Revert "Upgraded eslint & eslint-config-airbnb" 2016-12-12 16:06:13 +01:00
Filip Barl be9b640130 Addressed @davkal's and @jpellizzari's comments 2016-12-12 11:36:43 +01:00
Filip Barl 1b5f3ae4bf Using individual D3 modules 2016-12-12 11:04:49 +01:00
fbarlandFilip Barl 0cb48f6d71 Upgraded eslint, airbnb linting rules, and made trivial fixes 2016-12-12 10:55:45 +01:00
Filip Barl 4142474e46 Added babel-plugin-lodash library for automatic cherry-picking of the Lodash modules 2016-12-09 14:07:22 +01:00
fbarl 1bc27ee40f Fix all the npm library versions (resolve #2052) 2016-12-05 14:57:25 +01:00