Commit Graph

1122 Commits

Author SHA1 Message Date
Akash Srivastava
ea9ad0a1e6 Update topology to include tag
Tag can be used to specify the sub-shape for the given node.

Signed-off-by: Akash Srivastava <akash.srivastava@openebs.io>
2018-10-16 01:04:42 +05:30
Filip Barl
fdd3c4f147 Bump ui-components to v0.12.3 2018-09-24 15:39:59 +02:00
Filip Barl
3f66348ad7 Bump ui-components to v0.12.2 2018-09-17 16:43:19 +02:00
Filip Barl
eb767ed280 Add onRouteChange hook to Scope app. 2018-09-17 12:45:43 +02:00
Filip Barl
0fcc9f1517 Added some top margin to Search hint. 2018-09-06 17:17:09 +02:00
Filip Barl
4c55761bb7 Bump ui-components to v0.11.31 2018-09-06 17:12:30 +02:00
Filip Barl
a42f0f087e Bump ui-components to v0.11.30 2018-09-05 12:47:15 +02:00
Filip Barl
3c6cced4d3 Use new Search component. 2018-09-04 14:11:50 +02:00
Bryan Boreham
89d7ab1677 Remove unnecessary file 2018-08-30 10:13:41 +00:00
Simon
b090dfe788 Merge pull request #3326 from weaveworks/option-disable-store-view-state
Adds a scope-cmp prop to disable storing the view state in localStorage
2018-08-30 08:47:47 +02:00
Simon Howe
d5c49e5277 Fixes tests: add sessionStorage mock 2018-08-27 18:50:10 +02:00
Simon Howe
1906e319a9 Read from sessionStorage before localStorage when loading view state 2018-08-27 16:20:40 +02:00
Bryan Boreham
321c5709b9 Merge pull request #3231 from meghalidhoble/master
[Power Support] Enable weaveworks scope on Power.
2018-08-24 15:27:57 +01:00
Simon Howe
3791198edc Adds a scope-cmp prop to disable storing the view state in localStorage
- Scope will forget where it was last opened.
2018-08-23 15:44:33 +02:00
guyfedwards
ebd6376bd4 support storagesheet for old scope reports
Old versions of scope reports use `storagesheet` as the value for node
shape. This shape is no longer supported in weaveworks-ui-components and
so this commit normalises to `sheet` for compatiblity with old reports.

related #3322
2018-08-22 15:33:34 +01:00
Filip Barl
af99a95100 Update localStorage with Scope state also on initial router hook. 2018-08-13 17:56:16 +02:00
meghalidhoble
625998b91e Change made to the listed files, to enable weaveworks-scope on Power(ppc64le)
1)backend/Dockerfile 2) probe/endpoint/dns_snooper.go
3) client/Dockerfile 4) docker/Dockerfile.cloud-agent
5) probe/process/walker_linux_test.go & 6) tools/lint

1)'backend/Dockerfile' : Conditional added so that the cross-compiling should
   be done on amd64. Also removed support for sh-lint for ppc64le for now.
   As the version for shfmt mentioned in the dockerfile is not available for
   ppc64le and the later version does't work fine with existing application.
2)'probe/endpoint/dns_snooper.go' : Renamed this file so as to reuse for ppc64le
   and added a build-constraint. Now this file will be build for amd64 on linux
   and ppc64le on linux.
3)'client/Dockerfile' : Modified the version of the base image for node from
   8.4.0 to 8.11, as this version supports multiarch.
4)'docker/Dockerfile.cloud-agent' : Modified the version of the base image for
   golang from 1.10.2-strech to 1.10.2, which supports multiarch.
5) 'probe/process/walker_linux_test.go' : Test fixed to run for ppc64le,
    modified the code to accept RSSBytes based on pageSize value per
    architecture, instead of hard-coded values.
6)'tools/lint' : Modified the file to skip the sh-lint implementation for ppc64le.

