Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
12dbf555
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
12dbf555
编写于
11月 07, 2017
作者:
V
Victor Wu
提交者:
Sean McGivern
11月 07, 2017
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Label priority and Priority sort orders
上级
61b775ed
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
23 addition
and
6 deletion
+23
-6
doc/user/project/img/label_priority_sort_order.png
doc/user/project/img/label_priority_sort_order.png
+0
-0
doc/user/project/img/labels_filter_by_priority.png
doc/user/project/img/labels_filter_by_priority.png
+0
-0
doc/user/project/img/priority_sort_order.png
doc/user/project/img/priority_sort_order.png
+0
-0
doc/user/project/labels.md
doc/user/project/labels.md
+23
-6
未找到文件。
doc/user/project/img/label_priority_sort_order.png
0 → 100644
浏览文件 @
12dbf555
99.3 KB
doc/user/project/img/labels_filter_by_priority.png
已删除
100644 → 0
浏览文件 @
61b775ed
37.8 KB
doc/user/project/img/priority_sort_order.png
0 → 100644
浏览文件 @
12dbf555
99.8 KB
doc/user/project/labels.md
浏览文件 @
12dbf555
...
...
@@ -77,15 +77,32 @@ having their priority set to null.
![
Prioritize labels
](
img/labels_prioritize.png
)
Now that you have labels prioritized, you can use the '
Priority' and 'Label
priority' filt
ers in the issues or merge requests tracker.
Now that you have labels prioritized, you can use the '
Label priority' and 'Priority'
sort ord
ers in the issues or merge requests tracker.
The 'Label priority' filter puts issues with the highest priority label on top.
In the following, everything applies to both issues and merge requests, but we'll
refer to just issues for brevity.
The 'Priority' filter sorts issues by their soonest milestone due date, then by
label priority.
The 'Label priority' sort order positions issues with higher priority labels
toward the top, and issues with lower priority labels toward the bottom. A non-prioritized
label is considered to have the lowest priority. For a given issue, we _only_ consider the
highest priority label assigned to it in the comparison. (
[
We are discussing
](
https://gitlab.com/gitlab-org/gitlab-ce/issues/18554
)
including all the labels in a given issue for this comparison.) Given two issues
are equal according to this sort comparison, their relative order is equal, and
therefore it's not guaranteed that one will be always above the other.
![
Label priority sort order
](
img/label_priority_sort_order.png
)
The 'Priority' sort order comparison first considers an issue's milestone's due date,
(if the issue is assigned a milestone and the milestone's due date exists), and then
secondarily considers the label priority comparison above. Sooner due dates results
a higher sort order. If an issue doesn't have a milestone due date, it is equivalent to
being assigned to a milestone that has a due date in the infinite future. Given two issues
are equal according to this two-stage sort comparison, their relative order is equal, and
therefore it's not guaranteed that one will be always above the other.
![
Priority sort order
](
img/priority_sort_order.png
)
![
Filter labels by priority
](
img/labels_filter_by_priority.png
)
## Subscribe to labels
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录