-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: can skip releases for a deployed_service
that has no webhooks
#62
Comments
That's just how I designed it. I believe the info button looked too different otherwise and I wanted it to be a consistent layout/design |
@JosephKav Would it be possible to skip a release even if a webhook is not defined (but a deployment version is)? Sometimes I just want to skip a release without updating (for instance the .0 home assistant releases or the Unifi release candidates). |
Yeah, I can look into adding this. Just not sure on how I'd discretely signify services that have skipped a version. I do this for those with webhooks by changing the resend icon to a tick |
I would suggest adding "(skipped)" in the description after what is currently called To and remove the webhook buttons. Might also consider renaming "From" and "To" to current and deployed for consistency, although I think it is intuitive enough as is. |
Yes, something like @samcro1967 is suggesting sounds fine! I was thinking something similar as to keeping the info and removing the current greyed out "OK" and "cancel" buttons for a "skip" one (or even adding a "refresh" one to maintain the 3 button layout if you want). |
I think that makes sense. So you would click on the info button and get the ability to deploy if a webhook is present? And you can also skip a version if a webhook is not even present and get the info button? |
nothing's changed if you have webhook.s You'll get the options to view info on it, approve it, and skip it
If you don't have any webhooks (but do have a deployed version it's checking as otherwise the version would update straight away), it'll give you my first picture with the info and skip buttons |
Ah, now I understand. With no webhook defined, you go straight to skipped. So the only indication that you are a version behind at that point is the skipped button. I think that makes sense. Maybe make the button red so it jumps out. |
@JosephKav your proposal looks perfect! I would prefer having the skipped icon (maybe with an "s" instead of "i") always (even with webhooks defined) but it is just a small thing. Thank you for considering this. |
I buy the "S" icon myself :) |
deployed_service
without webhooks
deployed_service
without webhooksdeployed_service
without webhooks
deployed_service
without webhooksdeployed_service
that has no webhooks
I've merged this feature to |
Hi @JosephKav Congrats for the new release! :) I just installed it, but I still see no way to skip a release. For example "Home Assistant" I still see: With the "skip/cross" option greyed out :? |
…h a deployed_version lookup was updating approved_version every time it found a newer version if there was a deployed_version lookup. we want this approved_version to track that commands/webhooks have been approved for the deployed_service so that they aren't approved multiple times and rerun we only want this approved_version for two cases - skips (when there is a command and/or webhook and/or deployed_version lookup) - approvals (when there is a command and/or webhook alongside a deployed_version lookup) #62 (comment)
@jrhbcn, sorry about that! I've just fixed this in my latest commit (6972734). Turns out I had it marking every version as approved if there was a So I've updated it to fix this. All you should have to do on your end if you want to skip this latest release, would be to remove the
|
Thanks yet again, working perfect now! |
I noticed that the webhook buttons do not disappear after a webhook is removed from config.xml. They persist in the UI, but are disabled.
The text was updated successfully, but these errors were encountered: