@atlaskit/feedback-collector 16.8.1 → 16.9.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/CHANGELOG.md +9 -0
- package/dist/cjs/components/FeedbackCollector.js +1 -1
- package/dist/cjs/components/FeedbackForm.js +4 -4
- package/dist/cjs/messages.js +20 -0
- package/dist/es2019/components/FeedbackCollector.js +1 -1
- package/dist/es2019/components/FeedbackForm.js +4 -4
- package/dist/es2019/messages.js +20 -0
- package/dist/esm/components/FeedbackCollector.js +1 -1
- package/dist/esm/components/FeedbackForm.js +4 -4
- package/dist/esm/messages.js +20 -0
- package/dist/types/messages.d.ts +20 -0
- package/package.json +5 -2
- package/feedback-collector.docs.tsx +0 -74
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/feedback-collector
|
|
2
2
|
|
|
3
|
+
## 16.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`d6496db5d242e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d6496db5d242e) -
|
|
8
|
+
[ux] Behind the `fun-2435_improve_feedback_collector_copy` feature gate, the contact opt-in
|
|
9
|
+
checkbox copy now explains that consent is required to receive a reply, and that Atlassian teams
|
|
10
|
+
may ask for more details about the reported experience.
|
|
11
|
+
|
|
3
12
|
## 16.8.1
|
|
4
13
|
|
|
5
14
|
### Patch 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.8.
|
|
167
|
+
return "16.8.1" || '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 _messages.messages.canBeContactedLabelAppifyWithoutLink;
|
|
158
|
+
return (0, _platformFeatureFlags.fg)('fun-2435_improve_feedback_collector_copy') ? _messages.messages.canBeContactedLabelAppifyWithResponseWithoutLink : _messages.messages.canBeContactedLabelAppifyWithoutLink;
|
|
159
159
|
}
|
|
160
|
-
return _messages.messages.canBeContactedLabelAppify;
|
|
160
|
+
return (0, _platformFeatureFlags.fg)('fun-2435_improve_feedback_collector_copy') ? _messages.messages.canBeContactedLabelAppifyWithResponse : _messages.messages.canBeContactedLabelAppify;
|
|
161
161
|
};
|
|
162
162
|
var renderContactLabel = function renderContactLabel() {
|
|
163
163
|
if ((0, _platformFeatureFlags.fg)('jfp_a11y_team_feedback_collector_nested_elements')) {
|
|
164
|
-
return _messages.messages.canBeContactedLabelWithoutLink;
|
|
164
|
+
return (0, _platformFeatureFlags.fg)('fun-2435_improve_feedback_collector_copy') ? _messages.messages.canBeContactedLabelWithResponseWithoutLink : _messages.messages.canBeContactedLabelWithoutLink;
|
|
165
165
|
}
|
|
166
|
-
return _messages.messages.canBeContactedLabel;
|
|
166
|
+
return (0, _platformFeatureFlags.fg)('fun-2435_improve_feedback_collector_copy') ? _messages.messages.canBeContactedLabelWithResponse : _messages.messages.canBeContactedLabel;
|
|
167
167
|
};
|
|
168
168
|
var requiredFieldsSummary =
|
|
169
169
|
/*#__PURE__*/
|
package/dist/cjs/messages.js
CHANGED
|
@@ -26,6 +26,16 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
26
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
27
|
description: 'The checkbox label to give consent to be contacted about their feedback'
|
|
28
28
|
},
|
|
29
|
+
canBeContactedLabelWithResponse: {
|
|
30
|
+
id: 'feedback-collector.can-be-contacted.label-with-response',
|
|
31
|
+
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>.",
|
|
32
|
+
description: 'The checkbox label to give consent to be contacted about their feedback, explaining that consent is needed to receive a reply'
|
|
33
|
+
},
|
|
34
|
+
canBeContactedLabelWithResponseWithoutLink: {
|
|
35
|
+
id: 'feedback-collector.can-be-contacted.label-with-response-without-link',
|
|
36
|
+
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 Atlassian Privacy Policy.",
|
|
37
|
+
description: 'The checkbox label to give consent to be contacted about their feedback, explaining that consent is needed to receive a reply'
|
|
38
|
+
},
|
|
29
39
|
privacyPolicy: {
|
|
30
40
|
id: 'feedback-collector.privacy-policy',
|
|
31
41
|
defaultMessage: 'Atlassian Privacy Policy',
|
|
@@ -176,6 +186,16 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
176
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.',
|
|
177
187
|
description: 'The checkbox label to give consent to be contacted about their feedback'
|
|
178
188
|
},
|
|
189
|
+
canBeContactedLabelAppifyWithResponse: {
|
|
190
|
+
id: 'feedback-collector.can-be-contacted.label-appify-with-response',
|
|
191
|
+
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>.",
|
|
192
|
+
description: 'The checkbox label to give consent to be contacted about their feedback, explaining that consent is needed to receive a reply'
|
|
193
|
+
},
|
|
194
|
+
canBeContactedLabelAppifyWithResponseWithoutLink: {
|
|
195
|
+
id: 'feedback-collector.can-be-contacted.label-appify-with-response-without-link',
|
|
196
|
+
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 Atlassian Privacy Policy.",
|
|
197
|
+
description: 'The checkbox label to give consent to be contacted about their feedback, explaining that consent is needed to receive a reply'
|
|
198
|
+
},
|
|
179
199
|
feedbackSuccessFlagDescriptionAppify: {
|
|
180
200
|
id: 'feedback-collector.success-flag.description-appify',
|
|
181
201
|
defaultMessage: 'Your valuable feedback helps us continually improve our apps.',
|
|
@@ -92,7 +92,7 @@ export default class FeedbackCollector extends Component {
|
|
|
92
92
|
return FeedbackCollector.defaultProps.url;
|
|
93
93
|
}
|
|
94
94
|
getPackageVersion() {
|
|
95
|
-
return "16.8.
|
|
95
|
+
return "16.8.1" || '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 messages.canBeContactedLabelAppifyWithoutLink;
|
|
119
|
+
return fg('fun-2435_improve_feedback_collector_copy') ? messages.canBeContactedLabelAppifyWithResponseWithoutLink : messages.canBeContactedLabelAppifyWithoutLink;
|
|
120
120
|
}
|
|
121
|
-
return messages.canBeContactedLabelAppify;
|
|
121
|
+
return fg('fun-2435_improve_feedback_collector_copy') ? messages.canBeContactedLabelAppifyWithResponse : messages.canBeContactedLabelAppify;
|
|
122
122
|
};
|
|
123
123
|
const renderContactLabel = () => {
|
|
124
124
|
if (fg('jfp_a11y_team_feedback_collector_nested_elements')) {
|
|
125
|
-
return messages.canBeContactedLabelWithoutLink;
|
|
125
|
+
return fg('fun-2435_improve_feedback_collector_copy') ? messages.canBeContactedLabelWithResponseWithoutLink : messages.canBeContactedLabelWithoutLink;
|
|
126
126
|
}
|
|
127
|
-
return messages.canBeContactedLabel;
|
|
127
|
+
return fg('fun-2435_improve_feedback_collector_copy') ? messages.canBeContactedLabelWithResponse : messages.canBeContactedLabel;
|
|
128
128
|
};
|
|
129
129
|
const requiredFieldsSummary =
|
|
130
130
|
/*#__PURE__*/
|
package/dist/es2019/messages.js
CHANGED
|
@@ -20,6 +20,16 @@ export const messages = defineMessages({
|
|
|
20
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
21
|
description: 'The checkbox label to give consent to be contacted about their feedback'
|
|
22
22
|
},
|
|
23
|
+
canBeContactedLabelWithResponse: {
|
|
24
|
+
id: 'feedback-collector.can-be-contacted.label-with-response',
|
|
25
|
+
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>.",
|
|
26
|
+
description: 'The checkbox label to give consent to be contacted about their feedback, explaining that consent is needed to receive a reply'
|
|
27
|
+
},
|
|
28
|
+
canBeContactedLabelWithResponseWithoutLink: {
|
|
29
|
+
id: 'feedback-collector.can-be-contacted.label-with-response-without-link',
|
|
30
|
+
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 Atlassian Privacy Policy.",
|
|
31
|
+
description: 'The checkbox label to give consent to be contacted about their feedback, explaining that consent is needed to receive a reply'
|
|
32
|
+
},
|
|
23
33
|
privacyPolicy: {
|
|
24
34
|
id: 'feedback-collector.privacy-policy',
|
|
25
35
|
defaultMessage: 'Atlassian Privacy Policy',
|
|
@@ -170,6 +180,16 @@ export const messages = defineMessages({
|
|
|
170
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.',
|
|
171
181
|
description: 'The checkbox label to give consent to be contacted about their feedback'
|
|
172
182
|
},
|
|
183
|
+
canBeContactedLabelAppifyWithResponse: {
|
|
184
|
+
id: 'feedback-collector.can-be-contacted.label-appify-with-response',
|
|
185
|
+
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>.",
|
|
186
|
+
description: 'The checkbox label to give consent to be contacted about their feedback, explaining that consent is needed to receive a reply'
|
|
187
|
+
},
|
|
188
|
+
canBeContactedLabelAppifyWithResponseWithoutLink: {
|
|
189
|
+
id: 'feedback-collector.can-be-contacted.label-appify-with-response-without-link',
|
|
190
|
+
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 Atlassian Privacy Policy.",
|
|
191
|
+
description: 'The checkbox label to give consent to be contacted about their feedback, explaining that consent is needed to receive a reply'
|
|
192
|
+
},
|
|
173
193
|
feedbackSuccessFlagDescriptionAppify: {
|
|
174
194
|
id: 'feedback-collector.success-flag.description-appify',
|
|
175
195
|
defaultMessage: 'Your valuable feedback helps us continually improve our apps.',
|
|
@@ -155,7 +155,7 @@ var FeedbackCollector = /*#__PURE__*/function (_Component) {
|
|
|
155
155
|
}, {
|
|
156
156
|
key: "getPackageVersion",
|
|
157
157
|
value: function getPackageVersion() {
|
|
158
|
-
return "16.8.
|
|
158
|
+
return "16.8.1" || '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 messages.canBeContactedLabelAppifyWithoutLink;
|
|
149
|
+
return fg('fun-2435_improve_feedback_collector_copy') ? messages.canBeContactedLabelAppifyWithResponseWithoutLink : messages.canBeContactedLabelAppifyWithoutLink;
|
|
150
150
|
}
|
|
151
|
-
return messages.canBeContactedLabelAppify;
|
|
151
|
+
return fg('fun-2435_improve_feedback_collector_copy') ? messages.canBeContactedLabelAppifyWithResponse : messages.canBeContactedLabelAppify;
|
|
152
152
|
};
|
|
153
153
|
var renderContactLabel = function renderContactLabel() {
|
|
154
154
|
if (fg('jfp_a11y_team_feedback_collector_nested_elements')) {
|
|
155
|
-
return messages.canBeContactedLabelWithoutLink;
|
|
155
|
+
return fg('fun-2435_improve_feedback_collector_copy') ? messages.canBeContactedLabelWithResponseWithoutLink : messages.canBeContactedLabelWithoutLink;
|
|
156
156
|
}
|
|
157
|
-
return messages.canBeContactedLabel;
|
|
157
|
+
return fg('fun-2435_improve_feedback_collector_copy') ? messages.canBeContactedLabelWithResponse : messages.canBeContactedLabel;
|
|
158
158
|
};
|
|
159
159
|
var requiredFieldsSummary =
|
|
160
160
|
/*#__PURE__*/
|
package/dist/esm/messages.js
CHANGED
|
@@ -20,6 +20,16 @@ export var messages = defineMessages({
|
|
|
20
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
21
|
description: 'The checkbox label to give consent to be contacted about their feedback'
|
|
22
22
|
},
|
|
23
|
+
canBeContactedLabelWithResponse: {
|
|
24
|
+
id: 'feedback-collector.can-be-contacted.label-with-response',
|
|
25
|
+
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>.",
|
|
26
|
+
description: 'The checkbox label to give consent to be contacted about their feedback, explaining that consent is needed to receive a reply'
|
|
27
|
+
},
|
|
28
|
+
canBeContactedLabelWithResponseWithoutLink: {
|
|
29
|
+
id: 'feedback-collector.can-be-contacted.label-with-response-without-link',
|
|
30
|
+
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 Atlassian Privacy Policy.",
|
|
31
|
+
description: 'The checkbox label to give consent to be contacted about their feedback, explaining that consent is needed to receive a reply'
|
|
32
|
+
},
|
|
23
33
|
privacyPolicy: {
|
|
24
34
|
id: 'feedback-collector.privacy-policy',
|
|
25
35
|
defaultMessage: 'Atlassian Privacy Policy',
|
|
@@ -170,6 +180,16 @@ export var messages = defineMessages({
|
|
|
170
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.',
|
|
171
181
|
description: 'The checkbox label to give consent to be contacted about their feedback'
|
|
172
182
|
},
|
|
183
|
+
canBeContactedLabelAppifyWithResponse: {
|
|
184
|
+
id: 'feedback-collector.can-be-contacted.label-appify-with-response',
|
|
185
|
+
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>.",
|
|
186
|
+
description: 'The checkbox label to give consent to be contacted about their feedback, explaining that consent is needed to receive a reply'
|
|
187
|
+
},
|
|
188
|
+
canBeContactedLabelAppifyWithResponseWithoutLink: {
|
|
189
|
+
id: 'feedback-collector.can-be-contacted.label-appify-with-response-without-link',
|
|
190
|
+
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 Atlassian Privacy Policy.",
|
|
191
|
+
description: 'The checkbox label to give consent to be contacted about their feedback, explaining that consent is needed to receive a reply'
|
|
192
|
+
},
|
|
173
193
|
feedbackSuccessFlagDescriptionAppify: {
|
|
174
194
|
id: 'feedback-collector.success-flag.description-appify',
|
|
175
195
|
defaultMessage: 'Your valuable feedback helps us continually improve our apps.',
|
package/dist/types/messages.d.ts
CHANGED
|
@@ -19,6 +19,16 @@ export declare const messages: {
|
|
|
19
19
|
defaultMessage: string;
|
|
20
20
|
description: string;
|
|
21
21
|
};
|
|
22
|
+
canBeContactedLabelWithResponse: {
|
|
23
|
+
id: string;
|
|
24
|
+
defaultMessage: string;
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
canBeContactedLabelWithResponseWithoutLink: {
|
|
28
|
+
id: string;
|
|
29
|
+
defaultMessage: string;
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
22
32
|
privacyPolicy: {
|
|
23
33
|
id: string;
|
|
24
34
|
defaultMessage: string;
|
|
@@ -169,6 +179,16 @@ export declare const messages: {
|
|
|
169
179
|
defaultMessage: string;
|
|
170
180
|
description: string;
|
|
171
181
|
};
|
|
182
|
+
canBeContactedLabelAppifyWithResponse: {
|
|
183
|
+
id: string;
|
|
184
|
+
defaultMessage: string;
|
|
185
|
+
description: string;
|
|
186
|
+
};
|
|
187
|
+
canBeContactedLabelAppifyWithResponseWithoutLink: {
|
|
188
|
+
id: string;
|
|
189
|
+
defaultMessage: string;
|
|
190
|
+
description: string;
|
|
191
|
+
};
|
|
172
192
|
feedbackSuccessFlagDescriptionAppify: {
|
|
173
193
|
id: string;
|
|
174
194
|
defaultMessage: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/feedback-collector",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.9.0",
|
|
4
4
|
"description": "A component that collects feedback across Atlassian products.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@atlaskit/section-message": "^10.0.0",
|
|
37
37
|
"@atlaskit/select": "^22.6.0",
|
|
38
38
|
"@atlaskit/textarea": "^10.0.0",
|
|
39
|
-
"@atlaskit/tokens": "^16.
|
|
39
|
+
"@atlaskit/tokens": "^16.7.0",
|
|
40
40
|
"@atlaskit/visually-hidden": "^4.2.0",
|
|
41
41
|
"@babel/runtime": "^7.0.0"
|
|
42
42
|
},
|
|
@@ -92,6 +92,9 @@
|
|
|
92
92
|
},
|
|
93
93
|
"ak_feedback_collector_select_escape": {
|
|
94
94
|
"type": "boolean"
|
|
95
|
+
},
|
|
96
|
+
"fun-2435_improve_feedback_collector_copy": {
|
|
97
|
+
"type": "boolean"
|
|
95
98
|
}
|
|
96
99
|
}
|
|
97
100
|
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Structured MCP docs for `@atlaskit/feedback-collector`.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import path from 'path';
|
|
6
|
-
|
|
7
|
-
import type { StructuredContentSource } from '@atlassian/structured-docs-types/types';
|
|
8
|
-
|
|
9
|
-
import packageJson from './package.json';
|
|
10
|
-
|
|
11
|
-
const packagePath = path.resolve(__dirname);
|
|
12
|
-
|
|
13
|
-
const documentation: StructuredContentSource = {
|
|
14
|
-
package: {
|
|
15
|
-
package: '@atlaskit/feedback-collector',
|
|
16
|
-
packagePath,
|
|
17
|
-
packageJson,
|
|
18
|
-
overview:
|
|
19
|
-
'A component that collects feedback across Atlassian products. It provides a consistent way for users to submit feedback, including bug reports and feature requests.',
|
|
20
|
-
},
|
|
21
|
-
components: [
|
|
22
|
-
{
|
|
23
|
-
name: 'FeedbackCollector',
|
|
24
|
-
description: 'The main component for collecting user feedback.',
|
|
25
|
-
status: 'general-availability',
|
|
26
|
-
import: {
|
|
27
|
-
name: 'default',
|
|
28
|
-
package: '@atlaskit/feedback-collector',
|
|
29
|
-
type: 'default',
|
|
30
|
-
packagePath,
|
|
31
|
-
packageJson,
|
|
32
|
-
},
|
|
33
|
-
usageGuidelines: [
|
|
34
|
-
'Use `FeedbackCollector` to trigger a feedback form from your application.',
|
|
35
|
-
'Provide `onClose` and `onSubmit` handlers to manage the feedback flow.',
|
|
36
|
-
],
|
|
37
|
-
keywords: ['feedback', 'collector', 'atlassian'],
|
|
38
|
-
categories: ['web-platform'],
|
|
39
|
-
examples: [
|
|
40
|
-
{
|
|
41
|
-
name: 'Feedback collector',
|
|
42
|
-
description: 'Basic usage of FeedbackCollector.',
|
|
43
|
-
source: path.resolve(packagePath, './examples/02-feedback-collector.tsx'),
|
|
44
|
-
},
|
|
45
|
-
],
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
name: 'FeedbackButton',
|
|
49
|
-
description: 'A button component used to trigger the feedback collector.',
|
|
50
|
-
status: 'general-availability',
|
|
51
|
-
import: {
|
|
52
|
-
name: 'FeedbackButton',
|
|
53
|
-
package: '@atlaskit/feedback-collector',
|
|
54
|
-
type: 'named',
|
|
55
|
-
packagePath,
|
|
56
|
-
packageJson,
|
|
57
|
-
},
|
|
58
|
-
usageGuidelines: [
|
|
59
|
-
'Use `FeedbackButton` to provide a consistent trigger for the feedback collector.',
|
|
60
|
-
],
|
|
61
|
-
keywords: ['feedback', 'button', 'trigger'],
|
|
62
|
-
categories: ['web-platform'],
|
|
63
|
-
examples: [
|
|
64
|
-
{
|
|
65
|
-
name: 'Feedback button',
|
|
66
|
-
description: 'Basic usage of FeedbackButton.',
|
|
67
|
-
source: path.resolve(packagePath, './examples/03-feedback-button.tsx'),
|
|
68
|
-
},
|
|
69
|
-
],
|
|
70
|
-
},
|
|
71
|
-
],
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
export default documentation;
|