CircleCI-Public / slack-orb

Create custom Slack notifications for CircleCI job statuses
https://circleci.com/developer/orbs/orb/circleci/slack
MIT License
214 stars 206 forks source link

Acknowledging interaction #366

Closed kulak91 closed 1 year ago

kulak91 commented 1 year ago

Describe Request:

Hello! I am using slack orb together with my slack bot (based on official slack/bolt app) in the same workspace. When i'm clicking "View Job" button my slack bot also triggers trying to acknowledge the action, this action has no id so i cannot catch it properly. Would you mind adding static callback_ids, block_ids, or action_ids for these basic templates to make it more convenient for use. (Of course i could use custom templates, but these are fine, just a small upgrade would be amazing)

Examples:

image image

Supporting Documentation Links:

https://github.com/slackapi/bolt-js/blob/main/docs/_basic/listening_actions.md https://api.slack.com/legacy/interactive-messages image

KyleTryon commented 1 year ago

Good call! thank you

EricRibeiro commented 1 year ago

Closed in #367.

While the fix was merged into the main branch, we can't publish a new orb version now. I'll do it as soon as possible next week.

Thanks for your patience!