mcndt / obsidian-toggl-integration

A Toggl integration plugin for the popular knowledge base application Obsidian.
GNU General Public License v3.0
270 stars 19 forks source link

Choose or create project by title of current note #7

Open dipsy opened 2 years ago

dipsy commented 2 years ago

Link toggl project and obsidian note, so we can rename note in feature. And make project names in sidebar clickable to such project notes (if we have such relation).

mcndt commented 2 years ago

Could you elaborate on this feature request? How do you envision this working?

For example, I could put a Toggl project in the YAML frontmatter of a note to link it to a project. This would then become the "project note" for that Toggl project.

Could you give an example of what this note could be used for? Is it just for easy navigation?

dipsy commented 2 years ago

For example I use notes with yaml number property "priority" as projects. Than I can select they or sort with dataview. Its very simple and efficient. But, for toggl plugin will be indifferent what a type of note it is. Simply I want to start timer with my current note. The relation between toggl project and obsidian note keep internal, not in yaml. If I want to new link current note with current toggl project I think you can do dialog to ask user to link. So one command as now Start timer, second command Start timer for current note. If no link - create project in toggl. Third command Start timer for current note and link to project. Not simple? :)