David Kaltschmidt
d5eea2549d
Sanitize inputs
...
Try regexp, escape if invalid
2016-05-11 18:08:59 +02:00
David Kaltschmidt
6ca729a6c2
Fix tests by not mocking dependent utils
2016-05-11 18:08:59 +02:00
David Kaltschmidt
3e26ed7083
Metric matching support for search
...
Examples:
* cpu > 2 // means percent
* memory > 4.5MB
2016-05-11 18:08:59 +02:00
David Kaltschmidt
d1609658bf
Apply search as filter
2016-05-11 18:08:59 +02:00
David Kaltschmidt
3ee802a516
Search all fields by default, gray out nodes if no match
2016-05-11 18:08:59 +02:00
David Kaltschmidt
8669266f25
Toggle debug toolbar via ctrl-D
2016-05-11 18:08:59 +02:00
David Kaltschmidt
5a325e46fa
Search on canvas
...
* adds a search field next to the topologies
* highlight results on canvas as you type
* non-matching nodes are grayed out
* "prefix:" limits search to field label
2016-05-11 18:08:59 +02:00
David Kaltschmidt
c265a57672
Show truncation warning on click, reworded
2016-05-11 16:55:57 +02:00
David Kaltschmidt
645f2ca9f4
Add hint that a section may be truncated
2016-05-11 13:05:19 +02:00
David Kaltschmidt
2cfd3ffd46
Fix toggleHelp action, ignore moment locale (saves 100KB)
2016-05-02 15:26:31 +02:00
David Kaltschmidt
eed779abfa
Replaced pure-render-mixin with redux connect
...
* does the same shallowEqual optimization
2016-04-28 20:20:58 +02:00
David Kaltschmidt
85939d1248
Add /dev.html page w/ full redux dev tools
...
* normal page wont have store instrumented to stay lean
* reshuffled vendor deps to balance bundle sizes
2016-04-28 20:00:42 +02:00
David Kaltschmidt
df593b223a
Upgrade to react 15.0.1
2016-04-28 11:55:07 +02:00
David Kaltschmidt
96aae9bc99
Migrate from Flux to Redux
...
* better state visibility
* pure state changes
* state debug panel (show: crtl-h, move: ctrl-w)
2016-04-27 17:21:46 +02:00
Paul Bellamy
1539e668e7
Merge pull request #1290 from weaveworks/remove-container-control
...
Add control for removing stopped docker containers.
2016-04-22 14:13:40 +01:00
Tom Wilkie
901f46c5fc
Report if newer version are availible in /api ( #1366 )
...
* Report if newer version are availible in /api
* Render version update hint in UI, next to version
* Fix lint
2016-04-22 10:25:00 +01:00
David Kaltschmidt
eda2a208c6
Sort controls by rank in the UI
2016-04-21 19:36:13 +02:00
David
3abd96f752
Merge pull request #1365 from weaveworks/add-download-report-button
...
Add a button to download the report as JSON
2016-04-21 19:17:22 +02:00
Paul Bellamy
c4d4514278
Merge pull request #1359 from weaveworks/1121-reverse-resolution
...
Use reverse-resolved DNS info in the connections table.
2016-04-21 17:53:10 +01:00
Paul Bellamy
1b10a39313
add a button to download the report as JSON
2016-04-21 17:49:36 +01:00
David Kaltschmidt
62ed88cf16
Close details panel when node was removed via control
2016-04-21 18:34:51 +02:00
David
7e9edb03a7
Merge pull request #1354 from weaveworks/asset-fingerprinting
...
Asset fingerprinting
2016-04-21 15:59:52 +02:00
David Kaltschmidt
b1f8e89227
Add entry name to stylesheet
...
* fixes contrast mode
2016-04-21 09:35:14 +02:00
David Kaltschmidt
9cf3d671bb
Extract only coordinates from layout runs
...
* keeps node metadata intact
* fix for issue introduced in 5cedfad
Fixes #1304
2016-04-21 09:18:46 +02:00
Tom Wilkie
0a51064713
Use reverse-resolved DNS info in the connections table.
2016-04-20 17:18:32 +01:00
David Kaltschmidt
8c5638edb2
Asset fingerprinting
...
* adds `?hash` to JS and CSS bundle URLs against caching in production
* uses `html-webpack-plugin` to generate html dynamically
* html based on template in `app/html/index.html`
* per-app html files no longer needed
* `build/` dir is now completely deleteable, and fully gitignored
* top-level `make` now requires `client/app` to pick up on html and
style changes
* cleaned up `server.js` code for production bundle testing
* added readme entry about testing production bundles
2016-04-20 12:33:22 +02:00
Paul Bellamy
5cedfad29a
Merge pull request #1332 from weaveworks/1091-docker-rename
...
Support docker rename events
2016-04-20 09:45:40 +01:00
Simon Howe
81334cdbd8
Fixes up node (de)selection after bad attempt to fix stale metadata
2016-04-20 10:05:17 +02:00
Tom Wilkie
9eda27822c
Show k8s labels and container env vars in the details panel. ( #1342 )
...
* Show k8s labels and container env vars in the details panel.
* Add show more bar to the env vars and labels
* React key was in the wrong place; empty tables render section labels.
2016-04-20 08:18:03 +01:00
Simon Howe
415ac7c5db
Update node label as well as metrics if they change!
2016-04-19 17:14:17 +02:00
Simon Howe
05c0d7e325
Change url encoding to handle multiple slashes in node names
2016-04-19 15:54:49 +02:00
David Kaltschmidt
b9d93fb620
Dont clear node details when closing a terminal
...
* a route event no longer clears the loaded node details
Fixes #1302
2016-04-18 19:53:08 +02:00
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
Simon Howe
9acffe52b1
Remove the metricFeeder for the overflow items too for now.
2016-04-18 15:46:37 +02:00
Simon Howe
a32bd7a54b
Removes the metrics-feeder to keep things in sync.
...
Another temp fix.
2016-04-18 15:46:37 +02:00
David Kaltschmidt
4810bbc572
Fix panning isolation
...
* panning values were reused on when visiting a topology for the first
time
Fixes #1238
2016-04-18 14:23:10 +01:00
Simon Howe
8c4f025fa4
Ensure we create a new terminal instance for each new pipe.
...
- Prevents new session from continuing in the same terminal as an old
one.
- This is implemented using react's key behaviour at the moment: When
the key changes, react unmounts and remounts the component and all
term.js stuff inside of it. Could probably do this more explicitly.
2016-04-18 14:23:09 +01:00
Simon
66aad82598
Merge pull request #1287 from weaveworks/fix-moc-text-hover
...
Fixes metric-on-canvas-hover text highlight.
2016-04-14 16:19:17 +02:00
Simon
412fdd1a27
Merge pull request #1280 from weaveworks/1271-broken-plugin-status
...
Nice and red and blinky ui label for broken plugins
2016-04-13 16:34:49 +02:00
Simon Howe
948459f773
Use an icon rather than color to draw attention to broken plugin
2016-04-13 16:29:25 +02:00
David
fd95e5c328
Merge pull request #1275 from weaveworks/1144-svg-font
...
Fix exported SVG for SVG viewers
2016-04-13 14:25:19 +02:00
Simon Howe
c5a56f28c7
Fixes metric-on-canvas-hover text highlight.
...
Label grey-bg style was leaking onto the middle!
2016-04-13 12:18:23 +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
Simon Howe
7e5302afbb
Nice and red and blinky ui label for broken plugins
2016-04-13 10:26:48 +02:00
David
b74b3946a4
Merge pull request #1269 from weaveworks/1096-state-dimensions
...
Dont scale nodes after browser window resize
2016-04-13 09:26:22 +02:00
David Kaltschmidt
f79a49beac
Moved plugins renderer to the status footer
2016-04-12 17:22:38 +01:00
Paul Bellamy
7632e0b3c5
Adding support for plugins, with basic example of iowait, and ebpf
...
Squash of:
* Include plugins in the report
* show plugin list in the UI
* moving metric and metadata templates into the probe reports
* update js for prime -> priority
* added retry to plugin handshake
* added iowait plugin
* review feedback
* plugin documentation
2016-04-12 17:22:14 +01:00
David Kaltschmidt
e497c3ce39
Fixed column widths for node tables with few columns
...
* Gives the node label column more space
* let the remaining columns fight over the rest
Fixes #1076
2016-04-12 17:06:01 +02:00
David Kaltschmidt
af887418b9
Dont scale nodes after browser window resize
...
* track browser dimensions as chart state
* only override on force layout
Fixes #1096
2016-04-12 16:33:43 +02:00