Event for sticker text change

  • 4 August 2021
  • 6 replies
  • 122 views

I am talking about the Miro web plugin SDK and its capabilities.

There are multiple events that I’ve successfully used in relation to stickers.

  • WIDGETS_CREATED - Successfully fires when I create a new sticker.
  • WIDGETS_DELETED - Successfully fires when I delete an existing sticker.
  • WIDGETS_TRANSFORMATION_UPDATED - Successfully fires when I resize a sticker.

However there does not seem to be any event that fires when I change the sticker text. This is especially annoying because this also applies for the very first edit. So when I create a new sticker, I get the WIDGETS_CREATED event for this sticker. However after I write some text for this sticker, there will be no event. It’s only later, for example when I resize the sticker, that I will catch on to the fact that the text has changed.

Is there an event I can subscribe to that fires when the sticker text is changed? Did I miss something?

If there isn’t any such event right now, are there plans on adding such an event? Knowing when the user changes text on stickers would allow for a much smoother plugin experience that would match the rest of Miro. Constant polling or manual refresh buttons are not a great look.

 


6 replies

Userlevel 7
Badge +5

@Kaur Kuut  There isn’t such event. I feel your pain. I’ve registered this with Miro’s platform team as well.

 

@Anthony Roux :thinking:  

Userlevel 5
Badge +1

Hi @Kaur Kuut,

 

As Max said we don’t have an event for content changed for the moment. It is part of our backlog to work on our events. I will raise this one to the team and will update the message here when I have more information.

Userlevel 2
Badge +2

That is really too bad. @Anthony Roux is there a way to vote for this to signify the need?

Userlevel 5
Badge +1

I already added your feedback to our insight system, thanks @Marijn Huizendveld 

Badge

Hey Anthony

It is a old thread, but I wonder, is there something similar to this logic in the SDK v2.

Because I would really appreciate to get informed, when a widget has been deleted or created.

Thanks

  • WIDGETS_CREATED - Successfully fires when I create a new sticker.
  • WIDGETS_DELETED - Successfully fires when I delete an existing sticker.
  • WIDGETS_TRANSFORMATION_UPDATED - Successfully fires when I resize a sticker.
Badge

Hello, @Vladimir B.,

Thanks for reaching out to check about events. At the moment, we support the events listed on this documentation page:
https://developers.miro.com/docs/ui_boardui#on

We do not support the use cases you mentioned as yet. We do have a feature request related to this, and I’d like to invite you to vote for this feature if you have not done it yet here:  
https://portal.productboard.com/bs3msuyjdbfr8dfxd84wngpn/c/37-client-side-events


Please let us know if you need any further assistance or if you have any other questions and we’d be happy to help. 
 

Thanks and have a good one,

Mira

Reply