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

[Feature] Add option to remove worked time from issue #14351

Closed
delvh opened this issue Jan 15, 2021 · 1 comment
Closed

[Feature] Add option to remove worked time from issue #14351

delvh opened this issue Jan 15, 2021 · 1 comment
Labels
issue/duplicate The issue has already been reported. outdated/theme/timetracker

Comments

@delvh
Copy link
Member

delvh commented Jan 15, 2021

  • Gitea version (or commit ref): 1.13.1
  • Git version: -
  • Operating system: -

Description

As far as I am aware, it currently is impossible to remove time a collaborator has (not) spent working on an issue/ a PR.
This is not exactly appreciable as humans are error prone. The moment you enter a wrong time or the moment you stop (instead of cancel) a timer that was forgotten to be stopped i.e. yesterday, you have no way of undoing it, at least to my knowledge.
If you enter a negative number in the popup behind the Add time button, a RangeError gets thrown, which is totally fine.
But the option to manually remove worked time should at least somewhere be present for the average user.

What should be implemented

When the timer has not been activated, a (most-likely red) Remove time button should be displayed, at best to the right of the Add time button.

Tangentially related time tracking problem

If a user cancels a timer, the corresponding start and cancel event in the issue/ PR history should be removed.

@delvh delvh changed the title Add option to remove worked time from issue [FEATURE] Add option to remove worked time from issue Jan 16, 2021
@delvh delvh changed the title [FEATURE] Add option to remove worked time from issue [Feature] Add option to remove worked time from issue Jan 16, 2021
@noerw
Copy link
Member

noerw commented Jan 17, 2021

duplicate of #2642 and will be fixed by #14100

@noerw noerw closed this as completed Jan 17, 2021
@lunny lunny added type/proposal The new feature has not been accepted yet but needs to be discussed first. and removed type/proposal The new feature has not been accepted yet but needs to be discussed first. labels Jan 18, 2021
@go-gitea go-gitea locked and limited conversation to collaborators Mar 11, 2021
@noerw noerw added issue/duplicate The issue has already been reported. outdated/theme/timetracker labels Mar 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/duplicate The issue has already been reported. outdated/theme/timetracker
Projects
None yet
Development

No branches or pull requests

3 participants