Commit Graph

519 Commits

Author SHA1 Message Date
Guy Edwards
237e931c34 Merge pull request #3551 from weaveworks/eslint-sort-keys
add eslint sort-keys rule and run codemod
2019-01-10 16:59:59 +00:00
guyfedwards
272b9a5d6a add eslint sort-keys rule and run codemod 2019-01-09 13:59:15 +00:00
Yu Cao
fd116a6425 Merge branch 'master' into issues/3096 2019-01-08 10:18:35 -05:00
Roland Schilter
f8412c3204 Rename :orgId to :instanceId in metrics graph url
- Renames placeholders `:orgId` to `:instanceId` in
  `--app.metrics-graph`
- Adjusts frontend client to use the provided instanceId by its host
  application (Weave Cloud)
2018-12-17 17:57:00 -08:00
Simon Howe
8a6cc7ed4d Switch over to <i> from <span> for icons
- to select in styles, as fa5 has other prefix classnames (far, fab,
  fas)
2018-11-13 12:51:47 +01:00
Simon Howe
d3a36cf873 Load up fa5 instead of 4
- Switch to fa5 icons and tweak font-sizes a bit
2018-11-13 12:51:31 +01:00
Simon
e78f8a8de4 Revert "Upgrade to Font Awesome 5" 2018-11-12 11:22:19 +01:00
Simon Howe
2cc58f5b00 Switch to fa5 icons and tweak font-sizes a bit 2018-11-09 14:59:53 +01:00
Lucille Tachet
bb428b819b client: fix renderNotAvailable message 2018-10-28 17:01:02 +01:00
Lucille Tachet
61b8a7f889 client: update stopped container message
Fixes #2879
2018-10-18 23:15:31 +02:00
Tomasz Skowroński
b6d4538663 scripts: replace share icon with sitemap (graph)
fix confusing graph icon

Fixes #2511
2018-10-13 19:56:35 +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
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
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
Filip Barl
b05563d9ab Made searching and metric fills work. 2018-08-09 12:31:12 +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
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
7d85ed6a74 Got rid of all NodeDetailsImageStatus code and replaced it with renderNodeDetailsExtras function. 2018-06-29 12:02:48 +02:00
Filip Barl
f49770c062 Support TimeTravel injection. 2018-06-26 16:39:50 +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
jpellizzari
d76483f73f Fix scope report download URL 2018-06-04 13:45:45 -07:00
Filip Barl
20345a6c79 Use TimestampTag component. 2018-05-28 16:44:04 +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
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
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
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
Yu Cao
e3737dcb27 Hover to expand topology option if the list exceeds the max width 2018-03-22 12:07:38 -04: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
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
97bd290f2c Add explicit tour-step-anchor classNames to Explore tour elements. 2018-02-23 16:27:45 +01: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
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
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
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
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