-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Issue time estimate, meaningful time tracking #23113
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
Merged
Merged
Changes from 44 commits
Commits
Show all changes
117 commits
Select commit
Hold shift + click to select a range
1363205
Commit
d11ba9f
Commit
c783692
Commit
a8778f4
Commit
d944662
Commit
7ed86ff
Commit
c248042
Commit
d75b7ac
Commit
4be8c50
Commit
5f3edad
Update services/issue/issue.go
stuzer05 f7a4c9e
Update services/issue/issue.go
stuzer05 e187364
Commit
f33b0a0
Commit
4e1aed8
Merge branch 'main' into add-issue-planned-time
stuzer05 2fc2f63
Commit
b062fc9
Commit
870bb92
Commit
d247b0f
Commit
09c05e8
Commit
0f5b609
Commit
11b9719
Commit
1b7ba41
Commit
f7427d8
Commit
1cff1a9
Commit
e155495
Commit
f463765
Commit
7a57044
Commit
79f507b
Commit
5c4dc87
Commit
0ab85af
Commit
5eea230
Commit
db3c697
Commit
775c663
Merge branch 'main' into add-issue-planned-time
stuzer05 8750870
Commit
29dd617
Commit
7be748f
Commit
b9cdc7c
Commit
8c0bf88
Merge branch 'main' into add-issue-planned-time
stuzer05 e20e23b
Commit
stuzer05 37e8e8d
Commit
stuzer05 8ef3a47
Commit
stuzer05 49a176d
Commit
stuzer05 79e18c6
Commit
stuzer05 deddce5
Commit
stuzer05 fb81260
Update models/issues/issue.go
stuzer05 bf323cf
Commit
stuzer05 57a3664
Commit
stuzer05 fd5adc5
Merge branch 'main' into add-issue-planned-time
stuzer05 879d96f
Merge branch 'main' into add-issue-planned-time
stuzer05 fc93006
Merge branch 'main' into add-issue-planned-time
stuzer05 bf4fa11
Merge branch 'main' into add-issue-planned-time
stuzer05 40e1373
Merge branch 'main' into add-issue-planned-time
stuzer05 e9afd60
Refactor helper functions
stuzer05 3924cb0
Merge branch 'go-gitea:main' into add-issue-planned-time
stuzer05 748bd67
Fix displaying issue estimation
stuzer05 015ad01
Merge branch 'main' into add-issue-planned-time
stuzer05 cef496a
Remove unused code
stuzer05 ffaa4ba
Format
stuzer05 b211b9e
Merge branch 'main' into add-issue-planned-time
silverwind 598e2d5
Merge branch 'main' into add-issue-planned-time
stuzer05 3310440
Hide time tracking
stuzer05 721069d
Merge branch 'main' into add-issue-planned-time
stuzer05 a45c1e9
Merge branch 'main' into add-issue-planned-time
stuzer05 db49783
Commit
stuzer05 e933a89
Delete serviceworker.js
stuzer05 62094d8
Merge branch 'main' into add-issue-planned-time
stuzer05 fa662ec
Merge branch 'main' into add-issue-planned-time
stuzer05 64de74d
Merge branch 'main' into add-issue-planned-time
stuzer05 349b959
Merge branch 'main' into add-issue-planned-time
stuzer05 3037d6c
Merge branch 'main' into add-issue-planned-time
stuzer05 2a9009f
Merge branch 'main' into add-issue-planned-time
stuzer05 a6fa4c3
Merge branch 'main' into add-issue-planned-time
stuzer05 a999055
Merge branch 'main' into add-issue-planned-time
stuzer05 39b8b19
Merge branch 'main' into add-issue-planned-time
stuzer05 92dc2cd
Merge branch 'main' into add-issue-planned-time
stuzer05 a737a8c
Merge branch 'main' into add-issue-planned-time
stuzer05 bb5ca4c
Merge branch 'main' into add-issue-planned-time
stuzer05 805af19
Merge branch 'main' into add-issue-planned-time
stuzer05 0c4b2df
Commit
stuzer05 c272512
Merge branch 'main' into add-issue-planned-time
stuzer05 09723c5
Merge branch 'main' into add-issue-planned-time
stuzer05 0820db0
Merge branch 'main' into add-issue-planned-time
stuzer05 93d09fa
Merge branch 'main' into add-issue-planned-time
stuzer05 1e22cc2
Merge branch 'main' into add-issue-planned-time
stuzer05 e92bedc
Commit
stuzer05 b452e13
Commit
stuzer05 b97139b
Merge branch 'main' into add-issue-planned-time
stuzer05 12553d7
Merge branch 'main' into add-issue-planned-time
stuzer05 0a8fd35
Merge branch 'main' into add-issue-planned-time
stuzer05 8c92f46
Merge branch 'main' into add-issue-planned-time
stuzer05 0c44cf7
Commit
stuzer05 a71b457
Commit
stuzer05 52d62fb
Merge branch 'main' into add-issue-planned-time
stuzer05 ff60376
Merge branch 'main' into add-issue-planned-time
stuzer05 be18b73
Merge branch 'main' into add-issue-planned-time
stuzer05 84d9dee
Merge branch 'main' into add-issue-planned-time
6543 823d67f
pass context down
6543 4ff958b
Merge branch 'main' into add-issue-planned-time
stuzer05 3499c44
Use RenderedContent
stuzer05 bf7fcba
Merge branch 'main' into add-issue-planned-time
stuzer05 392fa48
Merge branch 'main' into add-issue-planned-time
stuzer05 66b2c4a
Merge branch 'main' into add-issue-planned-time
stuzer05 10767d7
Merge branch 'main' into add-issue-planned-time
stuzer05 b24c958
Commit
stuzer05 eb20142
Merge branch 'main' into add-issue-planned-time
wxiaoguang 883d0e1
revert incorrect change
wxiaoguang b9e5676
prepare and revert time tracker time unit
wxiaoguang 7bf773b
fix incorrect translation, remove SafeHTML
wxiaoguang 5250d8c
rework
wxiaoguang 5765fe9
fine tune
wxiaoguang 4bac5a0
fix units
wxiaoguang ea47f02
fix migration name
wxiaoguang 2e8ec9d
fix action message
wxiaoguang 13982d5
fix tests
wxiaoguang a15d976
Merge branch 'main' into add-issue-planned-time
wxiaoguang 4b3edda
fix test
wxiaoguang 2eaa42c
Merge branch 'main' into add-issue-planned-time
wxiaoguang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Copyright 2023 The Gitea Authors. All rights reserved. | ||
// SPDX-License-Identifier: MIT | ||
|
||
package v1_20 //nolint | ||
|
||
import ( | ||
"xorm.io/xorm" | ||
) | ||
|
||
func AddTimeEstimateColumnToIssueTable(x *xorm.Engine) error { | ||
type Issue struct { | ||
TimeEstimate int64 `xorm:"NOT NULL DEFAULT 0"` | ||
} | ||
|
||
return x.Sync(new(Issue)) | ||
} | ||
|
||
func AddColumnsToCommentTable(x *xorm.Engine) error { | ||
type Comment struct { | ||
TimeTracked int64 `xorm:"NOT NULL DEFAULT 0"` | ||
TimeEstimate int64 `xorm:"NOT NULL DEFAULT 0"` | ||
} | ||
|
||
return x.Sync(new(Comment)) | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.