Files
weave-scope/client
Tom Wilkie 14470aa107 Use container name (minus version) as id in containers-by-image view.
Also:
- build a custom URL matcher to cope with container image names having a encoded forward slash in them.
- escape node ids in the UI when constructing URLs.
- add a test which fetches all the nodes of all topologies, and update report fixture to have slash in container image names.
2015-07-01 12:53:47 +00:00
..
2015-06-16 15:41:27 +02:00
2015-05-20 10:45:35 +00:00
2015-05-28 15:07:13 +00:00
2015-05-19 10:02:02 +00:00
2015-06-16 18:02:52 +02:00
2015-06-16 18:02:52 +02:00

Scope UI

Getting Started

  • Setup: npm install
  • Build: gulp build --release, output will be in build/
  • Develop: gulp sync and then open http://localhost:4042/

To see a topology, ../app/app needs to be running, as well as a probe.

Coding

This directory has a .eslintrc, make sure your editor supports linter hints. To run a linter, you also run gulp lint.

Logging

The Scope UI uses debug for logging, e.g.,:

const debug = require('debug')('scope:app-store');
debug('Store log message');

To enable logging in the console, activate it via localStorage in the dev tools console:

localStorage["debug"] = "scope:*"