java-slack-sdk icon indicating copy to clipboard operation
java-slack-sdk copied to clipboard

SVG support for image block

Open sebastiannberg opened this issue 1 year ago • 2 comments

would like to be able to use SVG files directly in the image block when working with the Slack API and Bolt for Java. As SVG is a widely used format for images, supporting this format would enhance the flexibility and usability of the Slack API.

Category

  • [x] bolt (Bolt for Java)
  • [x] bolt-{sub modules} (Bolt for Java - optional modules)
  • [x] slack-api-client (Slack API Clients)
  • [ ] slack-api-model (Slack API Data Models)
  • [x] slack-api-*-kotlin-extension (Kotlin Extensions for Slack API Clients)
  • [ ] slack-app-backend (The primitive layer of Bolt for Java)

Requirements

Please make sure if this topic is specific to this SDK. For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. :bow:

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you agree to those rules.

sebastiannberg avatar Jun 24 '24 07:06 sebastiannberg

Hi, @sebastiannberg! Thank you for submitting this! 🙇

I attempted to upload an SVG to my Slack workspace and then tried to embed it in Block Kit to see if there was potentially a workaround, but this confirmed that SVGs are currently not supported as you mentioned.

If this was a feature supported by Block Kit, I imagine we could add or extend our SDKs to incorporate that compatibility pretty easily. Unfortunately, since it was confirmed that this is not currently a feature supported by Block Kit, I recommend emailing [email protected] with your request. Doing this will surface your request to the folks at Slack who make the Decisions, which could best influence the addition of the feature. 🙌

hello-ashleyintech avatar Jun 24 '24 14:06 hello-ashleyintech

Hi @hello-ashleyintech,

Thank you for confirming the limitations regarding SVG support in Slack's Block Kit.

I will follow your suggestion and send a request to [email protected] to bring this to the attention of Slack's decision-makers.

Thanks for your help.

sebastiannberg avatar Jun 24 '24 14:06 sebastiannberg

👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized.

github-actions[bot] avatar Jul 29 '24 00:07 github-actions[bot]

As this issue has been inactive for more than one month, we will be closing it. Thank you to all the participants! If you would like to raise a related issue, please create a new issue which includes your specific details and references this issue number.

github-actions[bot] avatar Aug 12 '24 00:08 github-actions[bot]