wuffle 0.71.0 → 0.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/lib/apps/board-api-routes/board-api-filters.js +16 -8
- package/lib/apps/github-reviews/GithubReviews.js +4 -2
- package/lib/apps/search/Search.js +81 -26
- package/lib/apps/store-filter.js +31 -0
- package/lib/filters.js +12 -6
- package/lib/index.js +2 -1
- package/lib/store.js +25 -1
- package/package.json +6 -5
- package/public/bundle.js +1 -1
- package/public/bundle.js.map +1 -1
- package/wuffle.config.example.js +44 -34
package/wuffle.config.example.js
CHANGED
|
@@ -1,44 +1,36 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This defines board specific configuration.
|
|
3
|
-
*
|
|
4
|
-
* ### Name
|
|
5
|
-
*
|
|
6
|
-
* The name of your board, displayed in the board header.
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* ### Description
|
|
10
|
-
*
|
|
11
|
-
* Optional description of the board, will be served with the board front-end
|
|
12
|
-
* for SEO purposes.
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* ### Columns
|
|
16
|
-
*
|
|
17
|
-
* Valid fields for columns are
|
|
18
|
-
*
|
|
19
|
-
* * name - unique name
|
|
20
|
-
* * label - label, if present on a GitHub issue column will be set
|
|
21
|
-
* * closed - if the column issues must be closed
|
|
22
|
-
* * sorting - true if column cards should be sorted
|
|
23
|
-
* incrementally based on links
|
|
24
|
-
* * fifo - true to turn the default column ordering from
|
|
25
|
-
* last in first out to first in first out
|
|
26
|
-
* * states - a list of board states to map to this column
|
|
27
|
-
*
|
|
28
|
-
* The default column is the column that holds open issues without
|
|
29
|
-
* any label constraints (Inbox in the example below).
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* ### Search Config
|
|
33
|
-
*
|
|
34
|
-
* You may define a default filter to apply to the board if
|
|
35
|
-
* there is no user-defined search query.
|
|
36
3
|
*/
|
|
37
4
|
export default {
|
|
38
5
|
|
|
6
|
+
/**
|
|
7
|
+
* The name of your board, displayed in the board header.
|
|
8
|
+
*/
|
|
39
9
|
name: 'My Wuffle Board',
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* (Optional) description of the board, will be served with the board
|
|
13
|
+
* front-end for SEO purposes.
|
|
14
|
+
*/
|
|
40
15
|
description: 'This board organizes all my tasks',
|
|
41
16
|
|
|
17
|
+
/**
|
|
18
|
+
* Definitions of columns to display on the board, and their state.
|
|
19
|
+
*
|
|
20
|
+
* Valid fields for columns are
|
|
21
|
+
*
|
|
22
|
+
* * name - unique name
|
|
23
|
+
* * label - label, if present on a GitHub issue column will be set
|
|
24
|
+
* * closed - if the column issues must be closed
|
|
25
|
+
* * sorting - true if column cards should be sorted
|
|
26
|
+
* incrementally based on links
|
|
27
|
+
* * fifo - true to turn the default column ordering from
|
|
28
|
+
* last in first out to first in first out
|
|
29
|
+
* * states - a list of board states to map to this column
|
|
30
|
+
*
|
|
31
|
+
* The default column is the column that holds open issues without
|
|
32
|
+
* any label constraints (Inbox in the example below).
|
|
33
|
+
*/
|
|
42
34
|
columns: [
|
|
43
35
|
{ name: 'Inbox', label: null },
|
|
44
36
|
{ name: 'Backlog', label: 'backlog', sorting: true },
|
|
@@ -48,5 +40,23 @@ export default {
|
|
|
48
40
|
{ name: 'Done', label: null, closed: true }
|
|
49
41
|
],
|
|
50
42
|
|
|
51
|
-
|
|
43
|
+
/**
|
|
44
|
+
* (Optional) default filter to apply to the board if there is no
|
|
45
|
+
* user-defined search query.
|
|
46
|
+
*/
|
|
47
|
+
defaultFilter: '!repo:"some/ignored-repository"',
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* (Optional) Filter matching issues that shall not be saved.
|
|
51
|
+
*
|
|
52
|
+
* Matching issues will not be added. If they were previously on the board
|
|
53
|
+
* they will be removed as part of an update.
|
|
54
|
+
*/
|
|
55
|
+
ignoreFilter: 'label:"invalid"',
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Whether or not bots are treated as legitimate reviewers, for review and
|
|
59
|
+
* approval queries. Defaults to `false`.
|
|
60
|
+
*/
|
|
61
|
+
treatBotsAsReviewers: false
|
|
52
62
|
};
|