WebXDC dynamic preview & click listeners (inline apps)

Seems like an extension of Feature suggestion - view apps inline (with some extra details).

TBH the “show image and detect click coordinates” doesn’t sound like good API.

  • Not accessible
  • Not sure if there are any use cases besides polls.
  • Complex for the app itself to implement image rendering and figuring out what exactly was clicked.

Do you have an idea how this can be done in practice?

Would this be just the same app but inline, or something specifically made for the inline mode?