Tana is launching a new product 🚀 Get early access
âšĄïž Ideas
Zinta Zinta Dec 2, 2024
Posted Thu, Jan 4, 2024 5:16 PM
Edited Mon, Dec 2, 2024 10:50 PM

Change supertag icon based on field value

Explain the problem as you see it

Much of my work in Tana involves documenting to-dos, issues, etc. I love the new feature that allows for assigning an icon to a supertag in order to be able to visually distinguish nodes based on their tags. A problem I'm still encountering however is being able to easily identify the status of nodes within the same supertag.

Why is this a problem for you?

I need to be able to easily identify if a task is urgent, behind schedule, on hold, complete, etc.

Suggest a solution

Adding a feature that would allow a supertag's icon to change based on the value of a particular field would provide useful visual indicators. For example, I'd like my #todo supertag's icon to change based on the value of the status field:

❗Do this thing #todo [Status: Urgent]
đŸ”„ Do this thing #todo [Status: Behind Schedule]
⌛ Do this thing #todo [Status: On Hold]
✅ Do this thing #todo [Status: Complete]

⁚5⁩ ⁚Comments⁩

You can do this, although we don't have a good UI for it. Cmd+K Debug Supertag on the tag when you are in the tag homepage (the page you get to when you just click the tag). Find the Icon field, and paste in a reference to the field (go to the field name, hit Cmd+C, then go into the value section of the Icon field, and Cmd+V). This will look up the value in that field on each node. (The reason we haven't announced this is that we want to build a better UI for this).

In reply to Stian HÄklev Stian HÄklev

Hi Stian,
can you please explain in detail how to actually do this?

Using your explanation I don't understand how I can do a
If status == Done : Icon = ✅
else If status == Progress : Icon = ⏭
else If status == Not Done : Icon = ❌

Thank you!