Skip to content

Slack Notifications: Display Preview Text for Action-Based Messages #1792

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

Open
lilxyzz opened this issue Apr 29, 2025 · 0 comments
Open

Slack Notifications: Display Preview Text for Action-Based Messages #1792

lilxyzz opened this issue Apr 29, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@lilxyzz
Copy link

lilxyzz commented Apr 29, 2025

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 lilxyzz added the enhancement New feature or request label Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant