Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Notifier] Add support forconfirm option in Slack buttons API#62039
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
src/Symfony/Component/Notifier/Bridge/Slack/Block/SlackActionsBlock.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Is it worth it to expand the readme around this? Or is the feature self-discoverable enough?
allflame commentedOct 11, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I'm fine with updating the readme, if needed. I honestly tried to stick to the existing pattern in the codebase. The confirm array has very specific structure that can be described using docblock, however this seems not to be the approach through the code base, so I didnt do it here aswell. Ultimately the usage of this code requires having Slack API doc opened in another tab anyway. At least this is my experience with it If you insist on the readme I'll add it, no problem |
Thank you@allflame. |
570cefa intosymfony:7.4Uh oh!
There was an error while loading.Please reload this page.
| 'title' => ['type' => 'plaint_text', 'text' => 'Report a bug'], | ||
| 'text' => ['type' => 'plaint_text', 'text' => 'By proceeding I confirm I\'ve read the guidelines.'], | ||
| 'confirm' => ['type' => 'plaint_text', 'text' => 'Proceed'], | ||
| 'deny' => ['type' => 'plaint_text', 'text' => 'Go back to reading'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Did you meanplain_text?
Allow sending
confirmoption to the Slack API to allow for the confirm dialog to be triggered upon press of a button in the Slack clients