Commit Graph
359 Commits
Author SHA1 Message Date
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
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
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
jpellizzari d775020794 Added logic to turn off network requests when Scope dismounts 2017-03-01 14:03:27 -08:00
Filip Barl 19202a2e44 Fixed the selectors performance leaks. 2017-03-01 12:14:36 +01:00
Filip Barl 11ce5638c5 Moved nodes-chart-layout.
Moved nodes-chart-zoom.

Moved zoomCache to global state.

Moved nodes-chart-focus.

Fixed some bugs and polished the code.

Keeping track of topology options in zoomCache.

Fixed forceRelayout and circular layout.

Unified graph complexity heuristic criterion.
2017-03-01 12:14:36 +01:00
Jordan Pellizzari 5c7d2843f7 Merge pull request #2256 from weaveworks/contrast-as-component
Load contrast stylesheet
2017-02-22 10:03:19 -08:00
jpellizzari f2f474ac80 Change to load contrast theme dynamically 2017-02-21 10:29:43 -08:00
Filip Barl 9ac546c8b9 Fix details panel links. 2017-02-21 18:40:45 +01:00
Filip Barl e5c655aa88 Addressed the comments. 2017-02-20 11:10:44 +01:00
Filip Barl 6d0066cd38 Polished the selectors code and fixed failing tests. 2017-02-20 10:58:26 +01:00
Filip Barl b9ba83ffca Moved the node networks computation to selectors. 2017-02-20 10:58:26 +01:00
Filip Barl 5bd8e8f690 Renamed 'subLabel' to 'labelMinor' and removed 'node_count' property. 2017-02-20 10:58:26 +01:00
Filip Barl 3987e95465 Moved the node layout metrics computation to selectors. 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 c9048d8661 Revert "Merge pull request #2204 from weaveworks/contrast-as-component"
This reverts commit 68e8cbf4f6, reversing
changes made to 00408b84e8.

Reverts bug where contrast mode is showing by default
2017-02-14 10:59:34 -08:00
Jordan Pellizzari 68e8cbf4f6 Merge pull request #2204 from weaveworks/contrast-as-component
Added dynamic contrast-mode toggle
2017-02-14 09:54:23 -08:00
Jordan Pellizzari 00408b84e8 Merge pull request #2230 from weaveworks/2227-search-help
Fix help menu not opening from 'search' hint
2017-02-13 11:14:07 -08:00
jpellizzari 8e601ddfb3 Fixed bug where search help menu didn't open 2017-02-13 09:53:27 -08:00
Jordan Pellizzari 7e0ccb4f7d Merge pull request #2202 from weaveworks/2154-api-url
Re-factor API URL generation code
2017-02-13 09:52:38 -08:00
Jordan Pellizzari 63dc4e1b3e Added dynamic contrast-mode toggle 2017-02-13 09:49:55 -08:00
Jordan Pellizzari e7b8c59bcc Merge pull request #2126 from weaveworks/2121-upgrade-xterm
Upgraded xterm.js to 2.2.3
2017-02-10 13:51:25 -08:00
Jordan Pellizzari d91fc5c310 Added API prefix to terminal window 2017-02-07 09:24:39 -08:00
Filip Barl 2a8904e5f2 Fixed the node details spinner Chrome display bug 2017-02-06 11:16:28 +01:00
Jordan Pellizzari f65f39b128 Refactored API URL generation to function calls and added tests 2017-02-03 12:32:35 -08:00
Filip Barl c9ff15f7f3 Re-applied PR #2128 'Graph layout optimizations' 2017-02-03 16:59:25 +01:00
Filip Barl 8eaa12e680 Revert "Graph layout optimizations" 2017-02-02 11:42:12 +01:00
Simon Howe 9e333d4f4d Remove scroll-lock, this is now a feature of xterm.js 2017-02-01 08:29:30 -08:00
Filip Barl 632e3756c4 Optimized rendering of graph layout and zooming events 2017-02-01 16:27:23 +01:00
David Kaltschmidt 4121da1c06 Added Internet button to debug toolbar 2017-01-31 16:57:49 +01:00
jpellizzari a6412f12b2 Scoped CSS classes inside .scope-app class 2017-01-24 11:33:20 -08:00
jpellizzari 0bf7fa49dd Exported wsUrl constant from web-api-utils for the terminal component 2017-01-24 11:25:03 -08:00
Filip Barl 1ef64cf17c Addressed David's comments 2017-01-20 12:52:03 +01:00
Filip Barl 26fc2eed58 Fixed row focusing for the bottom of a scrollable table 2017-01-20 12:36:27 +01:00
Filip Barl 687fb3a201 Maintain focus on hovered node table rows
More sophisticated row focusing

Keeping deleted focused nodes in the table

Fixed focus debouncing
2017-01-20 12:36:27 +01:00
Filip Barl d3466b5454 Refactored the table component/model and wrote the tests
Backward-compatibility fix
2017-01-16 17:05:36 +01:00
Filip Barl 6888108b83 Made the searching of generic tables work on the UI
Extracted table headers common code on the frontend

Fixed the search matching and extracted further common code in the UI
2017-01-16 12:22:10 +01:00
Filip Barl e475a09ee6 Rendering sortable generic tables in the UI
Rendering generic table columns

Made Type a required attribute for TableTemplate

Made generic table sortable on the UI
2017-01-16 12:22:10 +01:00
Filip Barl 31be525bd2 Created generic table model on backend
Replaced MetadataRow with generic Row in Table model

Sending through multicolumn tables from the backend
2017-01-16 12:22:10 +01:00
jpellizzari 62448ee7cb Added debugging/troubleshooting menu; Moved troubleshooting icons 2017-01-05 13:46:51 -08:00
jpellizzari edf94a4da8 Added control to reset local view state 2017-01-05 13:36:55 -08:00
jpellizzari b7002610ea Fixed linting error 2016-12-20 08:12:06 -08:00
Jordan Pellizzari 32bb7c37aa Merge pull request #2087 from weaveworks/1982-control-indicator
Add control status icon to Terminal header
2016-12-20 07:39:30 -08:00
Filip Barl 26b3e9efc9 Reapplied all the eslint upgrade changes 2016-12-15 15:04:53 +01:00
jpellizzari 2b83ebd74c Added control status icon to Terminal header 2016-12-13 10:04:05 -08:00
jpellizzari 850e675273 Fixed sparkline crashing on stopped nodes 2016-12-09 11:19:38 -08:00
Jordan Pellizzari b5a720e17c Merge pull request #2076 from weaveworks/2075-client-linting
Add client linting to CI config
2016-12-09 08:04:01 -08:00
fbarl 524e2e2e9a Importing lodash util functions explicitly. 2016-12-09 14:03:31 +01:00
jpellizzari 7fba78c7b3 Liniting fixes 2016-12-08 11:08:48 -08:00