Dear Miro Team,
I am implementing a mini application with the Custom Action of the web sdk 2.0.
The user selects a series of items from the board (app_card, card, connector, frame, shape, sticky_note and text) and when clicking on the button in the context menu a calculation is executed (my custom action).
Everything works correctly, but I have observed that when I select more than 50 items, my application does not appear in the context menu. I've looked in the documentation but I don't see anything about a maximum limit on the selection.
Is there any type of limitation?
This is how I have defined my custom-action:
....
export async function init() {
await miro.board.ui.on("custom:calculate", actionHandler());
const calculateCustomAction: CustomAction = {
scope: "local",
event: "calculate",
ui: {
label: {
en: "Calculate",
},
icon: "chat-plus",
description: {
en: "Sum of estimated points",
},
position: 1,
},
predicate: {
$or:
// Matching multiple types
{ type: "app_card" },
{ type: "card" },
{ type: "connector" },
{ type: "frame" },
{ type: "shape" },
{ type: "sticky_note" },
{ type: "text" }
],
},
};
await miro.board.experimental.action.register(calculateCustomAction);
}
init();
Thank you in advance