Photo by Alex McCarthy on Unsplash
[OSD600 Series] Release 0.3.2 - Contribute to Telescope status dashboard
2 min read
Patched in Fix #2415: add live build logs in status dashboard, a barebone implementation from the React app was added.
Solving the issue
To be honest, I delayed much on the issue because of the dev setup and fetching logic. Having worked only on the frontend of Telescope, I had zero ideas how to get the data from backend. The routing for backend from status page at that time still had a lot of issues. It's great to see now all of them are sorted out, and the dev setup works out-of-the-box (props to sirinoks).
With that state of the app, I just tried to port the logic from the existing React app. It was not to difficult, it was just more verbose.
There were no access to
node_modules so all the libraries are delivered using a CDN. Calling libraries from global namespace is a bit magical, and slightly agitating. Scripts also needed to be imported in the correct order inside html. Querying for element was such a nostalgia from the early days of learning webs.