Skip to content
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

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

Open
2 of 7 tasks
gsantner opened this issue Apr 18, 2019 · 4 comments
Open
2 of 7 tasks

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

gsantner opened this issue Apr 18, 2019 · 4 comments
Labels
outdated/theme/timetracker type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@gsantner
Copy link

  • Gitea version (or commit ref): 3fb038c
  • Git version: 2.17.1
  • Operating system: Deb9
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes
    • No
    • Not relevant
  • Log gist:

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
Copy link
Author

gsantner commented Apr 18, 2019

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

@adelowo
Copy link
Member

adelowo commented Apr 18, 2019

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

@lunny lunny added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Apr 19, 2019
@Pavithra-Veryx
Copy link

how to add spend time in pull request

@wxiaoguang
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
outdated/theme/timetracker type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

6 participants