-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Feature: Timetracking #2211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Timetracking #2211
Conversation
Signed-off-by: Jonas <[email protected]>
Added explanation to return statement. Signed-off-by: Jonas <[email protected]>
Added explanation to return statement + documentation. Signed-off-by: Jonas <[email protected]>
Signed-off-by: Jonas Franz <[email protected]>
Signed-off-by: Jonas Franz <[email protected]>
Signed-off-by: Jonas Franz <[email protected]>
…pants. Signed-off-by: Jonas Franz <[email protected]>
Signed-off-by: Jonas Franz <[email protected]>
Refreshing code base
Deleting feed entry if a comment is going to be deleted Signed-off-by: Jonas Franz <[email protected]>
Signed-off-by: Jonas Franz <[email protected]>
Added improved links to comments in feed entries. Signed-off-by: Jonas Franz <[email protected]>
Added improved links to comments in feed entries. Signed-off-by: Jonas Franz <[email protected]>
Added improved links to comments in feed entries. Signed-off-by: Jonas Franz <[email protected]>
Added improved links to comments in feed entries. (+ gofmt) Signed-off-by: Jonas Franz <[email protected]>
Added improved links to comments in feed entries. (+ gofmt) Signed-off-by: Jonas Franz <[email protected]>
Added improved links to comments in feed entries. (+ gofmt) Signed-off-by: Jonas Franz <[email protected]>
Added improved links to comments in feed entries. (+ gofmt) Signed-off-by: Jonas Franz <[email protected]>
Added improved links to comments in feed entries. (+ gofmt) Signed-off-by: Jonas Franz <[email protected]>
…nced in actions. Signed-off-by: Jonas Franz <[email protected]>
Signed-off-by: Jonas Franz <[email protected]>
Introducing "IsDeleted" column to action. Signed-off-by: Jonas Franz <[email protected]>
# Conflicts: # models/migrations/migrations.go
Adding database models for stopwatches and trackedtimes See go-gitea#967 Signed-off-by: Jonas Franz <[email protected]>
Adding database models for stopwatches and trackedtimes See go-gitea#967 +gofmt Signed-off-by: Jonas Franz <[email protected]>
See go-gitea#967 Signed-off-by: Jonas Franz <[email protected]>
Make UI functional Add hints in timeline for time tracking events See go-gitea#967 Signed-off-by: Jonas Franz <[email protected]>
Adding "Add time manual" option Improved stopwatch Created report of total spent time by user See go-gitea#967 Signed-off-by: Jonas Franz <[email protected]>
@sapk still branch is out of date with master and need one LG-TM |
Needs one more LG-TM from gitea maintainers than it can be merged to master |
@ethantkoenig @sapk maybe you can give your L-G-T-M since you have give some comments. |
@tboerger Why do the test fail? I think that the problem is caused by drone since the previous test passes. (No changes except master-merge since last test) |
LGTM |
@JonasFranzDEV please rebase so that this PR could be merged. |
@lunny Done! |
@JonasFranzDEV please rebase again as PR was just merged with tests fixed :) 🎉 |
Is it wanted to work like this? My last input test at manually "Add" was 5 hours. It is not a display problem, bad value gets written to DB. I'm on 3fecf94 |
@gsantner please open a new issue to report that, maybe a bug. |
Sorry, didn't create a explicit issue yet, but Jonas already started fixing it |
Signed-off-by: Jonas Franz <[email protected]>
Signed-off-by: Jonas Franz <[email protected]>
* Hotfix for "Add time manually" (#2211 (comment)) Signed-off-by: Jonas Franz <[email protected]> * Checking if Code unit is enabled before creating a fork. Signed-off-by: Jonas Franz <[email protected]> * Adding a discrete function for RepoIDAssignment Signed-off-by: Jonas Franz <[email protected]> * Improved Documentation
* Hotfix for "Add time manually" (#2211 (comment)) Signed-off-by: Jonas Franz <[email protected]> * Submit forms if Ctrl+Enter is pressed inside a textarea Signed-off-by: Jonas Franz <[email protected]> * Adding separate class for Ctrl+Enter-Submit Checking if alt key is pressed too Signed-off-by: Jonas Franz <[email protected]> * Changing .ctrlenter to .js-quick-submit Signed-off-by: Jonas Franz <[email protected]>
Fix #967
This pullrequest adds a timetracking feature for issues.
Tracking methods
Track by a stopwatch
This is the easiest process. You simply click on "Start" at the time tracking section and click "Finish" if you finished your work. This will calculate the time difference between the start time and the end time.

Add time manual
You could add time you tracked outside of gitea by clicking on the "+"-Button in the tracking section. This will open up a modal where you could enter the spent time.

Time log
Issue history
Every time tracking action will be logged in the history of the issue. The partial times (per stopwatch / manually) are also logged.

Total time spent
At the sidebar is a list with the sum of time spent by every user who tracked his / her time.