PR #3231
2018-08-13 12:45:25 +05:30
Filip Barl
798348e1eb Bumps lodash dependency. 2018-08-09 15:51:36 +02:00
Filip Barl
a0ddd311d3 Addressed Guy's comment. 2018-08-09 12:32:29 +02:00
Filip Barl
65dad7242e Removed old graph nodes obsolete code. 2018-08-09 12:31:12 +02:00
Filip Barl
18342634c8 Made networks overlay work. 2018-08-09 12:31:12 +02:00
Filip Barl
b05563d9ab Made searching and metric fills work. 2018-08-09 12:31:12 +02:00
Filip Barl
b5ee1e690c Use GraphNode component for graph nodes. 2018-08-09 12:31:12 +02:00
Filip Barl
e1b1837fd6 Fixed the background color when nodes in focus. 2018-08-02 15:51:42 +02:00
Filip Barl
1317bf6ddb Decreased the header overlay transparency to 80%. 2018-08-02 15:44:31 +02:00
Filip Barl
c0a359b31f Increase z-index value of NodeDetails panel by one. 2018-08-02 11:14:04 +02:00
Filip Barl
9f9123e171 Decrease filters background opacity + made selected items more purple. 2018-08-02 11:09:18 +02:00
Filip Barl
e806c848df Make header semitransparent. 2018-08-02 10:48:37 +02:00
Filip Barl
b9656566bb Add border radius to resource view rectangles and grid view color icons. 2018-07-27 10:28:44 +02:00
Filip Barl
c30b23c274 Bump ui-components to v0.11.8 2018-07-27 10:28:44 +02:00
Filip Barl
4bd0be0910 Merge pull request #3244 from weaveworks/3243-pluggable-node-details-extras
Support rendering node details extras
2018-07-09 16:20:26 +02:00
Simon Howe
7a04740d7c Fixes monospace font overlapping in terminal+linux
- Also fixes actually using Roboto-Mono, xterm.js now only accepts
  fontFamily customization via the JS api. (uses `<canvas`).
- There is an issue (https://github.com/xtermjs/xterm.js/issues/1170)
  if linux has to fall back to 'monospace' where things fail to render
  correctly, so provide a couple of common options so this rarely
  happens.
- If we distribute robo-mono in the webpack bundle that might also work.
2018-07-02 17:59:13 +02:00
Filip Barl
08ed71fc55 Fixed the failing test. 2018-06-29 16:14:51 +02:00
Filip Barl
b6c55ba3c8 Remove the legacy styles. 2018-06-29 16:10:13 +02:00
Filip Barl
7d85ed6a74 Got rid of all NodeDetailsImageStatus code and replaced it with renderNodeDetailsExtras function. 2018-06-29 12:02:48 +02:00
Filip Barl
a7282552ab Simplified TimeTravel state update from the route. 2018-06-27 11:27:56 +02:00
Filip Barl
f49770c062 Support TimeTravel injection. 2018-06-26 16:39:50 +02:00
Filip Barl
56ba183571 Update gray theme colors. 2018-06-21 17:03:08 +02:00
Aaron Kirkbride
86ffa6dd6a Correct api.getFluxImages usage 2018-06-20 13:41:14 +01:00
Filip Barl
25afeb1416 Use new accent theme colors. 2018-06-19 14:14:38 +02:00
Filip Barl
f9bfa16fe7 Use new purple theme colors. 2018-06-18 17:06:30 +02:00
Filip Barl
6e0a2ad957 Addressed @bia's comments. 2018-06-14 17:30:41 +02:00
Filip Barl
61b3a1d282 Use new theme gray colors. 2018-06-14 17:21:28 +02:00
Filip Barl
b9b8e5afd3 Fix z-index issues. 2018-06-12 15:16:18 +02:00
Filip Barl
a096f2f76a Reloading deployments in Time Travel. 2018-06-12 15:05:50 +02:00
Filip Barl
35bcd28e81 Show timeline deployments. 2018-06-12 11:35:33 +02:00
Filip Barl
ecc5f5ed63 Separate API endpoint namespace from URL path part. 2018-06-11 15:56:28 +02:00
Bryan Boreham
8c18a785e7 Merge pull request #3132 from openebs/add-pv-pvc-support
Add Kubernetes Storage (pv and pvc) support in Weave Scope
2018-06-08 12:41:21 +01:00
Satyam Zode
d9bd17af8a Refactor edge frontend code and reporter
- Refactor dotted edge logic.
- Change Storage view to show storage components as well as all
  the pods.
- Sentence case storage related variables.

Signed-off-by: Satyam Zode <satyam.zode@openebs.io>
2018-06-08 16:37:48 +05:30
Satyam Zode
d26b2c3805 Add Kubernetes storage class resource to weave scope
This will:

- Add StorageClass resource. Storage classes are mentioned
in the PVC spec. We're using storage class name from PVC spec to
add adjacency to the PVC node.
- Add square sheet shape for StorageClass.
- Add storage filter in the PODS topology.
Storage Filter will allow user to see distinct view of
stateful applications.
- Add visually distinct edge to show storage adjacency.

Signed-off-by: Satyam Zode <satyam.zode@openebs.io>
2018-06-08 16:36:29 +05:30