David
b7c2db6cc2
Merge pull request #1230 from weaveworks/1224-format-sparkline
...
Apply format to tooltips in sparkline hovers
2016-04-07 09:14:17 +02:00
David Kaltschmidt
d8761aada1
Fix terminals (broken since f34146d)
...
`controlPipe` is now an immutable map, but was not treated that way by
all components.
2016-04-06 17:17:06 +02:00
Simon Howe
49286cf5ea
Fixes generated node names for the perf. tests!
2016-04-06 12:44:24 +02:00
David Kaltschmidt
d803e00b00
Apply format to tooltips in sparkline hovers
...
Fixes #1224
2016-04-06 12:05:43 +02:00
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 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
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
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
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
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
David Kaltschmidt
88abeb7168
Topology filter overhaul, still needs backend support
2016-03-29 13:26:49 +02:00
David Kaltschmidt
2ce5a39d45
Make node/edge highlighter objects immutable in app store
...
* refactor, no functionality changed
2016-03-16 11:29:40 +01: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
658a38f40a
Upgrade npm app dependencies
2016-03-15 13:45:57 +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
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
David Kaltschmidt
a40b5a31a8
Default sorter specified by table columns
2016-03-03 15:53:15 +00:00
David Kaltschmidt
7b77210108
Render connection table as nodes table
...
Also:
- Make metadata fields sortable as numbers
- Sort by selected metadata column
2016-03-03 15:53:15 +00:00
David Kaltschmidt
f3351cf440
Fix columns for pods in service details panel
2016-02-26 16:34:59 +01:00
Simon Howe
569ca9d3d9
Pentagon -> Heptagon!
2016-02-25 16:27:13 +01:00
Simon Howe
292a56dc1d
Adds support for the septagon node shape
2016-02-25 16:05:50 +01:00
David
9fa3b1936b
Merge pull request #1027 from weaveworks/555-svg-export
...
SVG export button
2016-02-25 14:09:34 +01:00
David Kaltschmidt
f411b9c437
Review feedback
2016-02-25 14:02:32 +01:00
David Kaltschmidt
cdf2c21057
Replace Show More buttons with carets w/ counts
2016-02-24 18:58:26 +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
David Kaltschmidt
9dafaef9a9
Force-relayout button
...
* new button in footer
* when clicked, forces a relayout that could help with degraded graphs
* sets a store flag that will be unset on next nodes delta update
* fixes #863
2016-02-24 15:55:36 +01:00
Simon
88684aa0b6
Merge pull request #884 from weaveworks/node-shapes
...
Node shapes
2016-02-22 14:13:14 +01:00
Simon Howe
46e29c3f15
No grey stacks for now
...
- May give the feeling something is not there when it should be, or
incomplete.
- They create visual noise
2016-02-22 12:42:37 +01:00
Simon Howe
2c626776a1
Grey out bottom of stack when there aren't 3 nodes in the stack
...
E.g. greying out the bottom 2/3 visual nodes if the stack actually only
has a single node.
- Server returns "node_count" for agg nodes.
2016-02-22 12:42:37 +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
David Kaltschmidt
bfc1e29fb6
Review feedback
2016-02-15 18:03:41 +00:00
David Kaltschmidt
7dfb126e31
Docker Labels Component
...
* moved to bottom of details panel in its own section
* show all labels (no expand/collapse)
* label vs value width 1:1
2016-02-15 17:09:40 +00:00
David
04b05c1a7b
Merge pull request #954 from weaveworks/contrast-mode
...
High contrast mode switch
2016-02-15 16:21:40 +00:00
David Kaltschmidt
531068179c
High contrast mode switch
...
* added button to the bottom right to switch to higher contrast,
* suitable for projectors
* increased contrast between background and text colors
* thicker strokes around chart elements
* ensure yellow details panel backgrounds are darker
2016-02-15 16:20:40 +00:00