Open orestes opened 2 years ago
Any design proposals? 😇
I would keep the last non-cancelled status, like I proposed above. After all, the cancelled job did not create any side effects and that last status is still accurate.
I would imagine that's a bit problematic since you can't just check the last job, but the last n
jobs instead until you find one that's not cancelled. If that's something that should be avoided, maybe use an empty gray icon, or even one with a question mark.
Ups! I misunderstand your initial comment 🤦
I made a quick check and that behavior you describe is the one it should have unless the Netlify API is considering the canceled status an error (code here) 🤔
If you want to debug what is happening and provide a solution in a PR, here is the documentation on how to debug the StreamDeck application: https://developer.elgato.com/documentation/stream-deck/sdk/create-your-own-plugin/#debugging 😇
Love the project!
Ran into a small issue yesterday.
This is the status of the last builds for my project on Netlify:
However, the icon shows an "error" icon:
I would expect the icon to reflect the "cancelled" status instead.
It would also be nice if there was a way to preserve the last non-cancelled status instead of scaring me :)
Keep up the good work!