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 tracker gather data from multiple inline fields in the same note? #292

Open
Dartaltram opened this issue Jan 11, 2024 · 0 comments
Open

Comments

@Dartaltram
Copy link

I have a calendar tracker that should summarise all the instances I worked out. Those I have saved all in one file, for simplicity, with an inline dvField wod:: YYYY-MM-DD | type | reps | etc.., and I want the tracker to signal if there is a wod:: field with the date

Expected Behavior

As I said, the end result in my mind is a note with a series of lines "wod:: date | type | ..." and in another note the calendar showing when I did or didn't go to the gym + a summary with the max values (still didn't get to that part)

Current Behavior

This is my file (in a test note called Untitled.md)
wod:: 2024-01-10 | STR | Push Press | x5 | 45kg | –
wod:: 2024-01-03 | STR | Push Press | x5 | 45kg | –
wod:: 2024-01-15 | STR | Push Press | x5 | 45kg | –
wod:: 2024-01-19 | STR | Push Press | x5 | 45kg | –
wod:: 2024-01-05 | AMRAP | -Wall walks, Deadlifts, SU(x10) | 13:54 | 85kg | peso incerto
wod:: 2024-01-07 | AMRAP | -Wall walks, Deadlifts, SU(x10) | 13:54 | 85kg | peso incerto
wod:: 2024-01-08 | AMRAP | -Wall walks, Deadlifts, SU(x10) | 13:54 | 85kg | peso incerto

searchType: text
searchTarget: '^wod:: (?<value>\d{4}-\d{2}-\d{2}) \| (.+) \| (.+) \| (.+) \| (.+)kg \| (.+)$, ^wod:: (\d{4}-\d{2}-\d{2}) \| (.+) \| (.+) \| (.+) \| (?<value>.+)kg \| (.+)$'
xDataset: 0
dateFormat: YYYY-MM-DD
datasetName: date, Gym

file: Untitled.md
specifiedFilesOnly: true

fitPanelWidth: true

month:

This leads to a count of all weights, shown as a sum and concentrated on the first value the tracker finds, that is 2024-01-10

Any idea what I'm doing wrong?

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