kraken-hpc / kraken-dashboard Goto Github PK
View Code? Open in Web Editor NEWA React.js based dashboard for kraken (https://github.com/hpc/kraken)
License: BSD 3-Clause "New" or "Revised" License
A React.js based dashboard for kraken (https://github.com/hpc/kraken)
License: BSD 3-Clause "New" or "Revised" License
Add the ability to right click on a node in the graph and "go to" that node. This will send a new cfg state to kraken for that node.
Kraken no longer base64 encodes ips, macs, and uuids in the restapi. This breaks the dashboard badly. I just get a blank screen. The console shows:
2.7b3fa0db.chunk.js:2 DOMException: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.
at _ (http://192.168.57.10/static/js/main.050dec14.chunk.js:1:13213)
at Y (http://192.168.57.10/static/js/main.050dec14.chunk.js:1:13514)
at te (http://192.168.57.10/static/js/main.050dec14.chunk.js:1:18808)
at pa (http://192.168.57.10/static/js/2.7b3fa0db.chunk.js:2:808877)
at Ps (http://192.168.57.10/static/js/2.7b3fa0db.chunk.js:2:854313)
at Dl (http://192.168.57.10/static/js/2.7b3fa0db.chunk.js:2:839833)
at Ml (http://192.168.57.10/static/js/2.7b3fa0db.chunk.js:2:839758)
at _l (http://192.168.57.10/static/js/2.7b3fa0db.chunk.js:2:837078)
at http://192.168.57.10/static/js/2.7b3fa0db.chunk.js:2:795156
at t.unstable_runWithPriority (http://192.168.57.10/static/js/2.7b3fa0db.chunk.js:2:870278)
gs @ 2.7b3fa0db.chunk.js:2
42.7b3fa0db.chunk.js:2 DOMException: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.
at _ (http://192.168.57.10/static/js/main.050dec14.chunk.js:1:13213)
at Y (http://192.168.57.10/static/js/main.050dec14.chunk.js:1:13514)
at ne (http://192.168.57.10/static/js/main.050dec14.chunk.js:1:19619)
at pa (http://192.168.57.10/static/js/2.7b3fa0db.chunk.js:2:808877)
at Ps (http://192.168.57.10/static/js/2.7b3fa0db.chunk.js:2:854313)
at Dl (http://192.168.57.10/static/js/2.7b3fa0db.chunk.js:2:839833)
at Ml (http://192.168.57.10/static/js/2.7b3fa0db.chunk.js:2:839758)
at _l (http://192.168.57.10/static/js/2.7b3fa0db.chunk.js:2:837078)
at http://192.168.57.10/static/js/2.7b3fa0db.chunk.js:2:795156
at t.unstable_runWithPriority (http://192.168.57.10/static/js/2.7b3fa0db.chunk.js:2:870278)
gs @ 2.7b3fa0db.chunk.js:2
main.050dec14.chunk.js:1 Uncaught (in promise) DOMException: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.
at _ (http://192.168.57.10/static/js/main.050dec14.chunk.js:1:13213)
at Y (http://192.168.57.10/static/js/main.050dec14.chunk.js:1:13514)
at te (http://192.168.57.10/static/js/main.050dec14.chunk.js:1:18808)
at pa (http://192.168.57.10/static/js/2.7b3fa0db.chunk.js:2:808877)
at Ps (http://192.168.57.10/static/js/2.7b3fa0db.chunk.js:2:854313)
at Dl (http://192.168.57.10/static/js/2.7b3fa0db.chunk.js:2:839833)
at Ml (http://192.168.57.10/static/js/2.7b3fa0db.chunk.js:2:839758)
at _l (http://192.168.57.10/static/js/2.7b3fa0db.chunk.js:2:837078)
at http://192.168.57.10/static/js/2.7b3fa0db.chunk.js:2:795156
at t.unstable_runWithPriority (http://192.168.57.10/static/js/2.7b3fa0db.chunk.js:2:870278)
DevTools failed to load SourceMap: Could not parse content for http://192.168.57.10/static/js/2.7b3fa0db.chunk.js.map: Unexpected token < in JSON at position 0
DevTools failed to load SourceMap: Could not parse content for http://192.168.57.10/static/js/main.050dec14.chunk.js.map: Unexpected token < in JSON at position 0
DevTools failed to load SourceMap: Could not parse content for http://192.168.57.10/static/css/main.ce8a1b51.chunk.css.map: Unexpected token < in JSON at position 0
Since this is now a versioned product, we should have a changelog. https://keepachangelog.com/en/1.0.0/ has a nice overview.
Currently, to get the dashboard to re-connect to a kraken that has gone away and come back, a forced refresh is required (at least in the electron app).
It would be nice to have a polling loop that will auto-reconnect.
It would be nice to be able to easily freeze/thaw from the dashboard.
This might be specified on the node level since it applies to each node (including master), similar to the on/off buttons.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.