-
- Notifications
You must be signed in to change notification settings - Fork 6.2k
Open
Labels
type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Description
Feature Description
Currently, the time tracker in Gitea only records the duration of tracked work, but it does not provide a way to categorize or label the type of worktime (e.g. development, review, meeting, documentation).
I would like to propose adding a feature that allows labeling of time entries. This would make reporting and analytics much more meaningful.
Possible Implementation
From a database perspective, there are two possible approaches:
- Add a new table (e.g.
time_tracker_label)- Stores label definitions for different types of worktime.
tracked_timeentries would then reference this table via a foreign key.
- Extend the existing
labeltable with an additionaltypeenum- Define a new enum for label type (e.g.
issue,pull_request,time_entry). tracked_timeentries would then be linked with the appropriate label via a new relation.
- Define a new enum for label type (e.g.
Screenshots
No response
Metadata
Metadata
Assignees
Labels
type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.