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

As a user I would like to be able to filter on client in markdown blocks #39

Closed davidolrik closed 2 years ago

davidolrik commented 2 years ago

When embedding a summary in a page it would be nice to be able to filter on "client".

Like so:

``toggl
summary week
client <client-name>
``
mcndt commented 2 years ago

Hi David,

Currently you can already filter by project using the syntax {INCLUDE|EXCLUDE} PROJECTS "Project 1"[, "Project 2", ...]

I can easily extend this to clients via {INCLUDE|EXCLUDE} {PROJECTS|CLIENTS} "Project 1"[, "Project 2", ...]

I'll try to look into this by next week. Hope you like the update!

davidolrik commented 2 years ago

That would be awesome! - And I love the update!

mcndt commented 2 years ago

Available in release 0.5.0: https://github.com/mcndt/obsidian-toggl-integration/releases/tag/0.5.0

I added both filtering and grouping by clients. Let me know if you encounter any problems.

davidolrik commented 2 years ago

Works like a charm!