Code Monkey home page Code Monkey logo

Comments (11)

Vi-Sri avatar Vi-Sri commented on May 25, 2024 1

For the second condition using root folder,
I am not sure why it does not works.
So I made an test project here.
To test it, just extract the downloaded file and put the folder 'case' under your vault.

If you found a bug, please kindly tell me about it, I will fix it as soon as possible.

That's cool. Let me try it and let you know on the same thread.

from obsidian-tracker.

pyrochlore avatar pyrochlore commented on May 25, 2024 1

That's correct, the folder actually contains the img tag, for the emoji.

That's it.
The Emoji in folder name can not be a img tag, it's in fact a special character.
Use the Emoji character instead of a img tag as the input of folder parameter will do the work.
You can also check this in the test project.

from obsidian-tracker.

Vi-Sri avatar Vi-Sri commented on May 25, 2024 1

So i have these questions in terms of the behaviour of the plugin :
The file name should be a date string ?

Currently, yes. This plugin use the date string in file name as the x values.
The using of other dataset as x values is a feature on the road map.

The todos are not counted as per line occurences but rather file occurences ? like if there are 5 todos in file A and 3 todos in file B, still the count will be 2 ?

This plugin counts the number of todo tags for each file with date string in file name.
For 5 todos on 2021-05-28 and 3 todos on 2021-05-29, you will get two data points
x: [2021-05-28, 2021-05-29]
y: [ 5, 3]

From the result you described, it is very likely a bug. But I cannot repeat it here. I got them rendered properly on my side.
image
Could you kindly send me an example of yours?

What support can i give to the development, to implement more cool features to this, because i really want a dashboard based on the statistics of various entities in my vault and i think this is the only plugin that can achieve this.

If you got some programming skill, welcome to make a pull request. Or you can buy me coffees to support the development.

Amazing. yeah i think it was a confusion from my side, it works for me too. Thanks a ton for your time on this. ill close this issue for now, i got all my answers from this. Really a useful plugin there. would be happy to support it.

from obsidian-tracker.

pyrochlore avatar pyrochlore commented on May 25, 2024

Thanks for the feedback.

I noticed that the revealed folder path in the error message contains a html img tag.
Did you have another plugin to present image tag as picture in the preview mode,
so the input for searchTarget actually contains a html img tag?

from obsidian-tracker.

pyrochlore avatar pyrochlore commented on May 25, 2024

For the second condition using root folder,
I am not sure why it does not works.
So I made an test project here.
To test it, just extract the downloaded file and put the folder 'case' under your vault.

If you found a bug, please kindly tell me about it, I will fix it as soon as possible.

from obsidian-tracker.

Vi-Sri avatar Vi-Sri commented on May 25, 2024

Thanks for the feedback.

I noticed that the revealed folder path in the error message contains a html img tag.
Did you have another plugin to present image tag as picture in the preview mode,
so the input for searchTarget actually contains a html img tag?

  • I don't quite get the question. But I'll try to answer what I did regarding the folder name. So the objective behind this is.. I have 5 Notes categorised as Work Todos, Personal Todos, Study Todos etc. under the folder "βœ… Todos" where I log my todos with a #todo tag and I have another note called Dashboard in the root where I want to display a line chart of number of occurrences of #todo vs date, so, I copy pasted an emoji with a text for the folder variable in YAML. Its something like this "βœ… Todos", while the search target is actually a tag "#todo" , so the variable for YAML as per the documentation is searchType : tag and searchTarget: todo to count the occurences of "#todo".

  • Leaving this emoji matter aside, shouldn't this work either way if I set the folder to the default root of the vault, and shouldn't the tracker plugin search the entire vault and all notes in it for the tag "#todo" and count all the occurences ?

from obsidian-tracker.

pyrochlore avatar pyrochlore commented on May 25, 2024

Revised

so the input for searchTarget actually contains a html img tag?

so the input for 'folder' actually contains a html tag?

from obsidian-tracker.

Vi-Sri avatar Vi-Sri commented on May 25, 2024

Revised

so the input for searchTarget actually contains a html img tag?

so the input for 'folder' actually contains a html tag

That's correct, the folder actually contains the img tag, for the emoji.

from obsidian-tracker.

pyrochlore avatar pyrochlore commented on May 25, 2024

Leaving this emoji matter aside, shouldn't this work either way if I set the folder to the default root of the vault, and shouldn't the tracker plugin search the entire vault and all notes in it for the tag "#todo" and count all the occurences ?

It should work, so please give the test project a try. Maybe it's a bug not found yet.

from obsidian-tracker.

Vi-Sri avatar Vi-Sri commented on May 25, 2024

Leaving this emoji matter aside, shouldn't this work either way if I set the folder to the default root of the vault, and shouldn't the tracker plugin search the entire vault and all notes in it for the tag "#todo" and count all the occurences ?

It should work, so please give the test project a try. Maybe it's a bug not found yet.

So i have put your test project into my vault, and, as you said i think we cant have an html img tag in the name of the folder, so i think that is resolved, but i think the issue itself is the behaviour which i observe that, its not exactly counting the todo tags, but rather the number of files with a date as a name of the file with the todo tag ? maybe ? am not sure here. I changed the folder you gave as "βœ… Test" to test it in my vault itself, i saw that you created three files, and with the date, its showing the value as 3. So am drawing out the behaviour as this.. correct me if i am wrong.

So i have these questions in terms of the behaviour of the plugin :

  1. The file name should be a date string ?
  2. The todos are not counted as per line occurences but rather file occurences ? like if there are 5 todos in file A and 3 todos in file B, still the count will be 2 ?

What support can i give to the development, to implement more cool features to this, because i really want a dashboard based on the statistics of various entities in my vault and i think this is the only plugin that can achieve this.

Preview mode :

Screenshot 2021-05-28 at 12 11 19 PM

Edit mode :

Screenshot 2021-05-28 at 12 31 08 PM

from obsidian-tracker.

pyrochlore avatar pyrochlore commented on May 25, 2024

So i have these questions in terms of the behaviour of the plugin :
The file name should be a date string ?

Currently, yes. This plugin use the date string in file name as the x values.
The using of other dataset as x values is a feature on the road map.

The todos are not counted as per line occurences but rather file occurences ? like if there are 5 todos in file A and 3 todos in file B, still the count will be 2 ?

This plugin counts the number of todo tags for each file with date string in file name.
For 5 todos on 2021-05-28 and 3 todos on 2021-05-29, you will get two data points
x: [2021-05-28, 2021-05-29]
y: [ 5, 3]

From the result you described, it is very likely a bug. But I cannot repeat it here. I got them rendered properly on my side.
image
Could you kindly send me an example of yours?

What support can i give to the development, to implement more cool features to this, because i really want a dashboard based on the statistics of various entities in my vault and i think this is the only plugin that can achieve this.

If you got some programming skill, welcome to make a pull request. Or you can buy me coffees to support the development.

from obsidian-tracker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.