go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
43.08k stars 5.31k forks source link

Time tracking: Allow to add spend time via /spend comment #6673

Open gsantner opened 5 years ago

gsantner commented 5 years ago

Description

Currently you can only add spent time on a issue via the sidebar.

Would be great if you can spend time via comment, e.g. like at GitLab

/spend 2h 10m

would eg add 2h 10 minutes to tracked time.

Screenshots

https://docs.gitlab.com/ee/workflow/time-tracking/time-tracking-example.png

https://docs.gitlab.com/ee/workflow/time_tracking.html#how-to-enter-data

gsantner commented 5 years ago

When somebody works e.g. on #2615 too I would suggest to also implement /estimate

adelowo commented 5 years ago

You can do this via web hooks.. Listen to comments and if it contains your syntax, add the time.

Doesn’t make much sense to add this to Gitea. Will eventually lead to bloat

Pavithra-Veryx commented 2 weeks ago

how to add spend time in pull request

wxiaoguang commented 2 weeks ago

Maybe the time tracking could be implemented by Issue time estimate, meaningful time tracking #23113