Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find value for Y in the notes #412

Open
edusanzio opened this issue Jan 12, 2025 · 0 comments
Open

Can't find value for Y in the notes #412

edusanzio opened this issue Jan 12, 2025 · 0 comments

Comments

@edusanzio
Copy link

edusanzio commented Jan 12, 2025

This is for someone with the same problem as me and also a sugestion to clarify this in the documentation

I'm tracking a habit and trying to use the month Tracker, my habit is a dvField inline in the daily note
Exercise::Yes

I just want a color in the day, not worried about intensity or anything else, I took a long time to understand that it was finding the dvField and the problem was that it wasn't a number the target. I was sad to change all my notes to Exercise::1 so it showed up. I did and it worked but I was not happy. I saw that the plugin had Expressions and I was thinking maybe theres an expression that just returns a number so I could do somthing like {if "Yes" then 1} but I had no luck.

Finally I saw the emoji exemple by curiosity and stumbled upon textValueMap and finally were able to do what I was trying for so long, so I added the part below and it solved my problem. I just wished I didn't take that long to figure this out.

textValueMap:
Yes: 1

Anyway, thanks for the amazing plugin and congrats for all the work done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant