@outliant/sunrise-utils 1.1.20 → 1.1.21
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/CHANGELOG.md
CHANGED
|
@@ -4,9 +4,16 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
+
#### [1.1.21](https://github.com/outliant/sunrise-utils/compare/1.1.20...1.1.21)
|
|
8
|
+
|
|
9
|
+
- chore: sticky filters updates #86azcbz94 [`#27`](https://github.com/outliant/sunrise-utils/pull/27)
|
|
10
|
+
|
|
7
11
|
#### [1.1.20](https://github.com/outliant/sunrise-utils/compare/1.1.19...1.1.20)
|
|
8
12
|
|
|
13
|
+
> 2 February 2024
|
|
14
|
+
|
|
9
15
|
- chore: add default project and tasks sticky filter setting #866a4ga0a [`#26`](https://github.com/outliant/sunrise-utils/pull/26)
|
|
16
|
+
- chore(release): 1.1.20 [`d55e6a4`](https://github.com/outliant/sunrise-utils/commit/d55e6a4587dc214f3d84369ad0f7676e8ca01909)
|
|
10
17
|
|
|
11
18
|
#### [1.1.19](https://github.com/outliant/sunrise-utils/compare/1.1.18...1.1.19)
|
|
12
19
|
|
|
@@ -102,9 +102,7 @@ module.exports.defaultCustomColumns = [
|
|
|
102
102
|
];
|
|
103
103
|
|
|
104
104
|
module.exports.defaultFilterSetting = {
|
|
105
|
-
search: '',
|
|
106
105
|
filters: [],
|
|
107
|
-
queries: {},
|
|
108
106
|
columns: [
|
|
109
107
|
'project_id',
|
|
110
108
|
'created_at',
|
|
@@ -112,13 +110,11 @@ module.exports.defaultFilterSetting = {
|
|
|
112
110
|
'region',
|
|
113
111
|
'lastPulseComment'
|
|
114
112
|
],
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
}
|
|
121
|
-
]
|
|
113
|
+
queries: {
|
|
114
|
+
sort: 'desc',
|
|
115
|
+
sortBy: 'created_at',
|
|
116
|
+
text: 'Create At'
|
|
117
|
+
}
|
|
122
118
|
};
|
|
123
119
|
|
|
124
120
|
module.exports.buildProjectPipelineFilter = (filter) => {
|
|
@@ -247,8 +247,6 @@ module.exports.defaultTaskFilter = {
|
|
|
247
247
|
};
|
|
248
248
|
|
|
249
249
|
module.exports.defaultFilterSetting = {
|
|
250
|
-
search: '',
|
|
251
|
-
queries: {},
|
|
252
250
|
filters: [
|
|
253
251
|
{
|
|
254
252
|
condition: 'is_equal',
|
|
@@ -267,13 +265,11 @@ module.exports.defaultFilterSetting = {
|
|
|
267
265
|
'last_comment',
|
|
268
266
|
'last_comment_date'
|
|
269
267
|
],
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
}
|
|
276
|
-
]
|
|
268
|
+
queries: {
|
|
269
|
+
sort: 'asc',
|
|
270
|
+
sortBy: 'ready_at',
|
|
271
|
+
text: 'Age'
|
|
272
|
+
}
|
|
277
273
|
};
|
|
278
274
|
|
|
279
275
|
module.exports.buildTaskPipelineFilter = (filter) => {
|
package/package.json
CHANGED
|
@@ -195,9 +195,7 @@ describe('projectPipeline', function () {
|
|
|
195
195
|
describe('defaultFilterSetting', () => {
|
|
196
196
|
it('should be equal to default project filter setting', () => {
|
|
197
197
|
expect(projectPipeline.defaultFilterSetting).to.be.deep.equal({
|
|
198
|
-
search: '',
|
|
199
198
|
filters: [],
|
|
200
|
-
queries: {},
|
|
201
199
|
columns: [
|
|
202
200
|
'project_id',
|
|
203
201
|
'created_at',
|
|
@@ -205,13 +203,11 @@ describe('projectPipeline', function () {
|
|
|
205
203
|
'region',
|
|
206
204
|
'lastPulseComment'
|
|
207
205
|
],
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
}
|
|
214
|
-
]
|
|
206
|
+
queries: {
|
|
207
|
+
sort: 'desc',
|
|
208
|
+
sortBy: 'created_at',
|
|
209
|
+
text: 'Create At'
|
|
210
|
+
}
|
|
215
211
|
});
|
|
216
212
|
});
|
|
217
213
|
});
|
|
@@ -585,7 +585,6 @@ describe('taskPipeline', function () {
|
|
|
585
585
|
describe('defaultFilterSetting', () => {
|
|
586
586
|
it('should be equal to default task filter setting', () => {
|
|
587
587
|
expect(taskPipeline.defaultFilterSetting).to.be.deep.equal({
|
|
588
|
-
search: '',
|
|
589
588
|
queries: {},
|
|
590
589
|
filters: [
|
|
591
590
|
{
|
|
@@ -605,13 +604,11 @@ describe('taskPipeline', function () {
|
|
|
605
604
|
'last_comment',
|
|
606
605
|
'last_comment_date'
|
|
607
606
|
],
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
}
|
|
614
|
-
]
|
|
607
|
+
queries: {
|
|
608
|
+
sort: 'asc',
|
|
609
|
+
sortBy: 'ready_at',
|
|
610
|
+
text: 'Age'
|
|
611
|
+
}
|
|
615
612
|
});
|
|
616
613
|
});
|
|
617
614
|
});
|