<aside> đź“Ł Building a composer action for Warpcast?
</aside>
Frames are not easily discoverable and this inhibits their usage. If you want to create a poll, you must somehow know that Ponder exists, find it, generate a poll frame and then cast it. This would be an unacceptable user experience on any modern social network.
Composer actions can solve the discovery problem. Clients like Warpcast can surface actions to users when creating a cast. These composer actions will collect input from the user and modify the cast’s text or embeds.
Here’s how polls would work in this case:
There are two important concepts here:
Composer Actions — developers create actions that modify casts. Clients like Warpcast will integrate them into the cast creation UI. when an action is triggered, it open a composer form.
Composer Forms — developers can show a form to users when their action is triggered. this will be an iframe or webview loaded from the developer’s website. It can be fully styled and customized. When a user completes a form, the developer’s website must send modification instructions back to Warpcast (e.g. insert this poll frame into the cast)
Composer actions can be used to enable many new kinds of interactions. For example: