David Kaltschmidt
d520cffec7
Performance tweaks
...
Add debug.html to show toolbar
Perfjankie test runner
Playing w/ the pure mixin for perf. improvements
* Works well! Smoother zooming/panning when things have settled.
* Extract node movement to node-container, make nodes pure
Extracted node chart elements into own components
Keep control objects immutable while in components
Keep layout state objects alive
Made other components pure, removed mixin from stateless components
Remove font size adjustment from scaling
Fix zoomscale
Move node transform to node
* makes more sense there because the coords are rounded in the container
dynamic coords precision based on topology size
Make edge points immutable
Remove nodes maximum for layout engine
Dont send all canvas state down to next component
moving layout handling back to nodes-chart.js
Omit some props for edges/nodes, dont animate edges on low precision
Moved AppStore access out of lower components
2016-04-05 15:45:13 +02:00
Simon
c9b323ff84
Merge pull request #1105 from weaveworks/metrics-on-canvas
...
Metrics on canvas
2016-04-04 21:05:22 +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
4a840c2d2b
Tidy up code, remove small comment
2016-04-04 17:48:45 +02:00
Simon Howe
432ea920fe
Terminology change from lock -> pin
...
In meetings etc the term pin is more often used.
2016-04-04 17:48:44 +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
31ee76a1d9
Key binding to clear metrics "q"
...
Going w/ the `top` key mappings, needs discussion.
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
0df2a2bce4
Metric fill color based on node color
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
0f21c1b5e7
Play w/ metric on canvas color and fix nested radius in squircles
...
- Remove node's grey-inner-border when showing metrics
2016-04-04 17:48:41 +02:00
Simon Howe
319fe31356
Show metrics that are available for displayed nodes.
...
- change color to bg
- show "x" to remove the metric.
- Small debugToolbar enhancements.
2016-04-04 17:48:41 +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
Alfonso Acosta
7643d7a620
Merge pull request #1208 from weaveworks/1016-host-level-ttys
...
host-level ttys
2016-04-01 16:16:01 +01:00
Alfonso Acosta
2c4de6243a
Review comment: move pty's Close
2016-04-01 12:17:09 +00:00
Alfonso Acosta
4a496073b0
More robust obtention of host shell command
2016-03-30 23:57:31 +00:00
Alfonso Acosta
59af5d28ad
Review feedback: merge host controls with reporter
2016-03-29 17:14:15 +00:00
Alfonso Acosta
c1c40ad20d
Add host-level terminals
2016-03-29 16:05:04 +00:00
Alfonso Acosta
7b03f01630
Vendor github.com/kr and github.com/willdonnelly/passwd
2016-03-29 15:48:57 +00:00
Paul Bellamy
0a9af6f1b7
Merge pull request #1204 from weaveworks/removing-renderablenode
...
Removing render.RenderableNode
2016-03-29 14:40:38 +01:00
Paul Bellamy
fe6203fd3f
Review Feedback
...
Squash of:
- including children in topologies_test.go
- report.Node.Prune should prune children also
- rewrote ShortLivedInternetConnections test to express its intent
- adding tests for detail Summary rendering
2016-03-29 14:13:20 +01:00
Paul Bellamy
2c6b6e6707
Refactoring rendering to remove RenderableNode
...
Squash of:
- use detailed.Summaries to render topology nodes
- ban merging nodes of different topologies (they should be mapped)
- need to prune parents when mapping node types
- render container images by id if they have no name
- remove separate render ids and prune parents in NewDerived*
- don't render metrics/metadata for groups of nodes
- fixing up tests
- removing pending unit tests (for mapping.go, for now)
- updating experimental dir for RenderableNode removal
2016-03-29 14:13:03 +01:00
Paul Bellamy
30b81a581b
adding tests for report.Counters.String
2016-03-29 14:00:12 +01:00
Paul Bellamy
80dc714c1e
rename LabelMajor to Label
2016-03-29 14:00:11 +01:00
Paul Bellamy
43547fae32
when samples are missing sparkline shouldn't crash all js
2016-03-29 14:00:11 +01:00
Paul Bellamy
cde2e1a826
added make clean-codecgen
2016-03-29 14:00:11 +01:00
David
3744f47561
Merge pull request #1159 from weaveworks/node-states
...
Topology Filters
2016-03-29 13:54:38 +02:00
David Kaltschmidt
88abeb7168
Topology filter overhaul, still needs backend support
2016-03-29 13:26:49 +02:00
Paul Bellamy
430130c03a
backend changes for new option rendering
2016-03-29 13:26:49 +02:00
David
619c63a0a5
Merge pull request #887 from weaveworks/release-on-a-mac
...
Make bin/release work on a mac.
2016-03-24 21:00:11 +01: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
Tom Wilkie
a703fe891f
Merge pull request #996 from weaveworks/multi-tenant-app
...
Multi-tenant architecture for the app
2016-03-24 13:08:33 +00:00
Tom Wilkie
0a665131aa
Merge pull request #1205 from weaveworks/clean
...
Clean out all the JS in the client build dir.
2016-03-24 12:37:20 +00:00
Tom Wilkie
9f2b011d02
Merge pull request #1206 from weaveworks/build
...
Remove temporary files in the build container to shrink it down by ~100MB
2016-03-24 12:31:39 +00:00
Simon
374809ee65
Merge pull request #1198 from weaveworks/1195-fix-terminal-when-no-rank
...
Fixes the terminal loading when the node doesn't have a rank.
2016-03-24 13:20:09 +01:00
Tom Wilkie
b9233561d8
Remove temporary files in the build container to shrink it down by ~100MB
2016-03-24 12:06:25 +00:00
Tom Wilkie
6716d2a5c7
Clean out all the JS in the client build dir.
2016-03-24 10:26:20 +00:00
Paul Bellamy
8c0fddc20d
Merge pull request #1203 from weaveworks/reportcard
...
Fix a couple of minor issue for goreportcard and add badge for it.
2016-03-24 09:18:17 +00:00
Tom Wilkie
ca4f6ad17c
Fix a couple of minor issue for goreportcard and add badge for it.
2016-03-23 16:17:01 +00:00
Tom Wilkie
f0f03d367c
Spelling
2016-03-23 15:49:50 +00:00