Commit Graph

825 Commits

Author SHA1 Message Date
Filip Barl
23fb14d0be Polished the metric selection logic (#2468)
* Polished the metric selection code

* Fixed hovering advantage over pinning.
2017-04-26 16:18:42 +02:00
Filip Barl
c7bf7df975 Fixed view mode switching keyboard shortcuts (#2471)
* Replaced toggleGridMode with working actions.

* Addressed @foot's comment.
2017-04-26 14:26:47 +02:00
David Kaltschmidt
11d9903d8f Remove zoom on double-click
This was confusing in demos at KubeCon and DockerCon this year, as
clicking on nodes kept the UI zooming in.
Plus, when asked, users had no idea that double-click meant zoom in.

Fixes weaveworks/service-ui#453
2017-04-21 17:00:09 +02:00
Filip Barl
7c22c97382 Fix node highlight for all shapes (#2430)
* Render highlight with strokes & use non-scaled highlight for stacks.

* Reverted part of the changes made to node stack highlighting.
2017-04-11 09:11:31 +02:00
Filip Barl
9c566562c9 Made view mode selector responsive. (#2421) 2017-04-07 15:04:38 +02:00
Filip Barl
d71fc313b6 Not showing metric selector when empty. (#2426) 2017-04-07 12:36:21 +02:00
Filip Barl
82e373777a Increase cloud node thickness in graph view (#2418)
* Unified node shapes rendering templates.

* Addressed @foot's comments (fix shadow thickness across all shapes).

* Made getClipPathDefinition slightly more readable.
2017-04-06 14:44:52 +02:00
Filip Barl
60629d3325 Fix the click origin of the details panel in the table mode. (#2423) 2017-04-05 16:27:42 +02:00
Filip Barl
43720bd7c7 Show sublabel in tooltip for Internet nodes in table view mode (#2410)
* Show sublabel in tooltip for Internet nodes in table view.

* Improves fake internet node from debug-toolbar.
2017-03-28 16:42:17 +02:00
Simon Howe
2c61635347 Fixes loading of viewState from localStorage into URL
Needed another serialization to avoid "[Object object]" in the url.
2017-03-28 14:53:35 +02:00
Filip Barl
b2f06a63ee Don't reset zoom on refresh layout. (#2407) 2017-03-28 14:30:23 +02:00
Filip Barl
3e039a3143 Hide the opened help panel when clicking on the search bar icon. (#2406) 2017-03-28 13:04:41 +02:00
jpellizzari
24e56dfe78 Add check for old options 2017-03-27 18:57:33 -07:00
Jordan Pellizzari
984092f826 Merge pull request #2400 from weaveworks/release-1.3
Release 1.3.0
2017-03-27 15:02:48 -07:00
Jordan Pellizzari
066e80d60d Merge pull request #2382 from weaveworks/2378-nan-path
Add default values for edge waypoints
2017-03-27 14:31:17 -07:00
jpellizzari
aced163601 Bumped packge.json version 2017-03-27 14:15:33 -07:00
Jordan Pellizzari
1f390567d2 Merge pull request #2403 from weaveworks/2402-download-json
Fix for incorrect report.json URL in cloud
2017-03-27 14:12:36 -07:00
Filip Barl
4158fb1474 Keep the resource metric pinned on mouse out 2017-03-27 13:54:04 -07:00
jpellizzari
8e20ae5ac2 Added logic to default to noneLabel when no options are selected 2017-03-27 12:53:11 -07:00
jpellizzari
9bccc9918e Added noneLabel button to topology options 2017-03-27 12:53:10 -07:00
jpellizzari
bdea399a5a Fix for incorrect report.json URL in cloud 2017-03-27 12:32:30 -07:00
jpellizzari
fff47ee609 Added 'addOrRemove' flag to change topology action 2017-03-27 10:06:56 -07:00
jpellizzari
4612738580 Added comma-separated URL params 2017-03-27 10:06:56 -07:00
jpellizzari
454acdd999 Changed option value to list 2017-03-27 10:05:49 -07:00
jpellizzari
828d50fba0 unit test added 2017-03-27 10:04:28 -07:00
Filip Barl
ddb65347c9 Make a doRequest instead of fetch. 2017-03-24 21:31:44 +01:00
Filip Barl
f633c6edb1 Fetch the resource view topologies on first topologies load 2017-03-24 18:45:58 +01:00
Filip Barl
69fd397217 Initial version of the resource view (#2296)
* Added resource view selector button

* Showing resource boxes in the resource view

* Crude CPU resource view prototype

* Improved the viewMode state logic

* Extracted zooming into a separate wrapper component

* Split the layout selectors between graph-view and resource-view

* Proper zooming logic for the resource view

* Moved all node networks utils to selectors

* Improved the zoom caching logic

* Further refactoring of selectors

* Added sticky labels to the resource boxes

* Added panning translation limits in the resource view

* Renamed GridModeSelector -> ViewModeSelector

* Polished the topology resource view selection logic

* Search bar hidden in the resource view

* Added per-layer topology names to the resource view

* Made metric selectors work for the resource view

* Adjusted the viewport selectors

* Renamed viewport selector to canvas (+ maximal zoom fix)

* Showing more useful metric info in the resource box labels

* Fetching only necessary nodes for the resource view

* Refactored the resource view layer component

* Addressed first batch UI comments (from the Scope meeting)

* Switch to deep zooming transform in the resource view to avoid SVG precision errors

* Renamed and moved resource view components

* Polished all the resource view components

* Changing the available metrics selection

* Improved and polished the state transition logic for the resource view

* Separated zoom limits from the zoom active state

* Renaming and bunch of comments

* Addressed all the UI comments (@davkal + @fons)

* Made graph view selectors independent from resource view selectors
2017-03-24 14:51:53 +01:00
jpellizzari
950edf3b6f Added default values for edge waypoints 2017-03-23 11:18:34 -07:00
Jordan Pellizzari
118280a2a8 Merge pull request #2361 from weaveworks/change-instance-fix
Clear client polling and nodes state on dismount
2017-03-22 08:37:01 -07:00
Filip Barl
53212d2cff Merge pull request #2353 from weaveworks/help-panel-fix-height-overflow
Fix help panel fields max height
2017-03-22 14:54:47 +01:00
Filip Barl
51a8484807 Merge pull request #2355 from weaveworks/hide-save-as-svg-in-table-view
Hide 'Save canvas as SVG' button in Table View
2017-03-22 12:58:59 +01:00
Filip Barl
a94006491e Fix help panel fields max height. 2017-03-22 11:53:43 +01:00
jpellizzari
56a4b32d97 Added yarn.lock; changed Docker file to use yarn 2017-03-21 13:51:26 -07:00
jpellizzari
9dfcd213c3 Replaced timely dependency 2017-03-21 12:26:52 -07:00
jpellizzari
0f86ad1bed Prevent client polling after shutdown 2017-03-20 18:35:04 -07:00
Filip Barl
7583bed567 Hide 'Save canvas as SVG' button in Table View 2017-03-20 14:56:10 +01:00
Jordan Pellizzari
c7f6a07838 Changed client tests to use EDGE_ID_SEPARATOR constant 2017-03-19 17:30:26 -07:00
jpellizzari
451f6b29de Changed edge ID separator 2017-03-17 10:55:32 -07:00
Jordan Pellizzari
93e76a94c1 Fix for inaccurate bidrectional edges on edge hover 2017-03-17 10:55:32 -07:00
jpellizzari
5da40d24c3 Fixed url state copy/paste bug 2017-03-16 15:02:06 -07:00
jpellizzari
fd0a19fdda Bumped react version 2017-03-16 10:21:58 -07:00
jpellizzari
f975c12cf9 Change to re-fetch topologies on instance switch 2017-03-13 15:48:51 -07:00
jpellizzari
9b648834ee removed old marker code 2017-03-13 09:03:50 -07:00
jpellizzari
376e6f014e Added edge arrows 2017-03-10 12:10:51 -08:00
Jordan Pellizzari
743ead7678 Merge pull request #2290 from weaveworks/cancel-polling
Add logic to turn off network requests when Scope dismounts
2017-03-08 11:36:19 -08:00
jpellizzari
38d2b8ddff Added more granular JS API exports 2017-03-08 10:54:56 -08:00
Filip Barl
f87909282f Removed the throb animation for search matching. 2017-03-06 12:53:45 +01:00
jpellizzari
a2ddc27a15 Removed contrastMode from url state 2017-03-02 15:43:35 -08:00
jpellizzari
d775020794 Added logic to turn off network requests when Scope dismounts 2017-03-01 14:03:27 -08:00