PX Forums demoYou are browsing as a visitor. Try it as: Member · Moderator · AdminOne click, no password. All changes are reset every night at 03:45 CET.
Skip to content

Dashboard widget that shows our deploy status

Log in
Replies
10
Voices
8
Views
760
Last activity
Lucas Meyer Topic starter Expert852 karma57 posts · Joined Dec 2026

Built with the public API and about 60 lines of JavaScript. Source below.

const res = await fetch('/api/v1/deploys?limit=1');
const [last] = await res.json();
document.querySelector('#deploy').textContent = last.status;
Choose a reaction
Reply
Chloé Martin Helper159 karma33 posts · Joined Dec 2026

@demo-lucas ↗:

Built with the public API and about 60 lines of JavaScript. Source below.

const res = await fetch('/api/v1/deploys?limit=1');
const [last] = await res.json();
document.querySelector('#deploy').textContent = last.status;

Thanks for sharing the details, that is the useful part.

Choose a reaction
Reply
Nora Bergström Member225 karma42 posts · Joined Dec 2026

Great job, @demo-lucas. The navigation is so much clearer than before.

Choose a reaction
Reply
Chloé Martin Helper159 karma33 posts · Joined Dec 2026

The mobile version feels really smooth. Nice work.

Choose a reaction
Reply
Diego Alvarez Member147 karma34 posts · Joined Dec 2026

Bookmarked as inspiration for my own project.

Choose a reaction
Reply
Chloé Martin Helper159 karma33 posts · Joined Dec 2026

Very clean. How did you handle the image sizes?

Choose a reaction
Reply
Sofia Ricci Helper759 karma59 posts · Joined Dec 2026

Could you share the performance numbers before and after? I would love to see the difference.

Choose a reaction
Reply
Maya Okonkwo Moderator540 karma57 posts · Joined Dec 2026

Congratulations, this looks fantastic! Love the colours.

Choose a reaction
Reply
Omar Haddad Helper367 karma46 posts · Joined Dec 2026

Small note: the contrast on the footer links could be higher. Otherwise, perfect.

Choose a reaction
Reply
Maya Okonkwo Moderator540 karma57 posts · Joined Dec 2026

Interesting. I would add that it helps a lot to have someone else look at it with fresh eyes.

Choose a reaction
Reply
Mei Lin Member449 karma40 posts · Joined Dec 2026

Late to the party, but this thread is a gold mine. Bookmarked.

Choose a reaction
Reply