@atlaskit/editor-common 121.2.0 → 121.2.2
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 +18 -0
- package/dist/cjs/ai-messages/ai-suggestions.js +5 -0
- package/dist/cjs/messages/placeholder-text.js +2 -2
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/ai-messages/ai-suggestions.js +5 -0
- package/dist/es2019/messages/placeholder-text.js +2 -2
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/ai-messages/ai-suggestions.js +5 -0
- package/dist/esm/messages/placeholder-text.js +2 -2
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/ai-messages/ai-suggestions.d.ts +5 -0
- package/package.json +3 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 121.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`38a509b8e70ac`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/38a509b8e70ac) -
|
|
8
|
+
[ux] Show the reviewing agent name and avatar on the first AI suggestions thinking-bar status,
|
|
9
|
+
behind the platform_editor_ai_content_suggested_edits experiment. Adds a firstMessage prop to
|
|
10
|
+
RovoThinkingBar to override the first status's text/icon.
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
13
|
+
## 121.2.1
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [`154001e3994b4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/154001e3994b4) -
|
|
18
|
+
Update the empty multi-bodied extension frame placeholder text.
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 121.2.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
|
@@ -276,6 +276,11 @@ var aiSuggestionsMessages = exports.aiSuggestionsMessages = (0, _reactIntl.defin
|
|
|
276
276
|
defaultMessage: 'Reviewing content',
|
|
277
277
|
description: 'Loading message shown while the AI is reviewing the content'
|
|
278
278
|
},
|
|
279
|
+
thinkingReviewingContentWithAgent: {
|
|
280
|
+
id: 'fabric.editor.ai.suggestions.thinking.reviewingContentWithAgent.non-final',
|
|
281
|
+
defaultMessage: 'Reviewing content with {agentName}',
|
|
282
|
+
description: 'First loading message on the AI suggestions thinking bar. The {agentName} placeholder is replaced with the reviewing agent name (for example "Content Reviewer"). Shown for a few seconds before the remaining rotating statuses.'
|
|
283
|
+
},
|
|
279
284
|
thinkingMayTakeAFewMinutes: {
|
|
280
285
|
id: 'fabric.editor.ai.suggestions.thinking.mayTakeAFewMinutes.non-final',
|
|
281
286
|
defaultMessage: 'This may take a few minutes',
|
|
@@ -53,7 +53,7 @@ var placeholderTextMessages = exports.placeholderTextMessages = (0, _reactIntl.d
|
|
|
53
53
|
},
|
|
54
54
|
multiBodiedExtensionEmptyFramePlaceholderText: {
|
|
55
55
|
id: 'fabric.editor.multiBodiedExtensionEmptyFramePlaceholderText',
|
|
56
|
-
defaultMessage: 'Type
|
|
57
|
-
description: 'Placeholder text shown inside an empty multi-bodied extension frame, prompting users to type
|
|
56
|
+
defaultMessage: 'Type / to insert elements',
|
|
57
|
+
description: 'Placeholder text shown inside an empty multi-bodied extension frame, prompting users to type / to open the quick-insert menu and add elements.'
|
|
58
58
|
}
|
|
59
59
|
});
|
|
@@ -27,7 +27,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
27
27
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
28
28
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
29
29
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
30
|
-
var packageVersion = "121.2.
|
|
30
|
+
var packageVersion = "121.2.1";
|
|
31
31
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
32
32
|
// Remove URL as it has UGC
|
|
33
33
|
// Ignored via go/ees007
|
|
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
24
24
|
* @jsx jsx
|
|
25
25
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
26
26
|
var packageName = "@atlaskit/editor-common";
|
|
27
|
-
var packageVersion = "121.2.
|
|
27
|
+
var packageVersion = "121.2.1";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -270,6 +270,11 @@ export const aiSuggestionsMessages = defineMessages({
|
|
|
270
270
|
defaultMessage: 'Reviewing content',
|
|
271
271
|
description: 'Loading message shown while the AI is reviewing the content'
|
|
272
272
|
},
|
|
273
|
+
thinkingReviewingContentWithAgent: {
|
|
274
|
+
id: 'fabric.editor.ai.suggestions.thinking.reviewingContentWithAgent.non-final',
|
|
275
|
+
defaultMessage: 'Reviewing content with {agentName}',
|
|
276
|
+
description: 'First loading message on the AI suggestions thinking bar. The {agentName} placeholder is replaced with the reviewing agent name (for example "Content Reviewer"). Shown for a few seconds before the remaining rotating statuses.'
|
|
277
|
+
},
|
|
273
278
|
thinkingMayTakeAFewMinutes: {
|
|
274
279
|
id: 'fabric.editor.ai.suggestions.thinking.mayTakeAFewMinutes.non-final',
|
|
275
280
|
defaultMessage: 'This may take a few minutes',
|
|
@@ -47,7 +47,7 @@ export const placeholderTextMessages = defineMessages({
|
|
|
47
47
|
},
|
|
48
48
|
multiBodiedExtensionEmptyFramePlaceholderText: {
|
|
49
49
|
id: 'fabric.editor.multiBodiedExtensionEmptyFramePlaceholderText',
|
|
50
|
-
defaultMessage: 'Type
|
|
51
|
-
description: 'Placeholder text shown inside an empty multi-bodied extension frame, prompting users to type
|
|
50
|
+
defaultMessage: 'Type / to insert elements',
|
|
51
|
+
description: 'Placeholder text shown inside an empty multi-bodied extension frame, prompting users to type / to open the quick-insert menu and add elements.'
|
|
52
52
|
}
|
|
53
53
|
});
|
|
@@ -13,7 +13,7 @@ const NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
13
13
|
const RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
14
14
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
15
15
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
16
|
-
const packageVersion = "121.2.
|
|
16
|
+
const packageVersion = "121.2.1";
|
|
17
17
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
18
18
|
// Remove URL as it has UGC
|
|
19
19
|
// Ignored via go/ees007
|
|
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
15
15
|
import Layer from '../Layer';
|
|
16
16
|
const packageName = "@atlaskit/editor-common";
|
|
17
|
-
const packageVersion = "121.2.
|
|
17
|
+
const packageVersion = "121.2.1";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -270,6 +270,11 @@ export var aiSuggestionsMessages = defineMessages({
|
|
|
270
270
|
defaultMessage: 'Reviewing content',
|
|
271
271
|
description: 'Loading message shown while the AI is reviewing the content'
|
|
272
272
|
},
|
|
273
|
+
thinkingReviewingContentWithAgent: {
|
|
274
|
+
id: 'fabric.editor.ai.suggestions.thinking.reviewingContentWithAgent.non-final',
|
|
275
|
+
defaultMessage: 'Reviewing content with {agentName}',
|
|
276
|
+
description: 'First loading message on the AI suggestions thinking bar. The {agentName} placeholder is replaced with the reviewing agent name (for example "Content Reviewer"). Shown for a few seconds before the remaining rotating statuses.'
|
|
277
|
+
},
|
|
273
278
|
thinkingMayTakeAFewMinutes: {
|
|
274
279
|
id: 'fabric.editor.ai.suggestions.thinking.mayTakeAFewMinutes.non-final',
|
|
275
280
|
defaultMessage: 'This may take a few minutes',
|
|
@@ -47,7 +47,7 @@ export var placeholderTextMessages = defineMessages({
|
|
|
47
47
|
},
|
|
48
48
|
multiBodiedExtensionEmptyFramePlaceholderText: {
|
|
49
49
|
id: 'fabric.editor.multiBodiedExtensionEmptyFramePlaceholderText',
|
|
50
|
-
defaultMessage: 'Type
|
|
51
|
-
description: 'Placeholder text shown inside an empty multi-bodied extension frame, prompting users to type
|
|
50
|
+
defaultMessage: 'Type / to insert elements',
|
|
51
|
+
description: 'Placeholder text shown inside an empty multi-bodied extension frame, prompting users to type / to open the quick-insert menu and add elements.'
|
|
52
52
|
}
|
|
53
53
|
});
|
|
@@ -19,7 +19,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
19
19
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
20
20
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
21
21
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
22
|
-
var packageVersion = "121.2.
|
|
22
|
+
var packageVersion = "121.2.1";
|
|
23
23
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
24
24
|
// Remove URL as it has UGC
|
|
25
25
|
// Ignored via go/ees007
|
|
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
21
21
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
22
22
|
import Layer from '../Layer';
|
|
23
23
|
var packageName = "@atlaskit/editor-common";
|
|
24
|
-
var packageVersion = "121.2.
|
|
24
|
+
var packageVersion = "121.2.1";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -348,6 +348,11 @@ export declare const aiSuggestionsMessages: {
|
|
|
348
348
|
description: string;
|
|
349
349
|
id: string;
|
|
350
350
|
};
|
|
351
|
+
thinkingReviewingContentWithAgent: {
|
|
352
|
+
defaultMessage: string;
|
|
353
|
+
description: string;
|
|
354
|
+
id: string;
|
|
355
|
+
};
|
|
351
356
|
thinkingStopLabel: {
|
|
352
357
|
defaultMessage: string;
|
|
353
358
|
description: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "121.2.
|
|
3
|
+
"version": "121.2.2",
|
|
4
4
|
"description": "A package that contains common classes and components for editor and renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@atlaskit/link-datasource": "^6.12.0",
|
|
58
58
|
"@atlaskit/link-picker": "^6.8.0",
|
|
59
59
|
"@atlaskit/media-card": "^81.10.0",
|
|
60
|
-
"@atlaskit/media-client": "^38.
|
|
60
|
+
"@atlaskit/media-client": "^38.1.0",
|
|
61
61
|
"@atlaskit/media-client-react": "^6.4.0",
|
|
62
62
|
"@atlaskit/media-common": "^14.6.0",
|
|
63
63
|
"@atlaskit/media-file-preview": "^1.3.0",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"@atlaskit/task-decision": "^21.9.0",
|
|
85
85
|
"@atlaskit/teams-app-config": "^3.1.0",
|
|
86
86
|
"@atlaskit/textfield": "^10.2.0",
|
|
87
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
87
|
+
"@atlaskit/tmp-editor-statsig": "^183.0.0",
|
|
88
88
|
"@atlaskit/tokens": "^16.11.0",
|
|
89
89
|
"@atlaskit/tooltip": "^24.3.0",
|
|
90
90
|
"@atlaskit/width-detector": "^7.2.0",
|
|
@@ -142,7 +142,6 @@
|
|
|
142
142
|
"react": "^19.2.0",
|
|
143
143
|
"react-dom": "^19.2.0",
|
|
144
144
|
"react-intl": "^7.0.0",
|
|
145
|
-
"react-test-renderer": "^18.2.0",
|
|
146
145
|
"sinon": "^2.2.0"
|
|
147
146
|
},
|
|
148
147
|
"platform-feature-flags": {
|