@kineticdata/bundle-queue 6.1.0 → 6.1.1
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/README.md +59 -59
- package/assets/styles/_assignments.scss +59 -59
- package/assets/styles/_list-group.scss +20 -20
- package/assets/styles/_queue_item_details.scss +110 -110
- package/assets/styles/_queue_list.scss +379 -379
- package/assets/styles/_status.scss +44 -44
- package/assets/styles/_submissions.scss +123 -123
- package/assets/styles/_temp.scss +9 -9
- package/assets/styles/master.scss +14 -14
- package/lib/components/settings/forms/Export.js +2 -2
- package/lib/redux/modules/queueApp.js +4 -4
- package/package.json +5 -6
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
2
|
-
* Status ~ Queue
|
|
3
|
-
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
|
4
|
-
|
|
5
|
-
.status-reason {
|
|
6
|
-
font-weight: 400;
|
|
7
|
-
font-style: italic;
|
|
8
|
-
}
|
|
9
|
-
.status-content {
|
|
10
|
-
display: flex;
|
|
11
|
-
flex: 0 0 auto;
|
|
12
|
-
font-size: 1rem;
|
|
13
|
-
&--is-active {
|
|
14
|
-
}
|
|
15
|
-
p {
|
|
16
|
-
margin: 0;
|
|
17
|
-
padding: 0;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
.submission__meta {
|
|
21
|
-
display: flex;
|
|
22
|
-
align-items: center;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.submission-status {
|
|
26
|
-
font-weight: 600;
|
|
27
|
-
font-size: 0.75rem;
|
|
28
|
-
text-transform: uppercase;
|
|
29
|
-
margin: 0;
|
|
30
|
-
line-height: 1.0625rem;
|
|
31
|
-
padding: 0.125rem 0.625rem;
|
|
32
|
-
border-radius: 1rem;
|
|
33
|
-
color: $gray80;
|
|
34
|
-
&--reason {
|
|
35
|
-
color: darken($blue-sky, 12);
|
|
36
|
-
font-size: 0.875rem;
|
|
37
|
-
margin-left: 6px;
|
|
38
|
-
overflow: hidden;
|
|
39
|
-
text-overflow: ellipsis;
|
|
40
|
-
text-transform: none;
|
|
41
|
-
white-space: nowrap;
|
|
42
|
-
flex: 1;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
1
|
+
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
2
|
+
* Status ~ Queue
|
|
3
|
+
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
|
4
|
+
|
|
5
|
+
.status-reason {
|
|
6
|
+
font-weight: 400;
|
|
7
|
+
font-style: italic;
|
|
8
|
+
}
|
|
9
|
+
.status-content {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex: 0 0 auto;
|
|
12
|
+
font-size: 1rem;
|
|
13
|
+
&--is-active {
|
|
14
|
+
}
|
|
15
|
+
p {
|
|
16
|
+
margin: 0;
|
|
17
|
+
padding: 0;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
.submission__meta {
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.submission-status {
|
|
26
|
+
font-weight: 600;
|
|
27
|
+
font-size: 0.75rem;
|
|
28
|
+
text-transform: uppercase;
|
|
29
|
+
margin: 0;
|
|
30
|
+
line-height: 1.0625rem;
|
|
31
|
+
padding: 0.125rem 0.625rem;
|
|
32
|
+
border-radius: 1rem;
|
|
33
|
+
color: $gray80;
|
|
34
|
+
&--reason {
|
|
35
|
+
color: darken($blue-sky, 12);
|
|
36
|
+
font-size: 0.875rem;
|
|
37
|
+
margin-left: 6px;
|
|
38
|
+
overflow: hidden;
|
|
39
|
+
text-overflow: ellipsis;
|
|
40
|
+
text-transform: none;
|
|
41
|
+
white-space: nowrap;
|
|
42
|
+
flex: 1;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -1,123 +1,123 @@
|
|
|
1
|
-
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
2
|
-
* Submissions ~ Queue
|
|
3
|
-
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
|
4
|
-
.submissions {
|
|
5
|
-
// This represents the overall submission "card" in the queue list view.
|
|
6
|
-
.submission {
|
|
7
|
-
border-bottom: 1px solid $gray-200;
|
|
8
|
-
color: $blue-lake;
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-direction: row;
|
|
11
|
-
flex-wrap: nowrap;
|
|
12
|
-
align-items: flex-start;
|
|
13
|
-
padding: 1.125rem 1.5rem;
|
|
14
|
-
user-select: none;
|
|
15
|
-
@include setBgColorAndHover($white);
|
|
16
|
-
&.selection {
|
|
17
|
-
&:hover {
|
|
18
|
-
background-color: rgba($info, 0.03);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
&.selected {
|
|
22
|
-
background-color: rgba($info, 0.05);
|
|
23
|
-
&:hover {
|
|
24
|
-
background-color: rgba($info, 0.07);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
&.selection-disabled {
|
|
28
|
-
> * {
|
|
29
|
-
cursor: default;
|
|
30
|
-
}
|
|
31
|
-
background-color: $gray-100;
|
|
32
|
-
&:hover {
|
|
33
|
-
background-color: $gray-100;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
// This is the details part of the card.
|
|
37
|
-
&:last-child {
|
|
38
|
-
border-bottom: none;
|
|
39
|
-
}
|
|
40
|
-
&-summary {
|
|
41
|
-
flex: 1 0 100%;
|
|
42
|
-
text-decoration: none;
|
|
43
|
-
}
|
|
44
|
-
&__title {
|
|
45
|
-
color: $gray-800;
|
|
46
|
-
font-size: 1.125rem;
|
|
47
|
-
font-weight: 600;
|
|
48
|
-
margin: 0.25rem 0;
|
|
49
|
-
line-height: 1.5rem;
|
|
50
|
-
}
|
|
51
|
-
&__meta {
|
|
52
|
-
font-size: 0.875rem;
|
|
53
|
-
line-height: 1.3125rem;
|
|
54
|
-
margin-bottom: 0;
|
|
55
|
-
color: $gray-600;
|
|
56
|
-
display: flex;
|
|
57
|
-
align-items: center;
|
|
58
|
-
.selection-toggle {
|
|
59
|
-
display: flex;
|
|
60
|
-
justify-content: center;
|
|
61
|
-
align-items: center;
|
|
62
|
-
margin-right: 0.5rem;
|
|
63
|
-
font-size: 1.0625rem;
|
|
64
|
-
&:before {
|
|
65
|
-
content: '\f096';
|
|
66
|
-
}
|
|
67
|
-
&.checked {
|
|
68
|
-
color: $info;
|
|
69
|
-
&:before {
|
|
70
|
-
content: '\f046';
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
&.disabled {
|
|
74
|
-
color: $gray-500;
|
|
75
|
-
&:after {
|
|
76
|
-
color: $danger;
|
|
77
|
-
content: '\f00d';
|
|
78
|
-
position: absolute;
|
|
79
|
-
font-size: 0.65em;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
&:hover .submission__meta {
|
|
85
|
-
.selection-toggle:not(.disabled) {
|
|
86
|
-
color: rgba($info, 0.89);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
&__handler,
|
|
90
|
-
&__assignment {
|
|
91
|
-
margin-left: 1rem;
|
|
92
|
-
overflow: hidden;
|
|
93
|
-
text-overflow: ellipsis;
|
|
94
|
-
text-transform: none;
|
|
95
|
-
white-space: nowrap;
|
|
96
|
-
flex-grow: 0;
|
|
97
|
-
}
|
|
98
|
-
&__timestamps {
|
|
99
|
-
display: flex;
|
|
100
|
-
flex-direction: row;
|
|
101
|
-
flex-wrap: wrap;
|
|
102
|
-
|
|
103
|
-
.list-group-item {
|
|
104
|
-
padding: 0;
|
|
105
|
-
color: $gray-600;
|
|
106
|
-
background-color: transparent;
|
|
107
|
-
font-weight: 400;
|
|
108
|
-
font-size: 0.875rem;
|
|
109
|
-
&:not(:last-child):after {
|
|
110
|
-
content: '\2022';
|
|
111
|
-
color: $gray-600;
|
|
112
|
-
margin: 0 0.3125rem;
|
|
113
|
-
}
|
|
114
|
-
.time-ago__text {
|
|
115
|
-
color: $link-color;
|
|
116
|
-
&:hover {
|
|
117
|
-
text-decoration: underline;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
1
|
+
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
2
|
+
* Submissions ~ Queue
|
|
3
|
+
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
|
4
|
+
.submissions {
|
|
5
|
+
// This represents the overall submission "card" in the queue list view.
|
|
6
|
+
.submission {
|
|
7
|
+
border-bottom: 1px solid $gray-200;
|
|
8
|
+
color: $blue-lake;
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: row;
|
|
11
|
+
flex-wrap: nowrap;
|
|
12
|
+
align-items: flex-start;
|
|
13
|
+
padding: 1.125rem 1.5rem;
|
|
14
|
+
user-select: none;
|
|
15
|
+
@include setBgColorAndHover($white);
|
|
16
|
+
&.selection {
|
|
17
|
+
&:hover {
|
|
18
|
+
background-color: rgba($info, 0.03);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
&.selected {
|
|
22
|
+
background-color: rgba($info, 0.05);
|
|
23
|
+
&:hover {
|
|
24
|
+
background-color: rgba($info, 0.07);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
&.selection-disabled {
|
|
28
|
+
> * {
|
|
29
|
+
cursor: default;
|
|
30
|
+
}
|
|
31
|
+
background-color: $gray-100;
|
|
32
|
+
&:hover {
|
|
33
|
+
background-color: $gray-100;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
// This is the details part of the card.
|
|
37
|
+
&:last-child {
|
|
38
|
+
border-bottom: none;
|
|
39
|
+
}
|
|
40
|
+
&-summary {
|
|
41
|
+
flex: 1 0 100%;
|
|
42
|
+
text-decoration: none;
|
|
43
|
+
}
|
|
44
|
+
&__title {
|
|
45
|
+
color: $gray-800;
|
|
46
|
+
font-size: 1.125rem;
|
|
47
|
+
font-weight: 600;
|
|
48
|
+
margin: 0.25rem 0;
|
|
49
|
+
line-height: 1.5rem;
|
|
50
|
+
}
|
|
51
|
+
&__meta {
|
|
52
|
+
font-size: 0.875rem;
|
|
53
|
+
line-height: 1.3125rem;
|
|
54
|
+
margin-bottom: 0;
|
|
55
|
+
color: $gray-600;
|
|
56
|
+
display: flex;
|
|
57
|
+
align-items: center;
|
|
58
|
+
.selection-toggle {
|
|
59
|
+
display: flex;
|
|
60
|
+
justify-content: center;
|
|
61
|
+
align-items: center;
|
|
62
|
+
margin-right: 0.5rem;
|
|
63
|
+
font-size: 1.0625rem;
|
|
64
|
+
&:before {
|
|
65
|
+
content: '\f096';
|
|
66
|
+
}
|
|
67
|
+
&.checked {
|
|
68
|
+
color: $info;
|
|
69
|
+
&:before {
|
|
70
|
+
content: '\f046';
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
&.disabled {
|
|
74
|
+
color: $gray-500;
|
|
75
|
+
&:after {
|
|
76
|
+
color: $danger;
|
|
77
|
+
content: '\f00d';
|
|
78
|
+
position: absolute;
|
|
79
|
+
font-size: 0.65em;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
&:hover .submission__meta {
|
|
85
|
+
.selection-toggle:not(.disabled) {
|
|
86
|
+
color: rgba($info, 0.89);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
&__handler,
|
|
90
|
+
&__assignment {
|
|
91
|
+
margin-left: 1rem;
|
|
92
|
+
overflow: hidden;
|
|
93
|
+
text-overflow: ellipsis;
|
|
94
|
+
text-transform: none;
|
|
95
|
+
white-space: nowrap;
|
|
96
|
+
flex-grow: 0;
|
|
97
|
+
}
|
|
98
|
+
&__timestamps {
|
|
99
|
+
display: flex;
|
|
100
|
+
flex-direction: row;
|
|
101
|
+
flex-wrap: wrap;
|
|
102
|
+
|
|
103
|
+
.list-group-item {
|
|
104
|
+
padding: 0;
|
|
105
|
+
color: $gray-600;
|
|
106
|
+
background-color: transparent;
|
|
107
|
+
font-weight: 400;
|
|
108
|
+
font-size: 0.875rem;
|
|
109
|
+
&:not(:last-child):after {
|
|
110
|
+
content: '\2022';
|
|
111
|
+
color: $gray-600;
|
|
112
|
+
margin: 0 0.3125rem;
|
|
113
|
+
}
|
|
114
|
+
.time-ago__text {
|
|
115
|
+
color: $link-color;
|
|
116
|
+
&:hover {
|
|
117
|
+
text-decoration: underline;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
package/assets/styles/_temp.scss
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
2
|
-
* Temp ~ Queue
|
|
3
|
-
* -Used for development
|
|
4
|
-
* -Move css into appropriate sass files when ready
|
|
5
|
-
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
|
6
|
-
|
|
7
|
-
// .page-container {
|
|
8
|
-
// overflow: auto;
|
|
9
|
-
// }
|
|
1
|
+
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
2
|
+
* Temp ~ Queue
|
|
3
|
+
* -Used for development
|
|
4
|
+
* -Move css into appropriate sass files when ready
|
|
5
|
+
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
|
6
|
+
|
|
7
|
+
// .page-container {
|
|
8
|
+
// overflow: auto;
|
|
9
|
+
// }
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
2
|
-
* kinops Queue
|
|
3
|
-
* Copyright (c) 2017 - 2019 Kinetic Data, Inc.
|
|
4
|
-
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
|
5
|
-
|
|
6
|
-
.package--queue {
|
|
7
|
-
@import 'list-group';
|
|
8
|
-
@import 'submissions';
|
|
9
|
-
@import 'queue_list';
|
|
10
|
-
@import 'status';
|
|
11
|
-
@import 'queue_item_details';
|
|
12
|
-
@import 'assignments';
|
|
13
|
-
@import 'temp';
|
|
14
|
-
}
|
|
1
|
+
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
2
|
+
* kinops Queue
|
|
3
|
+
* Copyright (c) 2017 - 2019 Kinetic Data, Inc.
|
|
4
|
+
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
|
5
|
+
|
|
6
|
+
.package--queue {
|
|
7
|
+
@import 'list-group';
|
|
8
|
+
@import 'submissions';
|
|
9
|
+
@import 'queue_list';
|
|
10
|
+
@import 'status';
|
|
11
|
+
@import 'queue_item_details';
|
|
12
|
+
@import 'assignments';
|
|
13
|
+
@import 'temp';
|
|
14
|
+
}
|
|
@@ -47,8 +47,8 @@ function createCSV(submissions, form) {
|
|
|
47
47
|
// Create csv string that will be used for download
|
|
48
48
|
return _papaparse["default"].unparse(submissions.reduce(function (acc, submission) {
|
|
49
49
|
var submissionValues = submission.values;
|
|
50
|
-
/** Because of the parser use the fields currently on the form to build the csv string.
|
|
51
|
-
* This will exclude fields (from the csv) that existed on the form but have been removed.
|
|
50
|
+
/** Because of the parser use the fields currently on the form to build the csv string.
|
|
51
|
+
* This will exclude fields (from the csv) that existed on the form but have been removed.
|
|
52
52
|
*/
|
|
53
53
|
form.fields.forEach(function (field) {
|
|
54
54
|
// If older submissions don't have a new field then add it with a value of null.
|
|
@@ -123,10 +123,10 @@ var selectAssignments = exports.selectAssignments = function selectAssignments()
|
|
|
123
123
|
return mapTeamsToAssignments(selectAssignmentTeams.apply(void 0, arguments));
|
|
124
124
|
};
|
|
125
125
|
|
|
126
|
-
/*
|
|
127
|
-
*
|
|
128
|
-
* Mine (only assigned to me)
|
|
129
|
-
* Unassigned (assigned to one of my teams but not to an individual)
|
|
126
|
+
/*
|
|
127
|
+
*
|
|
128
|
+
* Mine (only assigned to me)
|
|
129
|
+
* Unassigned (assigned to one of my teams but not to an individual)
|
|
130
130
|
*/
|
|
131
131
|
|
|
132
132
|
var State = exports.State = (0, _immutable.Record)({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kineticdata/bundle-queue",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.1",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"assets",
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"prepublishOnly": "yarn build"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@kineticdata/bundle-common": "6.1.
|
|
20
|
-
"@kineticdata/react": "6.1.
|
|
19
|
+
"@kineticdata/bundle-common": "6.1.1",
|
|
20
|
+
"@kineticdata/react": "6.1.1",
|
|
21
21
|
"@reach/router": "https://github.com/kineticdata/router.git",
|
|
22
|
-
"axios": "^
|
|
22
|
+
"axios": "^1.8.3",
|
|
23
23
|
"bootstrap": "^4.3.1",
|
|
24
24
|
"classnames": "^2.2.5",
|
|
25
25
|
"downloadjs": "^1.4.7",
|
|
@@ -53,6 +53,5 @@
|
|
|
53
53
|
}
|
|
54
54
|
]
|
|
55
55
|
]
|
|
56
|
-
}
|
|
57
|
-
"gitHead": "8ba251942ef9bd4e37a56d680afc6ff95fde4543"
|
|
56
|
+
}
|
|
58
57
|
}
|