@atlaskit/feedback-collector 16.9.0 → 16.9.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/CHANGELOG.md +8 -0
- package/dist/cjs/components/FeedbackCollector.js +1 -1
- package/dist/cjs/components/FeedbackForm.js +4 -4
- package/dist/cjs/messages.js +0 -20
- package/dist/es2019/components/FeedbackCollector.js +1 -1
- package/dist/es2019/components/FeedbackForm.js +4 -4
- package/dist/es2019/messages.js +0 -20
- package/dist/esm/components/FeedbackCollector.js +1 -1
- package/dist/esm/components/FeedbackForm.js +4 -4
- package/dist/esm/messages.js +0 -20
- package/dist/types/messages.d.ts +0 -20
- package/package.json +6 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/feedback-collector
|
|
2
2
|
|
|
3
|
+
## 16.9.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`2543c8b0416d7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2543c8b0416d7) -
|
|
8
|
+
Cleanup feature gate `fun-2435_improve_feedback_collector_copy`. The contact opt-in checkbox
|
|
9
|
+
always uses the copy explaining that consent is required to receive a reply.
|
|
10
|
+
|
|
3
11
|
## 16.9.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -164,7 +164,7 @@ var FeedbackCollector = exports.default = /*#__PURE__*/function (_Component) {
|
|
|
164
164
|
}, {
|
|
165
165
|
key: "getPackageVersion",
|
|
166
166
|
value: function getPackageVersion() {
|
|
167
|
-
return "16.
|
|
167
|
+
return "16.9.0" || 'Unknown, at least 11.0.0';
|
|
168
168
|
}
|
|
169
169
|
}, {
|
|
170
170
|
key: "getEntitlementInformation",
|
|
@@ -155,15 +155,15 @@ var FeedbackForm = function FeedbackForm(_ref2) {
|
|
|
155
155
|
var selectOptions = customFeedbackOptions.length > 0 ? customFeedbackOptions : getSelectOptions(feedbackGroupLabels);
|
|
156
156
|
var renderContactLabelAppify = function renderContactLabelAppify() {
|
|
157
157
|
if ((0, _platformFeatureFlags.fg)('jfp_a11y_team_feedback_collector_nested_elements')) {
|
|
158
|
-
return
|
|
158
|
+
return _messages.messages.canBeContactedLabelAppifyWithResponseWithoutLink;
|
|
159
159
|
}
|
|
160
|
-
return
|
|
160
|
+
return _messages.messages.canBeContactedLabelAppifyWithResponse;
|
|
161
161
|
};
|
|
162
162
|
var renderContactLabel = function renderContactLabel() {
|
|
163
163
|
if ((0, _platformFeatureFlags.fg)('jfp_a11y_team_feedback_collector_nested_elements')) {
|
|
164
|
-
return
|
|
164
|
+
return _messages.messages.canBeContactedLabelWithResponseWithoutLink;
|
|
165
165
|
}
|
|
166
|
-
return
|
|
166
|
+
return _messages.messages.canBeContactedLabelWithResponse;
|
|
167
167
|
};
|
|
168
168
|
var requiredFieldsSummary =
|
|
169
169
|
/*#__PURE__*/
|
package/dist/cjs/messages.js
CHANGED
|
@@ -16,16 +16,6 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
16
16
|
defaultMessage: "I'd like to participate in product research",
|
|
17
17
|
description: 'The checkbox label letting users enrol themselves in future product research interviews'
|
|
18
18
|
},
|
|
19
|
-
canBeContactedLabel: {
|
|
20
|
-
id: 'feedback-collector.can-be-contacted.label',
|
|
21
|
-
defaultMessage: 'Yes, Atlassian teams can contact me to learn about my experiences to improve Atlassian products and services. I acknowledge the <a>Atlassian Privacy Policy</a>.',
|
|
22
|
-
description: 'The checkbox label to give consent to be contacted about their feedback'
|
|
23
|
-
},
|
|
24
|
-
canBeContactedLabelWithoutLink: {
|
|
25
|
-
id: 'feedback-collector.can-be-contacted.label-without-link',
|
|
26
|
-
defaultMessage: 'Yes, Atlassian teams can contact me to learn about my experiences to improve Atlassian products and services. I acknowledge the Atlassian Privacy Policy.',
|
|
27
|
-
description: 'The checkbox label to give consent to be contacted about their feedback'
|
|
28
|
-
},
|
|
29
19
|
canBeContactedLabelWithResponse: {
|
|
30
20
|
id: 'feedback-collector.can-be-contacted.label-with-response',
|
|
31
21
|
defaultMessage: "Yes, Atlassian teams can reply to my feedback and ask for more details about my experience to improve Atlassian products and services. Without this, I won't get a response. I acknowledge the <a>Atlassian Privacy Policy</a>.",
|
|
@@ -176,16 +166,6 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
176
166
|
defaultMessage: "What's on your mind?",
|
|
177
167
|
description: 'The textarea label where users can write their suggestion for custom feedback collector'
|
|
178
168
|
},
|
|
179
|
-
canBeContactedLabelAppify: {
|
|
180
|
-
id: 'feedback-collector.can-be-contacted.label-appify',
|
|
181
|
-
defaultMessage: 'Yes, Atlassian teams can contact me to learn about my experiences to improve Atlassian apps and services. I acknowledge the <a>Atlassian Privacy Policy</a>.',
|
|
182
|
-
description: 'The checkbox label to give consent to be contacted about their feedback'
|
|
183
|
-
},
|
|
184
|
-
canBeContactedLabelAppifyWithoutLink: {
|
|
185
|
-
id: 'feedback-collector.can-be-contacted.label-appify-without-link',
|
|
186
|
-
defaultMessage: 'Yes, Atlassian teams can contact me to learn about my experiences to improve Atlassian apps and services. I acknowledge the Atlassian Privacy Policy.',
|
|
187
|
-
description: 'The checkbox label to give consent to be contacted about their feedback'
|
|
188
|
-
},
|
|
189
169
|
canBeContactedLabelAppifyWithResponse: {
|
|
190
170
|
id: 'feedback-collector.can-be-contacted.label-appify-with-response',
|
|
191
171
|
defaultMessage: "Yes, Atlassian teams can reply to my feedback and ask for more details about my experience to improve Atlassian apps and services. Without this, I won't get a response. I acknowledge the <a>Atlassian Privacy Policy</a>.",
|
|
@@ -92,7 +92,7 @@ export default class FeedbackCollector extends Component {
|
|
|
92
92
|
return FeedbackCollector.defaultProps.url;
|
|
93
93
|
}
|
|
94
94
|
getPackageVersion() {
|
|
95
|
-
return "16.
|
|
95
|
+
return "16.9.0" || 'Unknown, at least 11.0.0';
|
|
96
96
|
}
|
|
97
97
|
async getEntitlementInformation() {
|
|
98
98
|
var _entitlementDetails, _entitlementDetails2, _productName, _entitlement, _productEntitlement;
|
|
@@ -116,15 +116,15 @@ const FeedbackForm = ({
|
|
|
116
116
|
const selectOptions = customFeedbackOptions.length > 0 ? customFeedbackOptions : getSelectOptions(feedbackGroupLabels);
|
|
117
117
|
const renderContactLabelAppify = () => {
|
|
118
118
|
if (fg('jfp_a11y_team_feedback_collector_nested_elements')) {
|
|
119
|
-
return
|
|
119
|
+
return messages.canBeContactedLabelAppifyWithResponseWithoutLink;
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return messages.canBeContactedLabelAppifyWithResponse;
|
|
122
122
|
};
|
|
123
123
|
const renderContactLabel = () => {
|
|
124
124
|
if (fg('jfp_a11y_team_feedback_collector_nested_elements')) {
|
|
125
|
-
return
|
|
125
|
+
return messages.canBeContactedLabelWithResponseWithoutLink;
|
|
126
126
|
}
|
|
127
|
-
return
|
|
127
|
+
return messages.canBeContactedLabelWithResponse;
|
|
128
128
|
};
|
|
129
129
|
const requiredFieldsSummary =
|
|
130
130
|
/*#__PURE__*/
|
package/dist/es2019/messages.js
CHANGED
|
@@ -10,16 +10,6 @@ export const messages = defineMessages({
|
|
|
10
10
|
defaultMessage: "I'd like to participate in product research",
|
|
11
11
|
description: 'The checkbox label letting users enrol themselves in future product research interviews'
|
|
12
12
|
},
|
|
13
|
-
canBeContactedLabel: {
|
|
14
|
-
id: 'feedback-collector.can-be-contacted.label',
|
|
15
|
-
defaultMessage: 'Yes, Atlassian teams can contact me to learn about my experiences to improve Atlassian products and services. I acknowledge the <a>Atlassian Privacy Policy</a>.',
|
|
16
|
-
description: 'The checkbox label to give consent to be contacted about their feedback'
|
|
17
|
-
},
|
|
18
|
-
canBeContactedLabelWithoutLink: {
|
|
19
|
-
id: 'feedback-collector.can-be-contacted.label-without-link',
|
|
20
|
-
defaultMessage: 'Yes, Atlassian teams can contact me to learn about my experiences to improve Atlassian products and services. I acknowledge the Atlassian Privacy Policy.',
|
|
21
|
-
description: 'The checkbox label to give consent to be contacted about their feedback'
|
|
22
|
-
},
|
|
23
13
|
canBeContactedLabelWithResponse: {
|
|
24
14
|
id: 'feedback-collector.can-be-contacted.label-with-response',
|
|
25
15
|
defaultMessage: "Yes, Atlassian teams can reply to my feedback and ask for more details about my experience to improve Atlassian products and services. Without this, I won't get a response. I acknowledge the <a>Atlassian Privacy Policy</a>.",
|
|
@@ -170,16 +160,6 @@ export const messages = defineMessages({
|
|
|
170
160
|
defaultMessage: "What's on your mind?",
|
|
171
161
|
description: 'The textarea label where users can write their suggestion for custom feedback collector'
|
|
172
162
|
},
|
|
173
|
-
canBeContactedLabelAppify: {
|
|
174
|
-
id: 'feedback-collector.can-be-contacted.label-appify',
|
|
175
|
-
defaultMessage: 'Yes, Atlassian teams can contact me to learn about my experiences to improve Atlassian apps and services. I acknowledge the <a>Atlassian Privacy Policy</a>.',
|
|
176
|
-
description: 'The checkbox label to give consent to be contacted about their feedback'
|
|
177
|
-
},
|
|
178
|
-
canBeContactedLabelAppifyWithoutLink: {
|
|
179
|
-
id: 'feedback-collector.can-be-contacted.label-appify-without-link',
|
|
180
|
-
defaultMessage: 'Yes, Atlassian teams can contact me to learn about my experiences to improve Atlassian apps and services. I acknowledge the Atlassian Privacy Policy.',
|
|
181
|
-
description: 'The checkbox label to give consent to be contacted about their feedback'
|
|
182
|
-
},
|
|
183
163
|
canBeContactedLabelAppifyWithResponse: {
|
|
184
164
|
id: 'feedback-collector.can-be-contacted.label-appify-with-response',
|
|
185
165
|
defaultMessage: "Yes, Atlassian teams can reply to my feedback and ask for more details about my experience to improve Atlassian apps and services. Without this, I won't get a response. I acknowledge the <a>Atlassian Privacy Policy</a>.",
|
|
@@ -155,7 +155,7 @@ var FeedbackCollector = /*#__PURE__*/function (_Component) {
|
|
|
155
155
|
}, {
|
|
156
156
|
key: "getPackageVersion",
|
|
157
157
|
value: function getPackageVersion() {
|
|
158
|
-
return "16.
|
|
158
|
+
return "16.9.0" || 'Unknown, at least 11.0.0';
|
|
159
159
|
}
|
|
160
160
|
}, {
|
|
161
161
|
key: "getEntitlementInformation",
|
|
@@ -146,15 +146,15 @@ var FeedbackForm = function FeedbackForm(_ref2) {
|
|
|
146
146
|
var selectOptions = customFeedbackOptions.length > 0 ? customFeedbackOptions : getSelectOptions(feedbackGroupLabels);
|
|
147
147
|
var renderContactLabelAppify = function renderContactLabelAppify() {
|
|
148
148
|
if (fg('jfp_a11y_team_feedback_collector_nested_elements')) {
|
|
149
|
-
return
|
|
149
|
+
return messages.canBeContactedLabelAppifyWithResponseWithoutLink;
|
|
150
150
|
}
|
|
151
|
-
return
|
|
151
|
+
return messages.canBeContactedLabelAppifyWithResponse;
|
|
152
152
|
};
|
|
153
153
|
var renderContactLabel = function renderContactLabel() {
|
|
154
154
|
if (fg('jfp_a11y_team_feedback_collector_nested_elements')) {
|
|
155
|
-
return
|
|
155
|
+
return messages.canBeContactedLabelWithResponseWithoutLink;
|
|
156
156
|
}
|
|
157
|
-
return
|
|
157
|
+
return messages.canBeContactedLabelWithResponse;
|
|
158
158
|
};
|
|
159
159
|
var requiredFieldsSummary =
|
|
160
160
|
/*#__PURE__*/
|
package/dist/esm/messages.js
CHANGED
|
@@ -10,16 +10,6 @@ export var messages = defineMessages({
|
|
|
10
10
|
defaultMessage: "I'd like to participate in product research",
|
|
11
11
|
description: 'The checkbox label letting users enrol themselves in future product research interviews'
|
|
12
12
|
},
|
|
13
|
-
canBeContactedLabel: {
|
|
14
|
-
id: 'feedback-collector.can-be-contacted.label',
|
|
15
|
-
defaultMessage: 'Yes, Atlassian teams can contact me to learn about my experiences to improve Atlassian products and services. I acknowledge the <a>Atlassian Privacy Policy</a>.',
|
|
16
|
-
description: 'The checkbox label to give consent to be contacted about their feedback'
|
|
17
|
-
},
|
|
18
|
-
canBeContactedLabelWithoutLink: {
|
|
19
|
-
id: 'feedback-collector.can-be-contacted.label-without-link',
|
|
20
|
-
defaultMessage: 'Yes, Atlassian teams can contact me to learn about my experiences to improve Atlassian products and services. I acknowledge the Atlassian Privacy Policy.',
|
|
21
|
-
description: 'The checkbox label to give consent to be contacted about their feedback'
|
|
22
|
-
},
|
|
23
13
|
canBeContactedLabelWithResponse: {
|
|
24
14
|
id: 'feedback-collector.can-be-contacted.label-with-response',
|
|
25
15
|
defaultMessage: "Yes, Atlassian teams can reply to my feedback and ask for more details about my experience to improve Atlassian products and services. Without this, I won't get a response. I acknowledge the <a>Atlassian Privacy Policy</a>.",
|
|
@@ -170,16 +160,6 @@ export var messages = defineMessages({
|
|
|
170
160
|
defaultMessage: "What's on your mind?",
|
|
171
161
|
description: 'The textarea label where users can write their suggestion for custom feedback collector'
|
|
172
162
|
},
|
|
173
|
-
canBeContactedLabelAppify: {
|
|
174
|
-
id: 'feedback-collector.can-be-contacted.label-appify',
|
|
175
|
-
defaultMessage: 'Yes, Atlassian teams can contact me to learn about my experiences to improve Atlassian apps and services. I acknowledge the <a>Atlassian Privacy Policy</a>.',
|
|
176
|
-
description: 'The checkbox label to give consent to be contacted about their feedback'
|
|
177
|
-
},
|
|
178
|
-
canBeContactedLabelAppifyWithoutLink: {
|
|
179
|
-
id: 'feedback-collector.can-be-contacted.label-appify-without-link',
|
|
180
|
-
defaultMessage: 'Yes, Atlassian teams can contact me to learn about my experiences to improve Atlassian apps and services. I acknowledge the Atlassian Privacy Policy.',
|
|
181
|
-
description: 'The checkbox label to give consent to be contacted about their feedback'
|
|
182
|
-
},
|
|
183
163
|
canBeContactedLabelAppifyWithResponse: {
|
|
184
164
|
id: 'feedback-collector.can-be-contacted.label-appify-with-response',
|
|
185
165
|
defaultMessage: "Yes, Atlassian teams can reply to my feedback and ask for more details about my experience to improve Atlassian apps and services. Without this, I won't get a response. I acknowledge the <a>Atlassian Privacy Policy</a>.",
|
package/dist/types/messages.d.ts
CHANGED
|
@@ -9,16 +9,6 @@ export declare const messages: {
|
|
|
9
9
|
defaultMessage: string;
|
|
10
10
|
description: string;
|
|
11
11
|
};
|
|
12
|
-
canBeContactedLabel: {
|
|
13
|
-
id: string;
|
|
14
|
-
defaultMessage: string;
|
|
15
|
-
description: string;
|
|
16
|
-
};
|
|
17
|
-
canBeContactedLabelWithoutLink: {
|
|
18
|
-
id: string;
|
|
19
|
-
defaultMessage: string;
|
|
20
|
-
description: string;
|
|
21
|
-
};
|
|
22
12
|
canBeContactedLabelWithResponse: {
|
|
23
13
|
id: string;
|
|
24
14
|
defaultMessage: string;
|
|
@@ -169,16 +159,6 @@ export declare const messages: {
|
|
|
169
159
|
defaultMessage: string;
|
|
170
160
|
description: string;
|
|
171
161
|
};
|
|
172
|
-
canBeContactedLabelAppify: {
|
|
173
|
-
id: string;
|
|
174
|
-
defaultMessage: string;
|
|
175
|
-
description: string;
|
|
176
|
-
};
|
|
177
|
-
canBeContactedLabelAppifyWithoutLink: {
|
|
178
|
-
id: string;
|
|
179
|
-
defaultMessage: string;
|
|
180
|
-
description: string;
|
|
181
|
-
};
|
|
182
162
|
canBeContactedLabelAppifyWithResponse: {
|
|
183
163
|
id: string;
|
|
184
164
|
defaultMessage: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/feedback-collector",
|
|
3
|
-
"version": "16.9.
|
|
3
|
+
"version": "16.9.1",
|
|
4
4
|
"description": "A component that collects feedback across Atlassian products.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@atlaskit/afm-i18n-platform-web-platform-feedback-collector": "2.210.0",
|
|
28
|
-
"@atlaskit/button": "^25.
|
|
28
|
+
"@atlaskit/button": "^25.1.0",
|
|
29
29
|
"@atlaskit/checkbox": "^19.0.0",
|
|
30
|
-
"@atlaskit/flag": "^18.
|
|
30
|
+
"@atlaskit/flag": "^18.3.0",
|
|
31
31
|
"@atlaskit/form": "^17.0.0",
|
|
32
|
-
"@atlaskit/icon": "^37.
|
|
32
|
+
"@atlaskit/icon": "^37.4.0",
|
|
33
33
|
"@atlaskit/link": "^5.0.0",
|
|
34
|
-
"@atlaskit/modal-dialog": "^16.
|
|
34
|
+
"@atlaskit/modal-dialog": "^16.4.0",
|
|
35
35
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
36
36
|
"@atlaskit/section-message": "^10.0.0",
|
|
37
|
-
"@atlaskit/select": "^22.
|
|
37
|
+
"@atlaskit/select": "^22.7.0",
|
|
38
38
|
"@atlaskit/textarea": "^10.0.0",
|
|
39
39
|
"@atlaskit/tokens": "^16.7.0",
|
|
40
40
|
"@atlaskit/visually-hidden": "^4.2.0",
|
|
@@ -92,9 +92,6 @@
|
|
|
92
92
|
},
|
|
93
93
|
"ak_feedback_collector_select_escape": {
|
|
94
94
|
"type": "boolean"
|
|
95
|
-
},
|
|
96
|
-
"fun-2435_improve_feedback_collector_copy": {
|
|
97
|
-
"type": "boolean"
|
|
98
95
|
}
|
|
99
96
|
}
|
|
100
97
|
}
|