Closed serrnovik closed 3 weeks ago
Hi! I really wish you'd discussed this feature idea with me before implementing it, as I'm not really interested in having a feature like this in Super Simple Time Tracker, and now it feels like you wasted all this great work :(
As the name implies, the plugin is meant to provide the bare minimum for time tracking, and anything more can be done through the dataview API. On top of that, I don't have the time to actively maintain all my Obsidian plugins in the best of times, and any additional major features like this one just add to that issue.
However, if you want to publish this feature idea as a Dataview snippet or something similar for other users of this plugin to use, I'd love to include a link to it in a new "community scripts/snippets" section of the README.
Actually I had/have a dataview snippet and it is not optimal in terms of configuration / usability. Understand your position. No problem. I guess I'll live with a fork then. Tracking without a good summary is not very usable.
Overview
This PR adds new summary / reporting capabilities to the Plugin. It introduces functionalities for tracking time entries, managing streams (topics) like development or accounting, and generating summary reports for easier visualization and analysis.
Time Tracking Entries with Tags: Track work sessions with tags to categorize different activities.
#tt_dev #tt_client_a #tt_frontend
represents time spent working on the development (frontend) for a specific client.Enhanced Reporting Functionality: Generate time tracking reports for specific time periods, allowing detailed insight into how time was allocated.
The output within Obsidian will render detailed information for each time segment, as shown in the first image.
Example Report
Call command
Ctrl+P
selectInsert Time Tracking Summary
The reporting capability allows generating summaries for specific time ranges and topics:
Streams Report: A summary of all topics (e.g., Development, Accounting) over a selected period.
Clients Report: A summary for individual topic over a given time range.
These examples help demonstrate how you can leverage the new tracking and reporting capabilities.
How to Use
Staged Changes Summary
The following files have been updated as part of this PR:
**reporting-screenshot.png**
: Example screenshot added to illustrate the output.**src/interfaces.ts**
: Interface updates for tag and section configuration.**src/main.ts**
: Main plugin logic enhanced for time tracking and reporting.**src/settings-tab.ts**
and**src/settings.ts**
: New settings for tag configurations.**src/timeTrackingSummary.ts**
: Implementation of the reporting features.Future Improvements
Add export functionality for reports to CSV for further analysis outside Obsidian.
Improve user documentation to make the usage of settings more intuitive.
Please review the changes and let me know if there are any questions or further refinements needed.