· 2 min read
Easily identify a Trello card
We all love Trello, don’t we?
It’s a powerful tool that allows us to create boards that are the core of our productivity, taking care of the organization, coordination and management of our business.
One thing that is natively missing is easily identifying cards/tasks with numbers or IDs, as we can easily do with other tools such as Jira.
Fun fact, Trello actually has IDs (you can see them when opening a card, in the URL) but it’s not all!
https://trello.com/c/rFCd7Zu0/5-legal-review
with 5 being the ID.
Numbers are also already in the code but hidden behind a hide
class.
<span class="list-card-title js-card-name" dir="auto">
<span class="card-short-id hide">#3</span>
Sketch site banner
</span>
.hide {
display: none;
}
What we found so far? Cards do have a native and unique ID and Trello makes us the job easy to grab them with a script. There are many ways actually, a really cool trick is this bookmark. Looks like dark magic but it works… until you reload the page :)
There are also Trello Powerups, but having more than one needs a premium account. Not really convenient.
One of the most common way to get those handy Trello card numbers is with a simple Chrome extension. I’m clearly not the first one thinking about it, but I wanted to create one as an exercise and share it with you. It’s obviously Open Source and the repo is on GitHub. You can open an issue or a PR if you want!
You can install it from the Chrome Store.
Bonus content:, I also like making YouTube videos and I though it was a cool idea to make a short clip (less than 1 minute) to showcase the little project.
If you’re curious and you still have 58 spare seconds:
Do you use Trello? Do you think having numbers is useful? Let me know :)
Happy coding and see you soon!
Hello! My name is Leonardo and as you might have noticed, I like to talk about Web Development and Open Source!
I use GitHub every day and my favourite editor is Visual Studio Code... this might influence a little bit my conent! :D
If you like what I do, you should have a look at my YouTube Channel!
Let's get in touch, feel free to send me a DM on Twitter!