mcndt / obsidian-toggl-integration

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

FR: Additional Views #118

Open sstar0016 opened 1 year ago

sstar0016 commented 1 year ago

Love this plugin, super clean and nice to work with, use it for daily reviews

Would be keen to get:

mcndt commented 1 year ago

I love timery! Could you give some concrete examples of visualisations that are missing that you would like to add?

sstar0016 commented 1 year ago

A few features of timery I'd like to see in this plugin (listed in order of personal priority):

  1. group list/graph by project/client/tags (instead of just as individual entries)
  2. filter by project/client/tags (ie just graph the time entries for a certain client)
  3. change list order of entries (sort by duration, date)
mcndt commented 1 year ago

For 1: I'll see if this is possible with Toggl's new summary API, but I would presume so. Ironically enough I recently also had the need to group summaries by tag rather than project for a work thing.

2: This is already possible 😄

  1. This is also possible, see docs:
    • Documentation about sorting
    • In summary views, the sorting orders by project time (e.g. "SORT DESC" orders the project from most to least time logged)
    • In list views grouped by date, it sorts chronological according to the SORT keyword (e.g. SORT DESC sorts reverse-chronologically)
    • In list views grouped by client/project, it sorts by time spent on that client/project.
mcndt commented 1 year ago

FYI there is also a quick reference to see everything that is possible: https://github.com/mcndt/obsidian-toggl-integration/wiki/TQL-Quick-Reference