2017-01-01 23:45:09 +05:30
|
|
|
-
|
|
|
|
id: 1
|
|
|
|
repo_id: 1
|
|
|
|
index: 1
|
|
|
|
poster_id: 1
|
2022-10-17 21:53:27 +05:30
|
|
|
original_author_id: 0
|
2017-01-01 23:45:09 +05:30
|
|
|
name: issue1
|
2017-09-17 01:46:21 +05:30
|
|
|
content: content for the first issue
|
2022-10-17 21:53:27 +05:30
|
|
|
milestone_id: 0
|
|
|
|
priority: 0
|
2017-01-01 23:45:09 +05:30
|
|
|
is_closed: false
|
|
|
|
is_pull: false
|
2024-06-09 16:20:53 +05:30
|
|
|
num_comments: 3
|
2017-01-01 23:45:09 +05:30
|
|
|
created_unix: 946684800
|
|
|
|
updated_unix: 978307200
|
2022-10-17 21:53:27 +05:30
|
|
|
is_locked: false
|
2017-01-01 23:45:09 +05:30
|
|
|
|
|
|
|
-
|
|
|
|
id: 2
|
|
|
|
repo_id: 1
|
|
|
|
index: 2
|
|
|
|
poster_id: 1
|
2022-10-17 21:53:27 +05:30
|
|
|
original_author_id: 0
|
2017-01-01 23:45:09 +05:30
|
|
|
name: issue2
|
2017-09-17 01:46:21 +05:30
|
|
|
content: content for the second issue
|
2017-02-09 12:09:26 +05:30
|
|
|
milestone_id: 1
|
2022-10-17 21:53:27 +05:30
|
|
|
priority: 0
|
2017-01-01 23:45:09 +05:30
|
|
|
is_closed: false
|
|
|
|
is_pull: true
|
2022-10-17 21:53:27 +05:30
|
|
|
num_comments: 0
|
2017-01-01 23:45:09 +05:30
|
|
|
created_unix: 946684810
|
|
|
|
updated_unix: 978307190
|
2022-10-17 21:53:27 +05:30
|
|
|
is_locked: false
|
2017-01-01 23:45:09 +05:30
|
|
|
|
|
|
|
-
|
|
|
|
id: 3
|
|
|
|
repo_id: 1
|
|
|
|
index: 3
|
|
|
|
poster_id: 1
|
2022-10-17 21:53:27 +05:30
|
|
|
original_author_id: 0
|
2017-01-01 23:45:09 +05:30
|
|
|
name: issue3
|
2017-09-17 01:46:21 +05:30
|
|
|
content: content for the third issue
|
2020-04-30 09:45:39 +05:30
|
|
|
milestone_id: 3
|
2022-10-17 21:53:27 +05:30
|
|
|
priority: 0
|
2017-01-01 23:45:09 +05:30
|
|
|
is_closed: false
|
|
|
|
is_pull: true
|
2022-10-17 21:53:27 +05:30
|
|
|
num_comments: 0
|
2017-01-01 23:45:09 +05:30
|
|
|
created_unix: 946684820
|
|
|
|
updated_unix: 978307180
|
2022-10-17 21:53:27 +05:30
|
|
|
is_locked: false
|
2017-01-01 23:45:09 +05:30
|
|
|
|
|
|
|
-
|
|
|
|
id: 4
|
|
|
|
repo_id: 2
|
|
|
|
index: 1
|
|
|
|
poster_id: 2
|
2022-10-17 21:53:27 +05:30
|
|
|
original_author_id: 0
|
2017-01-01 23:45:09 +05:30
|
|
|
name: issue4
|
2017-09-17 01:46:21 +05:30
|
|
|
content: content for the fourth issue
|
2022-10-17 21:53:27 +05:30
|
|
|
milestone_id: 0
|
|
|
|
priority: 0
|
2017-01-01 23:45:09 +05:30
|
|
|
is_closed: true
|
|
|
|
is_pull: false
|
2023-11-25 22:51:21 +05:30
|
|
|
num_comments: 1
|
2017-12-26 04:55:16 +05:30
|
|
|
created_unix: 946684830
|
|
|
|
updated_unix: 978307200
|
2022-10-17 21:53:27 +05:30
|
|
|
is_locked: false
|
2017-02-01 07:01:35 +05:30
|
|
|
|
|
|
|
-
|
|
|
|
id: 5
|
|
|
|
repo_id: 1
|
|
|
|
index: 4
|
|
|
|
poster_id: 2
|
2022-10-17 21:53:27 +05:30
|
|
|
original_author_id: 0
|
2017-02-01 07:01:35 +05:30
|
|
|
name: issue5
|
2017-09-17 01:46:21 +05:30
|
|
|
content: content for the fifth issue
|
2022-10-17 21:53:27 +05:30
|
|
|
milestone_id: 0
|
|
|
|
priority: 0
|
2017-02-01 07:01:35 +05:30
|
|
|
is_closed: true
|
|
|
|
is_pull: false
|
2022-10-17 21:53:27 +05:30
|
|
|
num_comments: 0
|
2017-12-26 04:55:16 +05:30
|
|
|
created_unix: 946684840
|
|
|
|
updated_unix: 978307200
|
2022-10-17 21:53:27 +05:30
|
|
|
is_locked: false
|
2017-12-26 04:55:16 +05:30
|
|
|
|
2017-09-12 12:18:13 +05:30
|
|
|
-
|
|
|
|
id: 6
|
|
|
|
repo_id: 3
|
|
|
|
index: 1
|
|
|
|
poster_id: 1
|
2022-10-17 21:53:27 +05:30
|
|
|
original_author_id: 0
|
2017-09-12 12:18:13 +05:30
|
|
|
name: issue6
|
|
|
|
content: content6
|
2022-10-17 21:53:27 +05:30
|
|
|
milestone_id: 0
|
|
|
|
priority: 0
|
2017-09-12 12:18:13 +05:30
|
|
|
is_closed: false
|
|
|
|
is_pull: false
|
|
|
|
num_comments: 0
|
2017-12-26 04:55:16 +05:30
|
|
|
created_unix: 946684850
|
2017-09-12 12:18:13 +05:30
|
|
|
updated_unix: 978307200
|
2022-10-17 21:53:27 +05:30
|
|
|
is_locked: false
|
2019-02-11 00:57:19 +05:30
|
|
|
|
|
|
|
-
|
|
|
|
id: 7
|
|
|
|
repo_id: 2
|
|
|
|
index: 2
|
|
|
|
poster_id: 2
|
2022-10-17 21:53:27 +05:30
|
|
|
original_author_id: 0
|
2019-02-11 00:57:19 +05:30
|
|
|
name: issue7
|
|
|
|
content: content for the seventh issue
|
2022-10-17 21:53:27 +05:30
|
|
|
milestone_id: 0
|
|
|
|
priority: 0
|
2019-02-11 00:57:19 +05:30
|
|
|
is_closed: false
|
|
|
|
is_pull: false
|
2022-10-17 21:53:27 +05:30
|
|
|
num_comments: 0
|
2019-02-11 00:57:19 +05:30
|
|
|
created_unix: 946684830
|
|
|
|
updated_unix: 978307200
|
2022-10-17 21:53:27 +05:30
|
|
|
is_locked: false
|
2019-02-11 00:57:19 +05:30
|
|
|
|
2019-06-30 13:27:59 +05:30
|
|
|
-
|
|
|
|
id: 8
|
|
|
|
repo_id: 10
|
|
|
|
index: 1
|
|
|
|
poster_id: 11
|
2022-10-17 21:53:27 +05:30
|
|
|
original_author_id: 0
|
2019-06-30 13:27:59 +05:30
|
|
|
name: pr2
|
|
|
|
content: a pull request
|
2022-10-17 21:53:27 +05:30
|
|
|
milestone_id: 0
|
|
|
|
priority: 0
|
2019-06-30 13:27:59 +05:30
|
|
|
is_closed: false
|
|
|
|
is_pull: true
|
2022-10-17 21:53:27 +05:30
|
|
|
num_comments: 0
|
2019-06-30 13:27:59 +05:30
|
|
|
created_unix: 946684820
|
2019-12-02 09:20:36 +05:30
|
|
|
updated_unix: 978307180
|
2022-10-17 21:53:27 +05:30
|
|
|
is_locked: false
|
2019-12-07 09:51:18 +05:30
|
|
|
|
|
|
|
-
|
|
|
|
id: 9
|
|
|
|
repo_id: 48
|
|
|
|
index: 1
|
|
|
|
poster_id: 11
|
2022-10-17 21:53:27 +05:30
|
|
|
original_author_id: 0
|
2019-12-07 09:51:18 +05:30
|
|
|
name: pr1
|
|
|
|
content: a pull request
|
2022-10-17 21:53:27 +05:30
|
|
|
milestone_id: 0
|
|
|
|
priority: 0
|
2019-12-07 09:51:18 +05:30
|
|
|
is_closed: false
|
|
|
|
is_pull: true
|
2022-10-17 21:53:27 +05:30
|
|
|
num_comments: 0
|
2019-12-07 09:51:18 +05:30
|
|
|
created_unix: 946684820
|
2020-01-02 04:21:10 +05:30
|
|
|
updated_unix: 978307180
|
2022-10-17 21:53:27 +05:30
|
|
|
is_locked: false
|
2020-01-02 04:21:10 +05:30
|
|
|
|
|
|
|
-
|
|
|
|
id: 10
|
|
|
|
repo_id: 42
|
|
|
|
index: 1
|
|
|
|
poster_id: 500
|
2022-10-17 21:53:27 +05:30
|
|
|
original_author_id: 0
|
2020-01-02 04:21:10 +05:30
|
|
|
name: issue from deleted account
|
|
|
|
content: content from deleted account
|
2022-10-17 21:53:27 +05:30
|
|
|
milestone_id: 0
|
|
|
|
priority: 0
|
2020-01-02 04:21:10 +05:30
|
|
|
is_closed: false
|
|
|
|
is_pull: false
|
2022-10-17 21:53:27 +05:30
|
|
|
num_comments: 0
|
|
|
|
deadline_unix: 1019307200
|
2020-01-02 04:21:10 +05:30
|
|
|
created_unix: 946684830
|
|
|
|
updated_unix: 999307200
|
2022-10-17 21:53:27 +05:30
|
|
|
is_locked: false
|
2020-01-17 11:33:40 +05:30
|
|
|
|
|
|
|
-
|
|
|
|
id: 11
|
|
|
|
repo_id: 1
|
|
|
|
index: 5
|
|
|
|
poster_id: 1
|
2022-10-17 21:53:27 +05:30
|
|
|
original_author_id: 0
|
2020-01-17 11:33:40 +05:30
|
|
|
name: pull5
|
|
|
|
content: content for the a pull request
|
2022-10-17 21:53:27 +05:30
|
|
|
milestone_id: 0
|
|
|
|
priority: 0
|
2020-01-17 11:33:40 +05:30
|
|
|
is_closed: false
|
|
|
|
is_pull: true
|
2022-10-17 21:53:27 +05:30
|
|
|
num_comments: 0
|
2020-01-17 11:33:40 +05:30
|
|
|
created_unix: 1579194806
|
|
|
|
updated_unix: 1579194806
|
2022-10-17 21:53:27 +05:30
|
|
|
is_locked: false
|
2020-10-20 23:48:25 +05:30
|
|
|
|
|
|
|
-
|
|
|
|
id: 12
|
|
|
|
repo_id: 3
|
|
|
|
index: 2
|
|
|
|
poster_id: 2
|
2022-10-17 21:53:27 +05:30
|
|
|
original_author_id: 0
|
2020-10-20 23:48:25 +05:30
|
|
|
name: pull6
|
|
|
|
content: content for the a pull request
|
2022-10-17 21:53:27 +05:30
|
|
|
milestone_id: 0
|
|
|
|
priority: 0
|
2020-10-20 23:48:25 +05:30
|
|
|
is_closed: false
|
|
|
|
is_pull: true
|
2022-10-17 21:53:27 +05:30
|
|
|
num_comments: 0
|
2020-10-20 23:48:25 +05:30
|
|
|
created_unix: 1602935696
|
|
|
|
updated_unix: 1602935696
|
2022-10-17 21:53:27 +05:30
|
|
|
is_locked: false
|
2021-01-13 09:49:17 +05:30
|
|
|
|
|
|
|
-
|
|
|
|
id: 13
|
|
|
|
repo_id: 50
|
2021-06-14 07:52:55 +05:30
|
|
|
index: 1
|
2021-01-13 09:49:17 +05:30
|
|
|
poster_id: 2
|
2022-10-17 21:53:27 +05:30
|
|
|
original_author_id: 0
|
2021-01-13 09:49:17 +05:30
|
|
|
name: issue in active repo
|
|
|
|
content: we'll be testing github issue 13171 with this.
|
2022-10-17 21:53:27 +05:30
|
|
|
milestone_id: 0
|
|
|
|
priority: 0
|
2021-01-13 09:49:17 +05:30
|
|
|
is_closed: false
|
|
|
|
is_pull: false
|
2022-10-17 21:53:27 +05:30
|
|
|
num_comments: 0
|
2021-01-13 09:49:17 +05:30
|
|
|
created_unix: 1602935696
|
|
|
|
updated_unix: 1602935696
|
2022-10-17 21:53:27 +05:30
|
|
|
is_locked: false
|
2021-01-13 09:49:17 +05:30
|
|
|
|
|
|
|
-
|
|
|
|
id: 14
|
|
|
|
repo_id: 51
|
2021-06-14 07:52:55 +05:30
|
|
|
index: 1
|
2021-01-13 09:49:17 +05:30
|
|
|
poster_id: 2
|
2022-10-17 21:53:27 +05:30
|
|
|
original_author_id: 0
|
2021-01-13 09:49:17 +05:30
|
|
|
name: issue in archived repo
|
|
|
|
content: we'll be testing github issue 13171 with this.
|
2022-10-17 21:53:27 +05:30
|
|
|
milestone_id: 0
|
|
|
|
priority: 0
|
2021-01-13 09:49:17 +05:30
|
|
|
is_closed: false
|
|
|
|
is_pull: false
|
2022-10-17 21:53:27 +05:30
|
|
|
num_comments: 0
|
2021-01-13 09:49:17 +05:30
|
|
|
created_unix: 1602935696
|
|
|
|
updated_unix: 1602935696
|
2022-10-17 21:53:27 +05:30
|
|
|
is_locked: false
|
2021-08-14 02:17:25 +05:30
|
|
|
|
|
|
|
-
|
|
|
|
id: 15
|
|
|
|
repo_id: 5
|
|
|
|
index: 1
|
|
|
|
poster_id: 2
|
2022-10-17 21:53:27 +05:30
|
|
|
original_author_id: 0
|
2021-08-14 02:17:25 +05:30
|
|
|
name: issue in repo not linked to team1
|
|
|
|
content: content
|
2022-10-17 21:53:27 +05:30
|
|
|
milestone_id: 0
|
|
|
|
priority: 0
|
2021-08-14 02:17:25 +05:30
|
|
|
is_closed: false
|
|
|
|
is_pull: false
|
2022-10-17 21:53:27 +05:30
|
|
|
num_comments: 0
|
2021-08-14 02:17:25 +05:30
|
|
|
created_unix: 1602935696
|
|
|
|
updated_unix: 1602935696
|
2022-10-17 21:53:27 +05:30
|
|
|
is_locked: false
|
2022-05-16 15:19:17 +05:30
|
|
|
|
|
|
|
-
|
|
|
|
id: 16
|
|
|
|
repo_id: 32
|
|
|
|
index: 1
|
|
|
|
poster_id: 2
|
2022-10-17 21:53:27 +05:30
|
|
|
original_author_id: 0
|
2022-05-16 15:19:17 +05:30
|
|
|
name: just a normal issue
|
|
|
|
content: content
|
2022-10-17 21:53:27 +05:30
|
|
|
milestone_id: 0
|
|
|
|
priority: 0
|
2022-05-16 15:19:17 +05:30
|
|
|
is_closed: false
|
|
|
|
is_pull: false
|
2022-10-17 21:53:27 +05:30
|
|
|
num_comments: 0
|
2022-05-16 15:19:17 +05:30
|
|
|
created_unix: 1602935696
|
|
|
|
updated_unix: 1602935696
|
2022-10-17 21:53:27 +05:30
|
|
|
is_locked: false
|
2022-05-16 15:19:17 +05:30
|
|
|
|
|
|
|
-
|
|
|
|
id: 17
|
|
|
|
repo_id: 32
|
|
|
|
index: 2
|
|
|
|
poster_id: 15
|
2022-10-17 21:53:27 +05:30
|
|
|
original_author_id: 0
|
2022-05-16 15:19:17 +05:30
|
|
|
name: a issue with a assignment
|
|
|
|
content: content
|
2022-10-17 21:53:27 +05:30
|
|
|
milestone_id: 0
|
|
|
|
priority: 0
|
2022-05-16 15:19:17 +05:30
|
|
|
is_closed: false
|
|
|
|
is_pull: false
|
2022-10-17 21:53:27 +05:30
|
|
|
num_comments: 0
|
2022-05-16 15:19:17 +05:30
|
|
|
created_unix: 1602935696
|
|
|
|
updated_unix: 1602935696
|
2022-10-17 21:53:27 +05:30
|
|
|
is_locked: false
|
Scoped labels (#22585)
Add a new "exclusive" option per label. This makes it so that when the
label is named `scope/name`, no other label with the same `scope/`
prefix can be set on an issue.
The scope is determined by the last occurence of `/`, so for example
`scope/alpha/name` and `scope/beta/name` are considered to be in
different scopes and can coexist.
Exclusive scopes are not enforced by any database rules, however they
are enforced when editing labels at the models level, automatically
removing any existing labels in the same scope when either attaching a
new label or replacing all labels.
In menus use a circle instead of checkbox to indicate they function as
radio buttons per scope. Issue filtering by label ensures that only a
single scoped label is selected at a time. Clicking with alt key can be
used to remove a scoped label, both when editing individual issues and
batch editing.
Label rendering refactor for consistency and code simplification:
* Labels now consistently have the same shape, emojis and tooltips
everywhere. This includes the label list and label assignment menus.
* In label list, show description below label same as label menus.
* Don't use exactly black/white text colors to look a bit nicer.
* Simplify text color computation. There is no point computing luminance
in linear color space, as this is a perceptual problem and sRGB is
closer to perceptually linear.
* Increase height of label assignment menus to show more labels. Showing
only 3-4 labels at a time leads to a lot of scrolling.
* Render all labels with a new RenderLabel template helper function.
Label creation and editing in multiline modal menu:
* Change label creation to open a modal menu like label editing.
* Change menu layout to place name, description and colors on separate
lines.
* Don't color cancel button red in label editing modal menu.
* Align text to the left in model menu for better readability and
consistent with settings layout elsewhere.
Custom exclusive scoped label rendering:
* Display scoped label prefix and suffix with slightly darker and
lighter background color respectively, and a slanted edge between them
similar to the `/` symbol.
* In menus exclusive labels are grouped with a divider line.
---------
Co-authored-by: Yarden Shoham <hrsi88@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
2023-02-19 00:47:39 +05:30
|
|
|
|
|
|
|
-
|
|
|
|
id: 18
|
|
|
|
repo_id: 55
|
|
|
|
index: 1
|
|
|
|
poster_id: 2
|
|
|
|
original_author_id: 0
|
|
|
|
name: issue for scoped labels
|
|
|
|
content: content
|
|
|
|
milestone_id: 0
|
|
|
|
priority: 0
|
|
|
|
is_closed: false
|
|
|
|
is_pull: false
|
|
|
|
num_comments: 0
|
|
|
|
created_unix: 946684830
|
|
|
|
updated_unix: 978307200
|
|
|
|
is_locked: false
|
2023-07-29 00:48:12 +05:30
|
|
|
|
|
|
|
-
|
|
|
|
id: 19
|
|
|
|
repo_id: 58
|
|
|
|
index: 1
|
|
|
|
poster_id: 2
|
|
|
|
original_author_id: 0
|
|
|
|
name: issue for pr
|
|
|
|
content: content
|
|
|
|
milestone_id: 0
|
|
|
|
priority: 0
|
|
|
|
is_closed: false
|
|
|
|
is_pull: true
|
|
|
|
num_comments: 0
|
|
|
|
created_unix: 946684830
|
|
|
|
updated_unix: 978307200
|
|
|
|
is_locked: false
|
2023-09-21 17:29:50 +05:30
|
|
|
|
|
|
|
-
|
|
|
|
id: 20
|
|
|
|
repo_id: 23
|
|
|
|
index: 1
|
|
|
|
poster_id: 2
|
|
|
|
original_author_id: 0
|
|
|
|
name: issue for pr
|
|
|
|
content: content
|
|
|
|
milestone_id: 0
|
|
|
|
priority: 0
|
|
|
|
is_closed: false
|
|
|
|
is_pull: true
|
|
|
|
num_comments: 0
|
|
|
|
created_unix: 978307210
|
|
|
|
updated_unix: 978307210
|
|
|
|
is_locked: false
|
2024-02-24 18:08:43 +05:30
|
|
|
|
|
|
|
-
|
|
|
|
id: 21
|
|
|
|
repo_id: 60
|
|
|
|
index: 1
|
|
|
|
poster_id: 39
|
|
|
|
original_author_id: 0
|
|
|
|
name: repo60 pull1
|
|
|
|
content: content for the 1st issue
|
|
|
|
milestone_id: 0
|
|
|
|
priority: 0
|
|
|
|
is_closed: false
|
|
|
|
is_pull: true
|
|
|
|
num_comments: 0
|
|
|
|
created_unix: 1707270422
|
|
|
|
updated_unix: 1707270422
|
|
|
|
is_locked: false
|
|
|
|
|
|
|
|
-
|
|
|
|
id: 22
|
|
|
|
repo_id: 61
|
|
|
|
index: 1
|
|
|
|
poster_id: 40
|
|
|
|
original_author_id: 0
|
|
|
|
name: repo61 pull1
|
|
|
|
content: content for the 1st issue
|
|
|
|
milestone_id: 0
|
|
|
|
priority: 0
|
|
|
|
is_closed: false
|
|
|
|
is_pull: true
|
|
|
|
num_comments: 0
|
|
|
|
created_unix: 1707270422
|
|
|
|
updated_unix: 1707270422
|
|
|
|
is_locked: false
|