Skip to content

Commit 35856da

Browse files
authored
Merge pull request #148 from tstromberg/relnotes
Update release notes & docs for v1.2.0-beta.2
2 parents 569782c + 8cdb77e commit 35856da

File tree

4 files changed

+49
-13
lines changed

4 files changed

+49
-13
lines changed

CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Release Notes
22

3+
## Version 1.2.0-beta.2 - 2020-06-17
4+
5+
Multiple improvements to the new Kanban display feature:
6+
7+
* Improve reaction count display [#147](https://github.com/google/triage-party/pull/147)
8+
* Improve how Kanban is handled for unconfigured collections [#146](https://github.com/google/triage-party/pull/146)
9+
* Improve Kanban dashboard milestone handling & UI [#142](https://github.com/google/triage-party/pull/142)
10+
* Make timeline cache date calculation smarter [#141](https://github.com/google/triage-party/pull/141)
11+
* site: Make relative times more specific [#137](https://github.com/google/triage-party/pull/137)
12+
* Ensure that referenced PR's are the same age of parent issue [#136](https://github.com/google/triage-party/pull/136)
13+
314
## Version 1.2.0-beta.1 - 2020-06-10
415

516
* Add Kanban visualization support (display: kanban) [#125](https://github.com/google/triage-party/pull/125)

README.md

+9-11
Original file line numberDiff line numberDiff line change
@@ -94,21 +94,19 @@ NOTE: Multi-player works best if the "Resolution" field of each rule has a clear
9494

9595
## Kanban mode (NEW)
9696

97-
In v1.2.0-beta.1 and newer, you can see a Kanban dashboard presentation for a collection. The columns are based on the rule the issue was found in, and the rows are based on the assignee. To see a real-world example:
97+
![kanban mode](docs/images/kanban.png)
9898

99-
* [minikube kanban dashboard](http://tinyurl.com/minikube-kanban)
100-
* [minikube kanban config](https://github.com/google/triage-party/blob/0ad4f584ac0db13a96548d3eca9d05e91e0b1a40/config/examples/minikube.yaml#L108)
101-
102-
CAVEATS: In v1.2.0-beta.1, the Kanban view only works for issues that are within a milestone. You'll need to add these configuration lines to the collection to make this view visable:
99+
In v1.2.0, pages can now be displayed as a Kanban dashboard. The columns are based on the rule the issue was fonud in, and the rows are swim-lanes based on the assignee. To see a real-world example:
103100

101+
* [minikube kanban dashboard](http://tinyurl.com/minikube-kanban)
102+
* [minikube kanban config](https://github.com/google/triage-party/blob/569782c961d66468e0def2d4f8b54acd104b02f4/config/examples/minikube.yaml#L111)
104103

105-
```
106-
display: kanban
107-
overflow: 3
108-
selector: milestone
109-
```
104+
Best practices for designing a useful Kanban dashboard:
110105

111-
You may also find `dedup: true` to be a useful configuration option. When v1.2.0 ships, all collections will be viewable as a Kanban dashboard using the /k/id URL path.
106+
* Rules should be designed and ordered in a way that represents progress: `Not started` -> `Started` -> `Under Review` -> `Completed`
107+
* Rules work best when they are mutually excusive (no issue matches multiple rules)
108+
* If a collection should be displayed in Kanban form by default, specify `display: kanban` in its configuration.
109+
* For velocity measurements and time estimate support, create a rule named `__velocity__` containing recently closed issues to include. See the example configuration.
112110

113111
## Data freshness
114112

docs/config.md

+29-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,17 @@ Triage Party includes with two example configurations that are useful to get sta
77
* [config](../config/config.yaml): uses label regular expressions that work for most GitHub projects
88
* [kubernetes](../config/examples/kubernetes.yaml): for projects that use Kubernetes-style labels, particularly prioritization
99

10+
## Settings
11+
12+
There are only a handful of site-wide settings worth mentioning:
13+
14+
* `name`: Name of the your Triage Party site
15+
* `min_similarity`: On a scale from 0-1, how similar do two titles need to be before they are labelled as similar. The default is 0 (disabled), but a useful setting is 0.75
16+
* `repos`: A list of repositories to query by default
17+
* `member-roles`: Which GitHub roles to consider as project members
18+
* `members`: A list of people to hard-code as members of the project
19+
20+
1021
## Collections
1122

1223
Each page within Triage Party is represented by a `collection`. Each collection references a list of `rules` that can be shared across collections. Here is a simple collection, which creates a page named `I like soup!`, containing two rules:
@@ -20,6 +31,15 @@ collections:
2031
- many-reactions
2132
```
2233
34+
### Settings
35+
36+
For collections, there are a few useful settings to mention:
37+
38+
* `description`: description shown for this collection
39+
* `dedup` (bool): whether to filter out duplicate issues/PR's that show up among multiple rules
40+
* `display`: whether to show this page as `kanban` or `default`
41+
* `overflow`: flag issues if there are issues within a Kanban cell above or equal to this number
42+
2343
## Rules
2444

2545
The first rule, `discuss`, include all items labelled as `triage/discuss`, whether they are pull requests or issues, open or closed.
@@ -110,16 +130,23 @@ Triage Party has an automatic tagging mechanism that adds annotations which can
110130
* `member-last`: a member of the organization was the last commenter
111131
* `author-last`: the original author was the last commenter
112132
* `assigned`: the issue or PR has been assigned to someone
133+
* `assignee-updated`: the issue has been updated by its assignee
113134
* `closed`: the issue or PR has been closed
135+
* `merged`: PR was merged
136+
* `draft`: PR is a draft PR
114137
* `similar`: the issue or PR appears to be similar to another
115-
* `new-commits`: the PR has new commits since the last member response
138+
* `open-milestone`: the issue or PR appears in an open milestone
116139

117140
To determine review state, we support the following tags:
118141

119142
* `approved`: Last review was an approval
120-
* `reviewed-with-comment`: Last review was a comment
121143
* `changes-requested`: Last review was a request for changes
144+
* `reviewed-with-comment`: Last review was a comment
145+
* `new-commits`: the PR has new commits since the last member response
122146
* `unreviewed`: PR has never been reviewed
123147
* `pushed-after-approval`: PR was pushed to after approval
124148

125149
The afforementioned PR review tags are also added to linked issues, though with a `pr-` prefix. For instance, `pr-approved`.
150+
151+
## Display configuration
152+

docs/images/kanban.png

155 KB
Loading

0 commit comments

Comments
 (0)