Replace embeds with Adaptive Cards (open standard)
The embed as a feature has stagnated over the past few years, with very few improvements and long-lasting bugs. Why not replace them with something that gives us much more control and flexibility?
Benefits:
- Open standard and open source
- Easier to create bots that are platform agnostic (WebEx Teams and Skype already support Adaptive Cards)
- Includes many features that devs have been asking for out of the box (e.g. expanding cards, buttons/actions, input fields, image galleries, etc)
- Gives developers more control over presentation and UX, a win for both devs and end users
- Supports templating (in the newest version)
- Preview responses at development time without having to test them in Discord
- Can be implemented alongside embeds until they are ready to be deprecated
- Allows the Discord dev team to focus on more important things than improving embeds
-
I love this idea and I support it, but I think they would have to co-exist? Bots aren't the only ones using embeds, websites would still need them. It could be deprecated for the API though, that's for sure.
I've actually wanted this for a while, because I saw Slack had something similar to this. Not sure if they have their own standard or not, but it allows you to build UIs (button, dialogs, etc).
1 -
Pushing this up a bit :)
It doesn't have to be a replacement of the Embeds, but if Discord was supporting either www.botframework.com or at least www.adaptivecards.io as such it would really improve the whole embed story and a lot of devs are asking for features this comes with.Im the creator of www.madewithcards.io and active in the Adaptive Cards community. Could connect you with relevant people at Microsoft to help get this rolling if you guys are interested.
By now cards are already supported in MS Teams, Skype , Webex Teams and a few more. If you where to support cards and the bot framework people could build stuff that spans Power Automate, Teams AND Discord in all directions.
In my eyes a big win for everyone involved and especially all the devs.
Adding AdaptiveCards (or BotFramework) is quite simple as its all available as NPM packages etc.
Let me know if you are interested in any more details
1 -
This would be way better than https://support.discord.com/hc/en-us/community/posts/360040066771-Embed-Buttons
3 -
Damn, that's an awesome suggestion. We could really use adaptive cards, just hope that Discord adds them :D
3 -
really like the suggestion as my current alternative for embeds is making and attaching images, with the state embeds are in with terrible aesthetics on mobile, with them breaking every 5 seconds I think an alternative that has rules to its structure will be a win win.
2 -
I highly support this suggestion.
0 -
I also support this, I think adaptive cards would help with UX in bots.
0 -
This would be an awesome addition to the API :D
0
Log ind for at efterlade en kommentar.
Kommentarer
8 kommentarer