Simon Howe
eb86473a4a
Make state urls pretty again.
...
Use a magical constant instead of double encoding
2016-04-18 19:41:14 +02:00
Simon Howe
85bfc25bec
Fixes nodes w/ a slash under a path-prefixed scope.
...
E.g. localhost:4043/scoped/{state:{label:"/zing"...
Double encode is solution!
- https://github.com/visionmedia/page.js/issues/187
2016-04-18 19:17:06 +02:00
David Kaltschmidt
78500062ff
Fix exported SVG for SVG viewers
...
* `sans-serif` breaks certain SVG viewers
* set single font: Arial (hopefully best choice)
* set absolute width and height
* remove react id attributes (saves 10%)
Fixes #1144
2016-04-13 11:23:28 +02:00
David Kaltschmidt
cd12d867ec
Cache pan/zoom per topology
...
* remembers canvas position/zoom per topology
* makes it easy to go back to the last position in a prev topology
Fixes #1238
2016-04-11 18:51:39 +02:00
Simon
eb7590944d
Merge pull request #1243 from weaveworks/1228-hotkey-improvements
...
hotkey fixes and improvements
2016-04-11 11:05:03 +02:00
Simon Howe
f1c58efebb
Fixes url state decoding in Firefox.
2016-04-07 14:01:58 +02:00
Tom Wilkie
674cb24f2a
Review feedback
2016-04-07 12:23:06 +01:00
Tom Wilkie
22402c34f7
Ensure k8s views are correctly hidden.
...
- Filter unconnected psuedo nodes from the Pods view
- Don't report these filtered nodes in stats
- Fix typo in logic for hiding views
2016-04-07 12:01:23 +01:00
Paul Bellamy
bfb65cb4af
Merge pull request #1225 from weaveworks/1149-more-meaningful-metrics-max-mmmmmmm
...
Set the memory and open files maximums based on the host
2016-04-07 10:36:30 +01:00
David
5fba5d8cfc
Merge pull request #1237 from weaveworks/1221-no-subtopo-options
...
Apply topology options also to sub-topologies
2016-04-07 10:01:41 +02:00
Simon Howe
7f8ea1bc3c
Use normal linear scale for open-files MoC
...
Now that we have the real max!! \o/
2016-04-07 08:40:33 +02:00
David Kaltschmidt
9586c23526
Apply topology options also to sub-topologies
...
Subtopologies inherit the applied options if the keys are the same.
The labels are still determined by the topology itself.
Fixes #1221
2016-04-06 17:33:47 +02:00
David Kaltschmidt
8bdebe9848
Reduce CPU consumption if UI cannot connect to backend
...
* blank keyframes for blinking Connect animation
* increased topology API retry timer interval
Fixes #1220
2016-04-06 11:13:11 +02:00
Simon Howe
4ec975018c
Back to brighter colors for metrics-on-canvas
2016-04-04 21:02:54 +02:00
Simon Howe
4ec8b97fef
metrics-on-canvas review feedback updates.
...
- Refactor some things.
- Fixes heptagon moc rendering
- Experiment w/ duller colors.
2016-04-04 21:02:30 +02:00
Simon Howe
9d968a789b
Tidying up MoC
...
- no rand ids, org code
- Fixes tests, no .includes in jest for now
- Small comment on moc stuff
- Patch up differences after MoC rebase
2016-04-04 17:48:44 +02:00
Simon Howe
3fdd7809f7
Fixes a couple of MoC visual bugs
...
- Fixes metric font-size on selected nodes
- Round metric-height value to be the same as rounded displayed value.
- No red/green colors in the MoC! They have to much association w/ success/failure
2016-04-04 17:48:44 +02:00
Simon Howe
1710db6262
Save locked metric in the url.
...
- introduces "metric type" so we can flick across topos and keep the
"type" of metric selected. Cheating and using label as the type atm.
2016-04-04 17:48:44 +02:00
Simon Howe
f64908acf2
No metric selected by default.
...
- Fixes metric keyboard selection order
2016-04-04 17:48:43 +02:00
Simon Howe
1ad7c2c7a3
Return to mock-metrics for now.
...
- Bring MoC under new linting rules
- adds support for immutable-console-renderer
- fixes up metrics actually displaying after bad fixes when rebasing.
- Mock all metrics client side for demoing
2016-04-04 17:48:43 +02:00
Simon Howe
13a625a2b3
Fade out rank border color for more emphesis on metric
...
- Fade out rank color opacity when showing metric
2016-04-04 17:48:42 +02:00
Simon Howe
439b3aaed8
Different metrics get different fill colors
2016-04-04 17:48:42 +02:00
Simon Howe
eb66800496
Adds metric formatting clientside
...
- Bump non-zero metrics up to start at 10% fill so we can see them.
2016-04-04 17:48:42 +02:00
Simon Howe
f8a69fa1fa
Better labels for metrics-on-canvas, log scale for load and open-files
...
- Small fixes after the rebase
2016-04-04 17:48:42 +02:00
Simon Howe
cc3d392010
Adds < and > keyboard shortcuts for next/prev metric-on-canvas
2016-04-04 17:48:41 +02:00
Simon Howe
a104962aa2
Simple metric selection clicking!
...
Locks onto a metric after you mouseout.
2016-04-04 17:48:40 +02:00
Simon Howe
ef1c69eb2a
Basic hover to select metric
2016-04-04 17:48:40 +02:00
Simon Howe
d31aadf7b1
Metrics on canvas!
...
- Adds metric on canvas support for more shapes
- More variation from the debug bar.
2016-04-04 17:48:40 +02:00
Tom Wilkie
89139fed81
Merge pull request #1200 from weaveworks/1181-hide-in-ui
...
Stop hiding kubernetes topologies in the backend.
2016-03-24 13:35:28 +00:00
Simon Howe
1e4d6e829d
Hide empty topo's that set hidden_if_empty=true.
2016-03-23 15:36:55 +01:00
Simon Howe
fa6fb0d69a
Fixes the terminal loading when the node doesn't have a rank.
...
- Safen up the color lookup, so we return a nice brown if we don't have
anything else to work with.
2016-03-23 10:17:56 +01:00
Simon Howe
17c8bc2b12
Fixes term error handling
2016-03-16 11:33:56 +01:00
David
d9938c80bb
Merge pull request #1171 from weaveworks/npm-updates
...
React/lodash/babel upgrades + updated linting (linted)
2016-03-16 10:19:16 +01:00
Tom Wilkie
581b711eb4
Websocket and pipe fixes.
2016-03-15 17:13:49 +00:00
David Kaltschmidt
e4270f69b7
Upgraded dev deps and linted JS according to latest airbnb rules
2016-03-15 18:09:45 +01:00
David Kaltschmidt
3f8a26d551
Make app-store's topologies object immutable
...
* refactoring, functionality should be the same
* adapted tests
2016-03-15 10:02:05 +01:00
David Kaltschmidt
4b4b27e6a8
Handle server disconnects gracefully in the UI
...
Keeps the scope UI's CPU usage low in the browser when the backend is
not reachable
* dont update app state when repeated errors come in
* dont update app state when websocket keeps failing
* adjust first loading text, and show icon to draw attention
2016-03-07 19:52:52 +01:00
David Kaltschmidt
c7cd11bf1a
Extracted footer into own component, moved pause into icon
2016-03-07 16:55:51 +01:00
David Kaltschmidt
d7507cf67c
Pause Button
...
* pauses topology and details panel updates
* buffers requests
* un-pause plays back the buffered requests
* automatically un-pauses when topology is changed, or other node is
clicked (then discards buffer)
Fixes #1025
2016-03-07 15:26:22 +01:00
David
b3c5dc0513
Merge pull request #1120 from weaveworks/node-borders
...
Adjust node borders
2016-03-07 15:13:25 +01:00
David Kaltschmidt
9163846c5a
Review feedback for node borders
2016-03-07 13:44:29 +01:00
David Kaltschmidt
53d873124f
Adjust node borders
...
* increase stack node borders by 0.5px (fixes #1080 )
* space out stacks in contrast mode (fixes #1020 )
* fix cloud border stroke-width setting (exlude from CSS styling)
* adjust cloud border for contrast mode
2016-03-04 11:50:25 +01:00
Simon Howe
186a45e052
Fixes the pipe-alive check when running scope-ui under a path
2016-03-03 14:44:43 +01:00
Alfonso Acosta
b9393e9e39
Review feedback
2016-03-03 12:35:04 +00:00
Alfonso Acosta
579001059a
Add pipe/{pipeID}/check endpoint
2016-03-03 11:22:31 +00:00
David Kaltschmidt
4ad74183b1
Inline styles in cloned svg sub tree, skip default styles
2016-02-25 10:14:34 +01:00
David Kaltschmidt
bd821c159e
Inject weavescope logo into exported SVG
2016-02-24 17:03:27 +01:00
David Kaltschmidt
1566727e45
SVG export button
...
* applies CSS styles inline
* exports SVG chart node
* injects A tag to download
* based on SVG-crowbar
Fixes #555
2016-02-24 16:17:45 +01:00
Simon Howe
ac5d258378
Fixes scope working under a path
...
- Adds proxy server for easy testing of scope under a path.
2016-02-18 14:17:51 +01:00
Paul Bellamy
611f933f4d
Merge pull request #961 from weaveworks/729-open-fds-metric
...
Gather file descriptors as process metric
2016-02-17 10:13:42 +00:00