-
-
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
Issue priority #4823
Issue priority #4823
Conversation
I would prefer this to be labels based (like assigning label a priority) and priority in db for issue would be calculated as max from all labels when changing issue label(s) |
@lafriks I think label priority and issue priority are different feature. We need both. I think label priority will not resolve all the things. |
@BetaCat0 but I would like |
@lunny working on it |
models/issus_priority.go
Outdated
HighestPriority | ||
// PriorityDefault defines the default priority | ||
PriorityDefault = 0 | ||
// PriorityDefault defines the pinned priority |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
error comment
Build failed due to this PR |
Codecov Report
@@ Coverage Diff @@
## master #4823 +/- ##
=======================================
Coverage 37.35% 37.35%
=======================================
Files 308 308
Lines 45567 45567
=======================================
Hits 17022 17022
Misses 26079 26079
Partials 2466 2466 Continue to review full report at Codecov.
|
Ready for review 😀 |
Could you add some screenshot here? |
And you can tap the PIN button to pin/unpin an issue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have files with issus_priority
as part of their names ? Shouldn't that be issues_priority
or issue_priority
?
There are merge conflicts @BetaCat0 |
Signed-off-by: BetaCat0 [email protected]
Signed-off-by: BetaCat0 [email protected]
UpdateIssuePriority is split into two APIs: PinIssue & UnpinIssue Signed-off-by: BetaCat0 [email protected]
Signed-off-by: BetaCat0 [email protected]
issue-unpin will auto trigger when issues close Signed-off-by: BetaCat0 [email protected]
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 months. Thank you for your contributions. |
Please resolve the conflicts. |
I'm already working on label based priority implementation |
Codecov Report
@@ Coverage Diff @@
## master #4823 +/- ##
==========================================
- Coverage 37.87% 37.35% -0.52%
==========================================
Files 328 308 -20
Lines 48255 45567 -2688
==========================================
- Hits 18276 17022 -1254
+ Misses 27350 26079 -1271
+ Partials 2629 2466 -163
Continue to review full report at Codecov.
|
Why? |
because: very stale; a better generic solution was proposed, ... |
Priority updating api for issues (both web and api).
The build will fail due to this PR.