Skip to content

Conversation

@allflame
Copy link
Contributor

Q A
Branch? 7.4
Bug fix? no
New feature? yes
Deprecations? no
License MIT

Allow sending confirm option to the Slack API to allow for the confirm dialog to be triggered upon press of a button in the Slack clients

Copy link
Member

@xabbuh xabbuh left a 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
Copy link
Contributor Author

allflame commented Oct 11, 2025

Is it worth it to expand the readme around this?

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

@fabpot
Copy link
Member

fabpot commented Oct 12, 2025

Thank you @allflame.

@fabpot fabpot merged commit 570cefa into symfony:7.4 Oct 12, 2025
12 checks passed
'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']
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean plain_text?

This was referenced Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants