<aside> đź“Ł Building a composer action for Warpcast? Use the developer playground to test it. Make sure to follow our guidelines Submit your composer action here

</aside>

Problem

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.

Proposal

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:

  1. User starts writing a cast, and taps the poll action under the cast.
  2. User then fills out the details to create the poll in a form
  3. A poll frame is generated and added into the user’s cast.

Screenshot 2024-06-28 at 6.22.03 PM.png

There are two important concepts here:

  1. 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.

  2. 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:

  1. A “grammarly” action that reviews your cast for errors
  2. A “giphy” action that helps boomers insert gifs
  3. A “poll builder” action that creates and inserts a poll frame
  4. A “payment request” action that creates and inserts a payment request.