dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

Slack Notifications: Display Preview Text for Action-Based Messages

Open lilxyzz opened this issue 9 months ago • 0 comments

What problem will this feature address?

When testing Slack notifications through Dokploy, the preview message correctly shows "Hi, From Dokploy 👋".
However, when selecting any action from the "Select the actions." options, the Slack preview shows "[no preview available]" instead of displaying a meaningful snippet.
Although the full message contains useful information when opened, the lack of preview reduces the usability and quick visibility for users.

Describe the solution you'd like

Ideally, notifications triggered by "Select the actions." should include a brief, readable summary or key message in the Slack preview, similar to the test notification.
This would allow users to quickly scan and understand the context of the notification without needing to open each message fully.

Describe alternatives you've considered

  • Manually adjusting notification text formatting to force Slack to generate a preview.
  • Adding a custom summary field to each notification payload.
  • Using Slack's Block Kit formatting to structure messages in a more preview-friendly way.

Additional context

Thank you to the Dokploy team for the amazing work you're doing!

Will you send a PR to implement it?

No

lilxyzz avatar Apr 29 '25 08:04 lilxyzz