David Kaltschmidt
9c7dea8e2f
cache render engines for consistent renderings
...
* one render engine per topology
* improves switching back and forth between topos
* might increase memory use
* roughly fixes #160
2015-08-24 18:19:14 +02:00
Tom Wilkie
91627f8cc3
Stop the rendered graph from dancing.
2015-08-24 18:19:14 +02:00
Tom Wilkie
498bfd4b18
Make pseudo nodes clickable.
2015-08-24 14:05:01 +00:00
David Kaltschmidt
392f8ce69b
fix file list for circle deployment, add JS lint
...
* lint will be done in build step and fail with error
2015-08-24 12:41:17 +02:00
David Kaltschmidt
e518bedecb
Update the JS tooling
...
* get rid of gulp
* use webpack-dev-server to serve app.js
* express serves static files
* 2 webpack configs: local and production
* for development with backend, websocket URL is injected
* remove unneeded static files
2015-08-24 12:41:17 +02:00
Tom Wilkie
9289b6626a
Review feedback
2015-08-18 11:21:02 +00:00
Tom Wilkie
e7ab9816cd
Use node:0.10 as the ui build image, and upgrade karma and karma webpack
2015-08-17 16:26:22 +00:00
Tom Wilkie
efeba4a2ed
Use rebuild-image script from tools.git
...
- Add some extra files to build image
- Add make to UI build container
2015-08-17 16:26:06 +00:00
David Kaltschmidt
10c70595fb
Make all URL request paths relative
2015-08-11 09:50:33 +00:00
David Kaltschmidt
dfd158cceb
close details when changing topologies
...
fixes #297
2015-07-14 16:16:09 +02:00
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
David Kaltschmidt
934082bca1
fail make static on build JS build errors
...
fixes #277
2015-06-25 17:12:08 +02:00
David Kaltschmidt
ea2d3f51de
fixed tests after removing group state
2015-06-17 10:18:45 +02:00
David Kaltschmidt
3728682878
Removed unused grouping and explorer code
2015-06-16 18:28:19 +02:00
David Kaltschmidt
1085a7fcd9
include roboto in build
...
no need for internet connection anymore
include roboto via materialize
see http://materializecss.com/
roboto licensed under APLv2, see
https://github.com/google/roboto/blob/master/LICENSE
2015-06-16 18:02:52 +02:00
David Kaltschmidt
82d622b164
changed browserSync port from 3000 to 4042
2015-06-16 16:25:25 +02:00
David
6281eff85a
Merge pull request #241 from weaveworks/client-coverage
...
Add JS test coverage reporting to client/
2015-06-16 16:07:10 +02:00
David Kaltschmidt
3dcd3e527f
start with closed websocket, so that icon loads
2015-06-16 15:49:36 +02:00
David Kaltschmidt
24bd8d1908
use karma-coverage and istanbul
2015-06-16 15:41:27 +02:00
David Kaltschmidt
35e5335359
keep nodes cache intact while websocket is closed
2015-06-16 15:15:46 +02:00
David Kaltschmidt
ad5bfb67ec
added info about logging to client/README
2015-06-15 18:18:06 +02:00
David Kaltschmidt
c87cc872ee
clear nodes cache when websocket closes connection
...
* also show reconnection status
fixes #162
2015-06-15 18:10:02 +02:00
David
5627658a2e
Merge pull request #222 from weaveworks/redesign-grouping
...
Grouping redesign
2015-06-15 10:50:55 +02:00
David Kaltschmidt
cdccd5d2c0
render grouped topologies menu sent by backend
2015-06-15 10:37:24 +02:00
David Kaltschmidt
816e1e9e99
layout of sub-topologies
...
* uses injected static topology, see web-api-utils.js
2015-06-12 11:37:49 +02:00
David Kaltschmidt
b9563f35d7
Styled pseudonodes pale and remove interaction
2015-06-12 09:23:32 +02:00
David Kaltschmidt
49c1493c79
replaced console.log with debug package
2015-06-11 20:57:13 +02:00
David Kaltschmidt
e89265ee2f
suppress uglifier warnings
...
an exclude pattern would be nice, but no dice :(
2015-06-11 20:55:52 +02:00
David Kaltschmidt
033b4572ae
removed unused topologies.js, fixes #146
2015-06-11 19:32:40 +02:00
David
fa9e5a3aa3
Merge pull request #216 from weaveworks/show-gone-details
...
Display a n/a header in details if nodes are gone
2015-06-11 19:27:26 +02:00
David Kaltschmidt
eb8a56bb1f
show N/A if node disappears on remove
2015-06-11 19:19:54 +02:00
David Kaltschmidt
0f5e55db53
Display a n/a header in details if nodes are gone
...
fixes #193
2015-06-11 14:06:20 +02:00
David Kaltschmidt
03da5afb6b
only clear nodes on topo or grouping change
...
fixes #133
2015-06-11 13:18:06 +02:00
David Kaltschmidt
e69d7ff98c
test to show back browsing is broken
...
after selecting a node
2015-06-11 12:44:28 +02:00
Tom Wilkie
e1092d2ac2
Add report issue link
2015-06-09 16:29:22 +00:00
Tom Wilkie
96abd00918
Plumb through the application version in the UI.
2015-06-03 13:22:15 +00:00
Tom Wilkie
19657acf04
Make containers the default topology.
2015-06-02 10:14:32 +00:00
David Kaltschmidt
d259be72c2
removed console.log
2015-05-29 18:08:03 +02:00
David Kaltschmidt
9c3db34d49
highlight edges and connected nodes on edge hover
2015-05-29 18:00:35 +02:00
David Kaltschmidt
e6f4a8ce71
highlight connected nodes on hover
2015-05-29 16:53:05 +02:00
David Kaltschmidt
215a1b4f84
set and unset window title for details
...
fixes #42
2015-05-29 15:47:51 +02:00
David Kaltschmidt
2720b17ab1
position tools absolute, extract truncate class
...
fixes #124
2015-05-29 15:05:07 +02:00
David Kaltschmidt
3a79dbb02a
added linter config to build image, linter README
2015-05-29 13:55:07 +02:00
David Kaltschmidt
a2d9f60f66
added gulpfile to Docker image, added config src
2015-05-29 12:18:46 +02:00
David Kaltschmidt
4d027fef19
changed tooling from browserify to webpack
...
* using browsersync instead of livereload
* `gulp serve` works as before
* `gulp sync` starts browserSync and serves UI on port 3000
* everything is built in `build/`
* build release with `gulp build --release`
2015-05-29 11:48:55 +02:00
David Kaltschmidt
7d1ee40a2b
Fixed lint errors in all js files
...
- Also added linter configuration, and make linter fail on error
- fixing ES6 errors and added ES6 transformer
- gulp target to try local build
- linted gulpfile
- cant hook into gulp lint yet, because gulp does currently not support
ES6 which some rules demand, since gulp cant transpile itself, we have a
chicken and egg problem.
- ES6 transpiler for test runner
- removed old linter config
- adapted editorconfig to reflect linter config
2015-05-28 15:07:13 +00:00
David Kaltschmidt
42a3f57e11
Added linter for js
...
- use global stricts
- use airbnb linter rules
- gulp lint target
- make target client-lint
2015-05-28 15:06:46 +00:00
David Kaltschmidt
99c76dc4c8
fix indentation to 2 spaces in js/less/html
2015-05-28 15:05:01 +00:00
Tom Wilkie
ab41aacd59
Fix wrapping and scrolling in the details pane.
2015-05-24 09:36:49 +00:00
David Kaltschmidt
66d66a4d01
Fix grouping bar for topologies that don't support grouping
...
- fixes #61
- dont clear nodes cache if topo is the same
- combined stores that were interdependent
- dont show topology grouping menu if unsupported
- also harmonized some variable names
- removed old grouping switcher
- moved topo actions to app actions, removed search
- get correct topology url
- first JS test using Jest
- make tests run on circle using the build container.
- replaced jest test runner with karma/jasmine
- Use debian for UI build and test container.
- updated karma-browserify
2015-05-22 16:41:48 +00:00