Commit Graph

202 Commits

Author SHA1 Message Date
jpellizzari
38d2b8ddff Added more granular JS API exports 2017-03-08 10:54:56 -08: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
jpellizzari
b417bcda80 Fix for .fail undefined on doRequest 2017-02-28 21:55:56 -08:00
jpellizzari
4f9725612b Fixed window undefined condition for CSRF token 2017-02-27 11:26:29 -08:00
Filip Barl
225477f38e Merge pull request #2268 from weaveworks/fix-graph-layout-edge-directionality
Fix edge directionality in graph layout
2017-02-23 11:20:56 +01:00
jpellizzari
1b58c7725f Fix for contrast stylesheet public path 2017-02-22 11:01:02 -08:00
Filip Barl
689973ae7f Addressed the PR comment 2017-02-22 18:15:24 +01:00
Filip Barl
f1b80c0cfc Fix edge directionality in graph layout. 2017-02-22 16:11:57 +01:00
jpellizzari
f2f474ac80 Change to load contrast theme dynamically 2017-02-21 10:29:43 -08:00
Jordan Pellizzari
3e810f76e7 Merge pull request #2260 from weaveworks/2236-csrf-token
Consolidate API requests into single helper; added CSRF header
2017-02-20 10:21:51 -08:00
Jordan Pellizzari
0a99d04b4b Consolidated API requests into single helper; added CSRF header 2017-02-20 09:34:18 -08: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
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
7b7d59ab24 Fix for undefined tableRowLabel 2017-02-13 09:53:27 -08:00
jpellizzari
4e4848f3c4 Changed svg nodes to use contrastMode state 2017-02-13 09:49:55 -08:00
Jordan Pellizzari
63dc4e1b3e Added dynamic contrast-mode toggle 2017-02-13 09:49:55 -08:00
jpellizzari
8b1ca73179 Added changeInstance action; exported actions to public API 2017-02-09 13:44:30 -08:00
jpellizzari
7a1843ca15 Added json type to api requests 2017-02-07 08:48:44 -08:00
Jordan Pellizzari
f65f39b128 Refactored API URL generation to function calls and added tests 2017-02-03 12:32:35 -08:00
Filip Barl
2b4ba3239c Fixed the node labels bug on Firefox. 2017-02-03 17:06:53 +01: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
Filip Barl
c802c8c6c1 Addressed @foot's UI comments 2017-02-01 16:27:23 +01:00
Filip Barl
632e3756c4 Optimized rendering of graph layout and zooming events 2017-02-01 16:27:23 +01:00
David Kaltschmidt
f86dd128e0 Hotfix for URL issue
Pertains to #2154
2017-01-30 13:05:28 +01:00
jpellizzari
5e461cd3ba Fix for URLs in contrast mode 2017-01-27 08:13:17 -08:00
jpellizzari
74ab685343 Added iframe and standalone logic to web-api-utils 2017-01-26 13:54:37 -08: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
jpellizzari
0575e85ca1 Changed API URLs when running as dependency 2017-01-24 11:25:02 -08: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
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
71485db4df Removed leading slash from getAllNodes() api request 2017-01-11 14:20:18 -08:00
Simon Howe
9f9148ac24 Prioritize ecs topologies on initial load if available
Global topo order priority:
 - Check url for topoid
 - Check localStorage for topoid
 - Check topo-utils.js for what to show first!
2016-12-22 10:08:06 +01: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
David
99bfab89b7 Revert "Upgraded eslint & eslint-config-airbnb" 2016-12-12 16:06:13 +01:00
Filip Barl
a1d1b49aeb Addressed @jpellizzari's comment 2016-12-12 11:23:09 +01:00
Filip Barl
776b4d72eb Applied no-mixed-operators linting rule 2016-12-12 11:03:16 +01:00