-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Feature: Timetracking #2211
Conversation
Signed-off-by: Jonas <info@jonasfranz.software>
Added explanation to return statement. Signed-off-by: Jonas <info@jonasfranz.software>
Added explanation to return statement + documentation. Signed-off-by: Jonas <info@jonasfranz.software>
Signed-off-by: Jonas Franz <info@jonasfranz.software>
Signed-off-by: Jonas Franz <info@jonasfranz.software>
Signed-off-by: Jonas Franz <info@jonasfranz.software>
…pants. Signed-off-by: Jonas Franz <info@jonasfranz.software>
Signed-off-by: Jonas Franz <info@jonasfranz.software>
Refreshing code base
Deleting feed entry if a comment is going to be deleted Signed-off-by: Jonas Franz <info@jonasfranz.software>
Signed-off-by: Jonas Franz <email@jfdev.de>
Added improved links to comments in feed entries. Signed-off-by: Jonas Franz <email@jfdev.de>
Added improved links to comments in feed entries. Signed-off-by: Jonas Franz <email@jfdev.de>
Added improved links to comments in feed entries. Signed-off-by: Jonas Franz <email@jfdev.de>
Added improved links to comments in feed entries. (+ gofmt) Signed-off-by: Jonas Franz <email@jfdev.de>
Added improved links to comments in feed entries. (+ gofmt) Signed-off-by: Jonas Franz <email@jfdev.de>
Added improved links to comments in feed entries. (+ gofmt) Signed-off-by: Jonas Franz <email@jfdev.de>
Added improved links to comments in feed entries. (+ gofmt) Signed-off-by: Jonas Franz <email@jfdev.de>
Added improved links to comments in feed entries. (+ gofmt) Signed-off-by: Jonas Franz <email@jfdev.de>
…f-by: Jonas Franz <email@jfdev.de>
…nced in actions. Signed-off-by: Jonas Franz <email@jfdev.de>
Signed-off-by: Jonas Franz <email@jfdev.de>
Introducing "IsDeleted" column to action. Signed-off-by: Jonas Franz <email@jfdev.de>
# Conflicts: # models/migrations/migrations.go
Adding database models for stopwatches and trackedtimes See go-gitea#967 Signed-off-by: Jonas Franz <email@jfdev.de>
Adding database models for stopwatches and trackedtimes See go-gitea#967 +gofmt Signed-off-by: Jonas Franz <email@jfdev.de>
See go-gitea#967 Signed-off-by: Jonas Franz <email@jfdev.de>
Make UI functional Add hints in timeline for time tracking events See go-gitea#967 Signed-off-by: Jonas Franz <email@jfdev.de>
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@jfdev.de>
@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. |
…re/timetracking
@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) |
…re/timetracking
LGTM |
@JonasFranzDEV please rebase so that this PR could be merged. |
…re/timetracking
@lunny Done! |
@JonasFranzDEV please rebase again as PR was just merged with tests fixed :) 🎉 |
…re/timetracking
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 <info@jonasfranz.software>
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Hotfix for "Add time manually" (#2211 (comment)) Signed-off-by: Jonas Franz <info@jonasfranz.software> * Checking if Code unit is enabled before creating a fork. Signed-off-by: Jonas Franz <info@jonasfranz.software> * Adding a discrete function for RepoIDAssignment Signed-off-by: Jonas Franz <info@jonasfranz.software> * Improved Documentation
* Hotfix for "Add time manually" (#2211 (comment)) Signed-off-by: Jonas Franz <info@jonasfranz.software> * Submit forms if Ctrl+Enter is pressed inside a textarea Signed-off-by: Jonas Franz <info@jonasfranz.software> * Adding separate class for Ctrl+Enter-Submit Checking if alt key is pressed too Signed-off-by: Jonas Franz <info@jonasfranz.software> * Changing .ctrlenter to .js-quick-submit Signed-off-by: Jonas Franz <info@jonasfranz.software>
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.