New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
area: ui #1443
area: ui #1443
Conversation
|
@sergeyglazyrindev Thanks for submitting this, Indeed that is a huge PR :) Few first remarks about the approach and not the implementation. We should remove the generated files from the commit (JS) using the makefile to generate them. We don't need to have them in the repo and will ease the review process. I worked on a patch to generate the REST API using Webpack/TS. I'll submit a draft by tomorrow so that we could use the same build process. The REST API generated and published here should be used https://www.npmjs.com/search?q=skydive I also converted the Websocket API using "real" class for nodes and edges. Everything compiles using strict option. We need also to have the functional test passing "cdd_overview" |
|
@safchain , I'll update make file when fix all issues and remove generated file |
07dd2c6
to
2135a98
Compare
|
The remaining things are:
|
|
Btw, do we have a typescript linter in our build process ? @lebauce , I think that makes sense to introduce such thing into our build process. |
I can do that but later..... |
|
@sergeyglazyrindev I working on adding typescript/webpack build in the build process so I can add the linter thing |
04a77e9
to
8b3160a
Compare
|
hello guys.
I think the changeset is ready for testing. How do we test it ? I made enough tests to make sure it works but I've not tested workflows, rule-detail component, there are some communication with graph/topologyComponent. Tomorrow I'll fix typescript linter warnings. |
|
for sure there things which could be improved but right now I want to make a smooth transition from old approach to a new one. and then we can improve, write tests, actually, right now there's no tests for new approach because this stuff I developed from scratch during last two weeks. but we have one another stuff which has tests, etc: hierarchied topology |
|
Later on I'll create a npm package to get rid of this topology stuff in skydive repo. |
e82e027
to
9019a54
Compare
+ fixed websocket connection issues endless websocket connections if connection dropped, reinitialize layout properly introduced a parameter of datasource: reconnectmode - automatic or not fixed capture-form in original js implementation fixed inject form in original js implementation fixed node selector in original js implementation Change-Id: I287adb2702acfbe401d833a6ff3522ac4b0ffb3b Partial-Bug: #SOFTID-201 Signed-off-by: Sergey Glazyrin <s.glazyrin@partner.samsung.com>
f6f4b2a
to
6f330fd
Compare
|
run skydive-cdd-overview-tests |
b067713
to
22a5a7d
Compare
|
hello @safchain . So the remaining things are:
I'll solve these things when we merge this changeset, right now it's very huge changeset |
22a5a7d
to
f97854c
Compare
now its possible to test a new layout but by default enabled old layout Partial-Bug: #SOFTID-201 Change-Id: I12ace0fe4464d658d22874b222e85233e80922d9 Signed-off-by: Sergey Glazyrin <s.glazyrin@partner.samsung.com>
f97854c
to
5839c0c
Compare
|
hello @safchain |
|
@sergeyglazyrindev I'll have another look. As it is a huge patch it will take me a bit of time to be comfortable with it :). So first I'll have an another look at the global approach. |
|
right now I added a solution to support both versions of UI. I think old one works ok, I changed nothing. Tests are working. The only one thing, I moved all files which are supposed to be deleted to file: old_topology_approach.js |
Hello guys
Here is an updated gui for skydive
Few things, mostly minor need to be fixed and I hope to finalize these things on this week.
you may start review this changeset and in the end of week I'll ask you to start using this new gui
There's a safe way to try out this ui. Just add to the query string: use_hardcoded_data=1&newui_approach=1
An example: http://192.168.56.101:8082/topology?use_hardcoded_data=1&newui_approach=1
If you want to try it out on fresh topology, remove use_hardcoded_data=1 from query string
skip skydive-go-fmt
skip skydive-functional-tests-backend-elasticsearch
skip skydive-functional-tests-backend-orientdb
skip skydive-scale-tests
skip skydive-unit-tests
skip skydive-compile-tests
skip skydive-k8s-tests
skip skydive-ppc64le-tests