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

[BUG] textValueMap parsing emoticons shows "No valid Y values found in note" #237

Closed
OmniNaut opened this issue Aug 1, 2023 · 8 comments

Comments

@OmniNaut
Copy link

OmniNaut commented Aug 1, 2023

Trying to map emojis against numbers to put in a line graph, but no matter what I try emojis as original value always shows "No valid Y values found in note". If i change the original value to text or number textValueMap works fine.
I use inline metadata. I tried to change to frontmatter but the bug still exists.
I used this example. https://github.com/pyrochlore/obsidian-tracker/blob/master/examples/TestTextValueMap.md

This is the code I used:

searchType: dvfield
searchTarget: Physical, Mental, Emotional, Spiritual, Creative, Peaceful
folder: Tracking/Daily
startDate: 2023-06-05
endDate: 2023-06-11
textValueMap:
	😂: 6
	🙂: 5  
	😐: 4
	☹️: 3
	😞: 2
	😭: 1
datasetName: 🚹 Physical, 🧠 Mental, 😶 Emotional, ☮️ Spiritual, 🎨 Creative, ✌🏼 Peaceful
fixedScale: 1.25
margin: 2
line:
    lineColor: yellow, orange, lightblue, red, pink, green
    lineWidth: 3
    showLegend: true
    legendPosition: right

Unfortunately since the developers hasn't be active for over a year, I consider this plugin abandoned. So maybe there is a work around we as a community can come up with. At least it's a documentation of the issue.

Plugin version: 1.10.9
Obsidian: 1.4.2 (Insider)
Windows 11 22H2

@DarkRedman
Copy link

I have a similar issue at the exception that it doesn't apply the mapping and looks like a normal line chart.

@jarpolacek
Copy link

My calendar crashed when I changed type of field to boolean. Any advice?

searchType: frontmatter
searchTarget: dřepy
folder: Deník/Dny
datasetName: Kdy jsi dělal dřepy
month:
	startWeekOn: "mon"
	color: lightblue

image

@gnashedteeth
Copy link

Would love it if dvField could handle inline key::value pairs that utilize emojis. All of the metadata I want to visualize in my daily notes is inline and uses [🏢:: value] syntax...

@lazyguru
Copy link
Collaborator

#196 might be what you are after @gnashedteeth?

@lazyguru
Copy link
Collaborator

@jarpolacek can you try with the latest version? Support for boolean types was added recently

@gnashedteeth
Copy link

#196 might be what you are after @gnashedteeth?

Could be! Investigating. Thanks for taking over this project!!

@lazyguru
Copy link
Collaborator

I believe I have solved the original issue reported by @OmniNaut and will add it to #196 shortly and release it

@lazyguru
Copy link
Collaborator

This should be fixed now with version 1.13.0

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

5 participants