I would love an API (if I’m using that term in the right way) for counting individual colors used on a board. Does anyone have the ability/desire to create that?
Hey
How can i use super selection in my board? Can i find it in miro or do I need the Link from you here?
This is definitely fantastic. Can I send you my email so I can try it out?
Super Selection:
So,
Will be delighted to hear your feedback.
Here’s a demo below.
To test it out: If you DM me I can send you an install link. I just brought it out of the attic and dusted it off… Haven’t really tested it too thoroughly… I’m sure its got lots of room for improvement.
My team is going to grow by a few more people pretty soon, so I would love to be able to use this feature.
Sorry for the delayed reply. Somehow I missed the notification that you’d replied.
Your details make perfect sense. and are all likely achievable.
I’m busy in a sprint with a client right now (building a Miro-Airtable sync tool(which I’m pretty excited about)). Yet- I might very well be able to sneak in a quick prototype build for you this weekend.
I’ll keep you posted. :)
My team would be tallying up colors in a specific frame. I don’t know if its possible for you to limit the selection to a frame…
If they had to drag a selection around what they wanted counted, I don’t think that would be too much of a problem, though.
Thanks!
The week of January 23, 2023, and email was sent from Miro to all Starter Plan Team Admins that all app management capabilities would be removed and only be available for Business and Enterprise Plans – as of this reply, it looks like Education Plans still have app management capabilities.
What this means is:
- Any Starter Plan users can install any apps from the Miro Marketplace.
- Once the app is installed, it cannot be removed.
In the App Management help center article, I see:
Pre-installed apps
Some apps require no installation for users. They may require additional authorization or individual sign-in. These pre-installed apps are: Box, Dropbox, Google Drive, OneDrive, Smartsheet, Azure Cards, Jira Cards, Brandfetch, Adobe CC, Google Images, Iconfinder, Slack. These apps will not be pre-installed if they are not on the company approved list. You can manage this list if you're a Company Admin.
So, it looks like Miro also pushed all of these apps to any Free/Starter Plans.
Did anyone manage to implement this for you?
If not … I’d be happy to quickly tackle it. Its super simple.
Should the app count all items on the board and get all colors? or Should it only count colors on a subset of what’s on the board? examples:
- count colors only on the items selected by the user
- count colors only of sticky notes. or shapes. or squares. or rounded corner squares.
- etc.
Would you want this to work more like A, B or C ? :
A) Count tallies in the plugin.
B) Count tallies onto the board.
C) Both Options: Count tallies in the Plugin and/or the Board.
Keeping this idea in the air...Wondering if anyone else would benefit from it.
All you need to do this is a bit of javascript like so:
gatherColors()
function gatherColors() {
miro.onReady(() => {
miro.board.widgets.get().then(function(theWidgets) {
getColors(theWidgets)
})
})
}
function getColors(arrayOfWidgets) {
for (i = 0; i < arrayOfWidgets.length; i++) {
let colorsOfWidgets.push(arrayOfWidgets i].style.backgroundColor)
}
}
At this point all board widget colors are gathered all you need after this is some sort of sorting and a output you prefer weather that is a JSON file which can be compatible with a google doc or just a board notification, etc…
You can either find some more efficient sorting algorithm online or use something basic like this:
function sortColors(colorsOfWidgets) {
for(i = 0; i < colorsOfWidgets.length; i++) {
if (colorOfWidgetsoi] == “#12cdd4”) { //color code for cyan color
let cyanColor = cyanColor + 1 // same approach for all other colors miro widgets support
}
}
}
Hope this helps.
Sami
Wanted to keep this idea in the loop in the community. Would love it if someone could pull this off...
Anybody up for tackling this?
If one of you (or anyone) took this on, I could see other uses for it that may benefit people outside of my very specific use case.
That is a very easy API to create with javascript for example. The question is if you want to store these values on some sort of a server, locally on miro whiteboard or if you want to store in JSON files, or just in runtime data which gets wiped after session closes
When they are done, they have to count up the different colors and give me a total each color. If I could get rid of the counting step, it would help with speed and accuracy (and get rid of how annoying the counting is.)
I would love a solution in Miro for that!
This would be fairly easy to implement.
However, what would be the use case for this?
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.