Commit Graph

1038 Commits

Author SHA1 Message Date
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
Filip Barl
9f0b359199 Bump ui-components to v0.4.49 2018-03-28 12:18:09 +02:00
Filip Barl
7838f3063b Bump ui-components to v0.4.48 2018-03-28 11:42:58 +02:00
Filip Barl
5f8da6d077 Merge pull request #3116 from weaveworks/3115-enforce-theme-colors
Enforce theme colors
2018-03-22 15:51:43 +01:00
Roland Schilter
a5b4b7c4ca Fix eslint error 2018-03-21 11:31:42 -07:00
Sidney Wijngaarde
b22b3d6784 Adds link datatype to ui (#3105) 2018-03-21 10:41:38 -07:00
Filip Barl
109bc21b57 Add styled components linting. 2018-03-21 16:01:15 +01:00
Filip Barl
631077b68a Use colors from ui-components theme. 2018-03-21 15:49:52 +01:00
Filip Barl
3d55b23d1b Bump ui-components to v0.4.42 2018-03-21 15:20:59 +01:00
Filip Barl
cdb3b99712 Include .sass-lint.yml in Dockerfile. 2018-03-21 15:18:30 +01:00
Filip Barl
f12146042c Simplified internal Scope color variables. 2018-03-21 12:29:49 +01:00
Filip Barl
6152ac0a4d Got rid of all rgba colors. 2018-03-21 12:01:27 +01:00
Filip Barl
e1a5dc6700 Linked all non-rgba colors. 2018-03-21 11:47:25 +01:00
Filip Barl
4601988ab5 Organized some variable names. 2018-03-21 11:23:40 +01:00
Filip Barl
80dd318c86 Add stylesheets linting. 2018-03-21 10:39:54 +01:00
Filip Barl
90caf5b016 Bump ui-components to v0.4.36 2018-03-07 11:00:43 +01:00
Filip Barl
ea414c148f Bump moment.js to v2.21.0 2018-03-07 11:00:09 +01:00
Filip Barl
6f72ef6969 Merge pull request #3097 from weaveworks/1999-fix-default-topology-options-filtering
Pick up default topology options on initial load
2018-02-27 21:08:07 +01:00
Roberto Bruggemann
d6c2e96e34 Dispatch 'Monitor' flag render function (#3072)
Adds update of monitor availability when it appears/disappears.
The constructor is only called once at the beginning.
2018-02-26 22:50:58 +00:00
Filip Barl
179f97160d Pick up default topology options on initial load. 2018-02-26 17:08:42 +01:00
Filip Barl
97bd290f2c Add explicit tour-step-anchor classNames to Explore tour elements. 2018-02-23 16:27:45 +01:00
Roland Schilter
6ddc57d047 Only modify document title if running standalone (#3071) 2018-02-20 18:16:04 +00:00
Filip Barl
a096c07cce Fix nodes grid row clickability in the tours. 2018-02-19 15:21:17 +01:00
Filip Barl
df8906d6c6 Extracted ViewModeButton into a separate component. 2018-02-19 10:55:29 +01:00
Filip Barl
3a00acbdc6 Use babel-plugin-transform-class-properties. 2018-02-19 10:55:29 +01:00
Filip Barl
1a6e49fd3d Added classNames to all the anchor DOM elements. 2018-02-19 10:55:29 +01:00
Roberto Bruggemann
72255468c1 Disable detail panel link
The link is disabled if the `monitor` flag is not true.
If Weave Cloud runs without Monitor, the link is dead. The flag allows to pass Weave Cloud's Monitor state down to Scope.
2018-02-15 17:22:18 +00:00
Filip Barl
89c3e330f2 Use relative positioning of Table view tables. 2018-02-13 13:25:48 +01:00
Filip Barl
dcb193d654 Addressed @foot's comments. 2018-02-13 11:51:37 +01:00
Filip Barl
165f3be2b4 Always show time travel. 2018-02-12 13:38:36 +01:00
Simon Howe
d5829f21cb Fixes bug showing "container image status" on all resource types
- It should only be visible on the kubernetes contoller node-details
  panels.
- This fixes a bug where we were showing it on all node-details if you
  were on the controller topology.
2018-02-05 11:45:13 +01:00
Roberto Bruggemann
520ca3a570 Close terminal pipe, when closing the pod panel
Moving `deletePipe()` in `componentWillUnmount()` ensures the pipe is deleted when:
1. the terminal is closed
2. the terminal is closed when closing the pod panel

The pipe still does not get deleted when popping out the terminal.
2018-01-31 15:07:55 +00:00
Filip Barl
7e729ddb6a Fixed the failing tests. 2018-01-22 15:52:52 +01:00
Filip Barl
4b4a861f7a Remove all the default Scope state values from the URL. 2018-01-22 15:52:52 +01:00
Filip Barl
f3297adb09 Merge pull request #3028 from weaveworks/correctly-handle-time-travel-resume-through-url
Correctly handle Time Travel resuming in Monitor
2018-01-22 15:50:37 +01:00
Roland Schilter
f96dd4a532 client: Fix uptime sort in table view (#3038)
* client: Fix uptime sort in table view

Duration dataType for table columns is now sorted as numeric value.
Default sorting is kept as ascending and text is left-aligned, unlike
numbers.

* Make non-second unit show up in tests
2018-01-22 15:31:44 +01:00
Filip Barl
39c95a97c3 Correctly handle Time Travel resuming in Monitor. 2018-01-22 15:16:16 +01:00
Filip Barl
382b0c6951 Fixed appendTime function and its tests. 2018-01-22 14:31:16 +01:00
Filip Barl
77b691ca0b Change pausedAt format from moment() back to ISO string for easier handling. 2018-01-19 19:26:39 +01:00
Filip Barl
0dedbeac07 Merge pull request #3025 from weaveworks/3024-stop-page-router-on-unmount
Stop page router on App unmount
2018-01-17 16:22:43 +01:00
Filip Barl
acfe66c6fe Stop page router on App unmount. 2018-01-17 15:42:03 +01:00
Roberto Bruggemann
c00ab5e9e7 Set a timeout to Terminal animation
If the animation has no effect, `onTransitionEnd`'s handler is not be called.
Since `onTransitionEnd`'s handler controls whether the terminal is shown or not (by passing `connect=true` as a Terminal prop), set the `animated` variable to true after a timeout.

Please see:
* https://stackoverflow.com/questions/2087510/callback-on-css-transition/11354026#11354026
* https://github.com/scttnlsn/backbone.viewkit/issues/4
* https://forums.xamarin.com/discussion/58456/why-isnt-my-transitionlistener-getting-called
2018-01-15 14:28:03 +00:00
Filip Barl
6264b0b296 Bump ui-components to v0.4.18 2018-01-10 11:38:02 +01:00
bianca cheng costanzo
53793717d5 Merge pull request #3011 from weaveworks/lightgray-standardisation
Simplifying backgrounds to match lightgray in service-ui and ui-compo…
2018-01-05 18:29:29 +01:00
Bianca Cheng Costanzo
715ff54263 Row alteration coloring 2018-01-05 17:46:45 +01:00
Bianca Cheng Costanzo
fcaa622578 Shifting highlight colours darker for more contrast 2018-01-03 10:20:16 +01:00
Bianca Cheng Costanzo
df7f2ef340 Simplifying backgrounds to match lightgray in service-ui and ui-components 2018-01-02 20:42:32 +01:00
Matthias Radestock
9754bf2385 refactor: remove support for non-linkable nodes
since they are now always linkable.
2018-01-02 10:19:22 +00:00
Filip Barl
1db7f42f5c Extended TimeTravelWrapper with dropdown show/hide CSS animation. 2017-12-14 16:23:10 +01:00