opfab / operatorfabric-core

Main operatorfabric program
https://opfab.github.io
Mozilla Public License 2.0
40 stars 27 forks source link

Edit card link : add it as a button #7525

Open MonaRtei opened 3 weeks ago

MonaRtei commented 3 weeks ago

In a card created from a user card, we need to add a link to edit the card. Currently, the user can edit the card by clicking on the pencil (EDIT) icon. Here, the recipient who needs to edit the card is not the publisher. We think it would be more user-friendly to have the possiblity to add a button within the card to edit the card.

image

Thanks.

freddidierRTE commented 2 weeks ago

To do that :

Add two methods in opfab API :

Use it in message example :

image

Add a cypress test