[FEATURE] Ability to position unfurled workflow links horizontally in canvas through code #372
Labels
feature request
New feature or request
question
Further information is requested
server-side
issue with Slack HTTP API
How do I place unfurled workflow links horizontally in canvas through code?
As of now I believe Canvas does not support block kit. We only have markdown at our disposal. We plan to show quite a few workflow automation unfurled links on the canvas so that it appear nicely as cards. We are generating the channel canvas automatically via code. Now by default the cards layout is vertical that is they are stacked on top of one another. We want the layout to be horizontal. Manually I can open the canvas and drag one card on to another to squeeze them into a horizontal line. But doing it manually is not an option. How can we do it from code?
Right now I am doing this:
I have tried the following:
But this does not put unfurled links.
Alternatively is there an API to create a channel canvas from a template? Then I can use a prebaked template where I will create the horizontal layout one time and then use it to create other canvases.
Environment
"deno-slack-sdk/": "https://deno.land/x/[email protected]/",
"deno-slack-api/": "https://deno.land/x/[email protected]/",
deno 1.44.4 (release, aarch64-apple-darwin)
v8 12.6.228.9
typescript 5.4.5
ProductName: macOS
ProductVersion: 13.6.7
BuildVersion: 22G720
Darwin Kernel Version 22.6.0: Mon Apr 22 20:51:27 PDT 2024; root:xnu-8796.141.3.705.2~1/RELEASE_ARM64_T6020
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
The text was updated successfully, but these errors were encountered: