@atlaskit/editor-common 121.2.1 → 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 CHANGED
@@ -1,5 +1,15 @@
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
+
3
13
  ## 121.2.1
4
14
 
5
15
  ### Patch 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',
@@ -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.0";
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.0";
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',
@@ -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.0";
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.0";
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',
@@ -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.0";
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.0";
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.1",
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/"
@@ -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": "^182.0.0",
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": {