rictorres / environment-monitor Goto Github PK
View Code? Open in Web Editor NEWChrome extension that monitors services (like Apache, Tomcat) and packages etc. on environments
Home Page: http://rictorres.d.pr/1ia0z
Chrome extension that monitors services (like Apache, Tomcat) and packages etc. on environments
Home Page: http://rictorres.d.pr/1ia0z
When opening the popup we should get the browser window widht/height and set the popup container's widht/height accordingly.
Currently, content is rendered after we get data from all environments.
so won't fail with "/" at the end or without
Any suggestions for following structure?
{
"environments": [
{
"name": "DEV01",
"packages": [
{
"name": "GUI",
"repo": "trunk",
"revision": "13213"
},
{
"name": "Server",
"repo": "20.1",
"revision": "13213"
}
],
"status": [
{"name": "Tomcat", "status": true},
{"name": "Apache", "status": false}
]
},
{
"name": "DEV02",
"packages": [
{
"name": "GUI",
"repo": "trunk",
"revision": "13213"
},
{
"name": "Server",
"repo": "20.1",
"revision": "13213"
}
],
"status": [
{"name": "Tomcat", "status": true},
{"name": "Apache", "status": false}
]
},
{
"name": "QA01",
"packages": [
{
"name": "GUI",
"repo": "trunk",
"revision": "13213"
},
{
"name": "Server",
"repo": "20.1",
"revision": "13213"
}
],
"status": {"name": "Tomcat", "status": true}
}
]
}
Green icon: preferred environment is up
Red icon: preferred environment is down
Grey icon: preferred environment is unknown (API is unavailable or an error ocurred
Render environments independently
Investigate and fix the memory leak that is reproducible by re-activating the app.
and get rid of ache.js...
When a selected API is unavailable or broken, we need to find a better way to handle the extension behaviour.
Currently, we continue to poll the API every 8 seconds to get data for the default environment. Increase polling interval?
Also, perhaps we could cache results and show them in this case, explicitly letting the user know she's seeing cached results.
Revamp Popup's UI.
so that people have idea about its status.
Show desktop notifications when the status of the default environment changes.
And add-on icon should display selected environment's status as color green/red.
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.