Commit Graph

1092 Commits

Author SHA1 Message Date
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
Satyam Zode
2f69973de6 Add adjacencies for kubernetes storage components
- Kubernetes storage components such as PV and PVC are connected based on two
parameters Persistent volume claim name and Persistent Volume name.
- PVC contains the volume name which is, PV name itself. Hence, we can
show edge for PVC and PV.
- This will bring higher level visibility for kubernetes storage components.

Signed-off-by: Satyam Zode <satyam.zode@openebs.io>
2018-06-07 17:04:56 +05:30
Satyam Zode
23210a6a77 Add Kubernetes volumes support in Weave Scope
This will

- Add Kubernetes volume resources such as PV, PVC.
- Add shapes for Kubernetes PV and PVC
- Add `Cylinder` shape for PV and `Dotted Cylinder` shape for PVC.

Signed-off-by: Satyam Zode <satyam.zode@openebs.io>
2018-06-07 17:01:29 +05:30
jpellizzari
d76483f73f Fix scope report download URL 2018-06-04 13:45:45 -07:00
Bianca Cheng Costanzo
f07202ea05 changed background to whiteSmoke now that everything else is 2018-06-01 16:07:26 +02:00
Filip Barl
20345a6c79 Use TimestampTag component. 2018-05-28 16:44:04 +02:00
Simon Howe
1353eb5506 Fixes sending the default topologyOptions to the /api
- Which fails sometimes as we overwrite them whatever we find in the
  url state. Url state is not complete anymore so this doesn't work
2018-05-28 14:29:50 +02:00
Filip Barl
a7c7f89897 Merge pull request #3181 from weaveworks/3180-adjust-font-sizes
Adjust font sizes
2018-05-21 22:20:21 +02:00
Filip Barl
068327b84c Adjust font sizes. 2018-05-19 08:07:49 +02:00
Filip Barl
45486f44c0 Use xterm/fit addon. 2018-05-18 17:48:54 +02:00
Filip Barl
6e139c9408 Remove outdated terminalCellSize estimation code. 2018-05-18 16:52:38 +02:00
Filip Barl
43c23d2bc0 Adjusted character width/height estimation. 2018-05-18 16:52:38 +02:00
Filip Barl
5e700d996b Merge pull request #3177 from weaveworks/212-enforce-theme-fonts
Enforce theme fonts
2018-05-18 14:40:36 +02:00
Filip Barl
941cf16cfd Customize terminal stylesheet. 2018-05-18 12:47:05 +02:00
Roland Schilter
f012c23ca1 Sentence cased text everywhere (#3166)
* Sentence cased text everywhere

Follows Weave Cloud's direction of sentence case on most things.

* More space between sorter caret and label

* Use full topology name for table header
2018-05-17 17:30:38 -07:00
Filip Barl
0bd9cc640d Enforce theme fonts. 2018-05-17 11:04:08 +02:00
jpellizzari
109667bcdb Change URL resolution to accomodate Weave Cloud paths 2018-05-15 12:00:17 -07:00
Filip Barl
7384e24e63 Merge pull request #3170 from weaveworks/208-theme-border-radius
Enforce theme border radius
2018-05-15 12:42:58 +02:00
Filip Barl
07c851178c Fix spelling. 2018-05-14 17:58:11 +02:00
Filip Barl
e9cafc634a Close xterm on exit. 2018-05-14 16:39:58 +02:00
Marc Carré
206aa5c434 Merge pull request #3171 from weaveworks/add-opencontainers-labels-to-dockerfiles
Add org.opencontainers.image.* labels to Dockerfiles
2018-05-14 14:29:55 +01:00
Marc Carré
4e58b83024 Add org.opencontainers.image.* labels to Dockerfiles
- This should ultimately help for image-to-code back references.
- `org.label-schema.*` labels are now deprecated, in favour of `org.opencontainers.image.*` labels.
  See also: https://github.com/opencontainers/image-spec/blob/master/annotations.md#back-compatibility-with-label-schema
- Git revision (`git rev-parse HEAD`) is now injected at `docker build` time.
2018-05-14 11:54:33 +01:00
Filip Barl
72d8e58c63 Enforce theme border radius. 2018-05-14 12:11:51 +02:00
Roland Schilter
daccb6648d Dynamic table header width according to scrollbar (#3169)
Sizes the fixed table header of `NodeDetailsTable` width dynamically
depending on the content's scrollbar width. Makes sure the table header
cells align with the table body cells.

This also widens the "Parent PID" cell to make sure the text is not cut
off. Alternatively, could be renamed to "PPID".

Fixes #3158.
2018-05-11 13:26:45 -07:00
Filip Barl
154a54e3f5 Use theme font sizes. 2018-05-11 16:56:08 +02:00
Filip Barl
c837804371 Enforce theme fonts. 2018-05-11 16:26:27 +02:00
Filip Barl
c82f59c121 Use only z-index values from the theme. 2018-05-07 17:06:44 +02:00
Filip Barl
35499f0fb8 Bump ui-components to v0.4.58 2018-04-17 17:51:52 +02:00
Filip Barl
5ae802fc29 Stop using dropped theme colors. 2018-04-17 16:48:58 +02:00
Filip Barl
2f5fb66cd1 Bump ui-components to v0.4.56 2018-04-16 17:37:58 +02:00
Filip Barl
d812e14987 Bump ui-components to v0.4.55 2018-04-16 16:37:34 +02:00