-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Notifier] [Slack] Add SlackPlainTextInputBlock for Slack message #60310
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
base: 7.3
Are you sure you want to change the base?
[Notifier] [Slack] Add SlackPlainTextInputBlock for Slack message #60310
Conversation
- Implemented SlackPlainTextInputBlock class to add a plain text input field to Slack messages. - Created tests for SlackPlainTextInputBlock to ensure proper functionality, including label, action ID, and placeholder validation. - Updated README with usage example for adding a plain text input to a Slack message.
This comment has been minimized.
This comment has been minimized.
@@ -241,6 +241,28 @@ $chatMessage->options($options); | |||
|
|||
$chatter->send($chatMessage); | |||
``` | |||
Adding a Plain Text Input to a Message | |||
---------------------------- |
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.
---------------------------- | |
---------------------------- | |
Please make the underline length match the title
src/Symfony/Component/Notifier/Bridge/Slack/Block/SlackPlainTextInputBlock.php
Show resolved
Hide resolved
Please check fabbot.io CI |
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.
Can you please add a testcase where this block is used int he transport? Thanks
How can I do that? Is there a similar test for another block that I could use as a reference? |
Check the transport test, I am currently on a phone and cannot check |
Something like this? |
Yes |
Add SlackPlainTextInputBlock for Slack message
Allow to do send message like that :