@atlaskit/smart-card 44.9.5 → 44.9.7
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 +14 -0
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummarydone--default--platform-sl-ai-summary-rebrand-true.png +3 -0
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummarydoneonmount--default--platform-sl-ai-summary-rebrand-true.png +3 -0
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummaryerror--default--platform-sl-ai-summary-rebrand-true.png +3 -0
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummaryloading--default--platform-sl-ai-summary-rebrand-true.png +3 -0
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummaryready--default--platform-sl-ai-summary-rebrand-true.png +3 -0
- package/dist/cjs/constants.js +2 -1
- package/dist/cjs/messages.js +15 -10
- package/dist/cjs/utils/ai-summary.js +2 -1
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/actions/ai-summary-action/ai-summarise-action.js +5 -3
- package/dist/cjs/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js +4 -1
- package/dist/cjs/view/FlexibleCard/components/common/ai-summary/ai-learn-more-anchor.js +2 -1
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/cjs/view/common/ai-summary/ai-footer/index.js +3 -1
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummarydone--default--platform-sl-ai-summary-rebrand-true.png +3 -0
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummarydoneonmount--default--platform-sl-ai-summary-rebrand-true.png +3 -0
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummaryerror--default--platform-sl-ai-summary-rebrand-true.png +3 -0
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummaryloading--default--platform-sl-ai-summary-rebrand-true.png +3 -0
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummaryready--default--platform-sl-ai-summary-rebrand-true.png +3 -0
- package/dist/es2019/constants.js +1 -0
- package/dist/es2019/messages.js +15 -10
- package/dist/es2019/utils/ai-summary.js +2 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/ai-summary-action/ai-summarise-action.js +5 -3
- package/dist/es2019/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js +4 -1
- package/dist/es2019/view/FlexibleCard/components/common/ai-summary/ai-learn-more-anchor.js +3 -2
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/es2019/view/common/ai-summary/ai-footer/index.js +3 -1
- package/dist/esm/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummarydone--default--platform-sl-ai-summary-rebrand-true.png +3 -0
- package/dist/esm/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummarydoneonmount--default--platform-sl-ai-summary-rebrand-true.png +3 -0
- package/dist/esm/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummaryerror--default--platform-sl-ai-summary-rebrand-true.png +3 -0
- package/dist/esm/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummaryloading--default--platform-sl-ai-summary-rebrand-true.png +3 -0
- package/dist/esm/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummaryready--default--platform-sl-ai-summary-rebrand-true.png +3 -0
- package/dist/esm/constants.js +1 -0
- package/dist/esm/messages.js +15 -10
- package/dist/esm/utils/ai-summary.js +2 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/ai-summary-action/ai-summarise-action.js +5 -3
- package/dist/esm/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js +4 -1
- package/dist/esm/view/FlexibleCard/components/common/ai-summary/ai-learn-more-anchor.js +3 -2
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/esm/view/common/ai-summary/ai-footer/index.js +3 -1
- package/dist/types/constants.d.ts +1 -0
- package/dist/types/messages.d.ts +1 -1
- package/dist/types-ts4.5/constants.d.ts +1 -0
- package/dist/types-ts4.5/messages.d.ts +1 -1
- package/package.json +5 -2
- /package/dist/cjs/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/{flexuiblockaisummarydone--default.png → flexuiblockaisummarydone--default--platform-sl-ai-summary-rebrand-false.png} +0 -0
- /package/dist/cjs/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/{flexuiblockaisummarydoneonmount--default.png → flexuiblockaisummarydoneonmount--default--platform-sl-ai-summary-rebrand-false.png} +0 -0
- /package/dist/cjs/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/{flexuiblockaisummaryerror--default.png → flexuiblockaisummaryerror--default--platform-sl-ai-summary-rebrand-false.png} +0 -0
- /package/dist/cjs/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/{flexuiblockaisummaryloading--default.png → flexuiblockaisummaryloading--default--platform-sl-ai-summary-rebrand-false.png} +0 -0
- /package/dist/cjs/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/{flexuiblockaisummaryready--default.png → flexuiblockaisummaryready--default--platform-sl-ai-summary-rebrand-false.png} +0 -0
- /package/dist/es2019/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/{flexuiblockaisummarydone--default.png → flexuiblockaisummarydone--default--platform-sl-ai-summary-rebrand-false.png} +0 -0
- /package/dist/es2019/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/{flexuiblockaisummarydoneonmount--default.png → flexuiblockaisummarydoneonmount--default--platform-sl-ai-summary-rebrand-false.png} +0 -0
- /package/dist/es2019/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/{flexuiblockaisummaryerror--default.png → flexuiblockaisummaryerror--default--platform-sl-ai-summary-rebrand-false.png} +0 -0
- /package/dist/es2019/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/{flexuiblockaisummaryloading--default.png → flexuiblockaisummaryloading--default--platform-sl-ai-summary-rebrand-false.png} +0 -0
- /package/dist/es2019/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/{flexuiblockaisummaryready--default.png → flexuiblockaisummaryready--default--platform-sl-ai-summary-rebrand-false.png} +0 -0
- /package/dist/esm/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/{flexuiblockaisummarydone--default.png → flexuiblockaisummarydone--default--platform-sl-ai-summary-rebrand-false.png} +0 -0
- /package/dist/esm/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/{flexuiblockaisummarydoneonmount--default.png → flexuiblockaisummarydoneonmount--default--platform-sl-ai-summary-rebrand-false.png} +0 -0
- /package/dist/esm/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/{flexuiblockaisummaryerror--default.png → flexuiblockaisummaryerror--default--platform-sl-ai-summary-rebrand-false.png} +0 -0
- /package/dist/esm/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/{flexuiblockaisummaryloading--default.png → flexuiblockaisummaryloading--default--platform-sl-ai-summary-rebrand-false.png} +0 -0
- /package/dist/esm/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/{flexuiblockaisummaryready--default.png → flexuiblockaisummaryready--default--platform-sl-ai-summary-rebrand-false.png} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 44.9.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 44.9.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`465ab5e9db9f6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/465ab5e9db9f6) -
|
|
14
|
+
[ux] Update AI Summary branding, behind fg platform_sl_ai_summary_rebrand
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 44.9.5
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/cjs/constants.js
CHANGED
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.SmartLinkWidth = exports.SmartLinkTheme = exports.SmartLinkStatus = exports.SmartLinkSize = exports.SmartLinkPosition = exports.SmartLinkInternalTheme = exports.SmartLinkDirection = exports.SmartLinkAlignment = exports.MediaType = exports.MediaPlacement = exports.InternalActionName = exports.IconType = exports.ElementName = exports.CardDisplay = exports.CONTENT_URL_SECURITY_AND_PERMISSIONS = exports.CONTENT_URL_AI_TROUBLESHOOTING = exports.CONTENT_URL_AI = exports.CONTENT_URL_ACCEPTABLE_USE_POLICY = exports.CONTENT_URL_3P_ACCOUNT_AUTH = exports.ActionName = void 0;
|
|
6
|
+
exports.SmartLinkWidth = exports.SmartLinkTheme = exports.SmartLinkStatus = exports.SmartLinkSize = exports.SmartLinkPosition = exports.SmartLinkInternalTheme = exports.SmartLinkDirection = exports.SmartLinkAlignment = exports.MediaType = exports.MediaPlacement = exports.InternalActionName = exports.IconType = exports.ElementName = exports.CardDisplay = exports.CONTENT_URL_SECURITY_AND_PERMISSIONS = exports.CONTENT_URL_ROVO = exports.CONTENT_URL_AI_TROUBLESHOOTING = exports.CONTENT_URL_AI = exports.CONTENT_URL_ACCEPTABLE_USE_POLICY = exports.CONTENT_URL_3P_ACCOUNT_AUTH = exports.ActionName = void 0;
|
|
7
7
|
var CONTENT_URL_SECURITY_AND_PERMISSIONS = exports.CONTENT_URL_SECURITY_AND_PERMISSIONS = 'https://support.atlassian.com/confluence-cloud/docs/insert-links-and-anchors/#Smart-links';
|
|
8
8
|
var CONTENT_URL_3P_ACCOUNT_AUTH = exports.CONTENT_URL_3P_ACCOUNT_AUTH = 'https://support.atlassian.com/confluence-cloud/docs/what-data-is-sent-and-received-when-pasting-a-smart-link/';
|
|
9
9
|
var CONTENT_URL_AI = exports.CONTENT_URL_AI = 'https://www.atlassian.com/trust/atlassian-intelligence';
|
|
10
|
+
var CONTENT_URL_ROVO = exports.CONTENT_URL_ROVO = 'https://www.atlassian.com/trust/ai';
|
|
10
11
|
var CONTENT_URL_AI_TROUBLESHOOTING = exports.CONTENT_URL_AI_TROUBLESHOOTING = 'https://status.atlassian.com/';
|
|
11
12
|
var CONTENT_URL_ACCEPTABLE_USE_POLICY = exports.CONTENT_URL_ACCEPTABLE_USE_POLICY = 'https://www.atlassian.com/legal/acceptable-use-policy';
|
|
12
13
|
|
package/dist/cjs/messages.js
CHANGED
|
@@ -21,11 +21,6 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
21
21
|
defaultMessage: 'Summarize',
|
|
22
22
|
description: 'Action to summarize link resource content with AI'
|
|
23
23
|
},
|
|
24
|
-
ai_summarized: {
|
|
25
|
-
id: 'fabric.linking.ai_summarized',
|
|
26
|
-
defaultMessage: 'Summarized by Atlassian Intelligence',
|
|
27
|
-
description: 'Shown with the content summarised by AI.'
|
|
28
|
-
},
|
|
29
24
|
ai_summarized_abbreviation: {
|
|
30
25
|
id: 'fabric.linking.ai_summarized_abbreviation',
|
|
31
26
|
defaultMessage: 'Summarized by AI',
|
|
@@ -41,16 +36,16 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
41
36
|
defaultMessage: 'Content quality may vary',
|
|
42
37
|
description: 'Additional info about the content summarised by AI.'
|
|
43
38
|
},
|
|
44
|
-
ai_summarizing: {
|
|
45
|
-
id: 'fabric.linking.ai_summarizing',
|
|
46
|
-
defaultMessage: 'Atlassian Intelligence is working...',
|
|
47
|
-
description: 'Shown when AI summary is summarising the link resource content.'
|
|
48
|
-
},
|
|
49
39
|
ai_summary_error_generic: {
|
|
50
40
|
id: 'fabric.linking.ai_summary_error_generic',
|
|
51
41
|
defaultMessage: 'Atlassian Intelligence (AI) isn’t responding. Try again later or <a>check the status of AI</a>.',
|
|
52
42
|
description: 'Shown when AI Summary encountered an unexpected error while summarizing the linked resource content.'
|
|
53
43
|
},
|
|
44
|
+
ai_summary_error_generic_rebrand: {
|
|
45
|
+
id: 'fabric.linking.ai_summary_error_generic_rebrand',
|
|
46
|
+
defaultMessage: 'Rovo isn’t responding. Try again later or <a>check the status of AI</a>.',
|
|
47
|
+
description: 'Shown when AI Summary encountered an unexpected error while summarizing the linked resource content.'
|
|
48
|
+
},
|
|
54
49
|
ai_summary_error_acceptable_use_violation: {
|
|
55
50
|
id: 'fabric.linking.ai_summary_error_acceptable_use_violation',
|
|
56
51
|
defaultMessage: "We cannot show the results of this summary as it goes against <a>Atlassian's Acceptable Use Policy</a>.",
|
|
@@ -291,11 +286,21 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
291
286
|
defaultMessage: 'Summarize with AI',
|
|
292
287
|
description: 'Label for the AI summarize action in a smart link or hover card action menu, allowing the user to generate an AI summary of the linked content.'
|
|
293
288
|
},
|
|
289
|
+
ai_summary_action_rebrand: {
|
|
290
|
+
id: 'fabric.linking.ai_summary_action_rebrand',
|
|
291
|
+
defaultMessage: 'Summarize with Rovo',
|
|
292
|
+
description: 'Label for the AI summarize action in a smart link or hover card action menu, allowing the user to generate an AI summary of the linked content.'
|
|
293
|
+
},
|
|
294
294
|
ai_summary_action_description: {
|
|
295
295
|
id: 'fabric.linking.ai_summary_action_description',
|
|
296
296
|
defaultMessage: 'Summarize the content of this link using Atlassian Intelligence.',
|
|
297
297
|
description: 'Description of what the summarize link with AI action does'
|
|
298
298
|
},
|
|
299
|
+
ai_summary_action_description_rebrand: {
|
|
300
|
+
id: 'fabric.linking.ai_summary_action_description_rebrand',
|
|
301
|
+
defaultMessage: 'Summarize the content of this link using Rovo.',
|
|
302
|
+
description: 'Description of what the summarize link with AI action does'
|
|
303
|
+
},
|
|
299
304
|
copy_summary_action: {
|
|
300
305
|
id: 'fabric.linking.copy_summary_action',
|
|
301
306
|
defaultMessage: 'Copy summary',
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.getIsAISummaryEnabled = exports.getAISummaryErrorMessage = void 0;
|
|
7
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
7
8
|
var _constants = require("../constants");
|
|
8
9
|
var _messages = require("../messages");
|
|
9
10
|
var getIsAISummaryEnabled = exports.getIsAISummaryEnabled = function getIsAISummaryEnabled() {
|
|
@@ -29,7 +30,7 @@ var getAISummaryErrorMessage = exports.getAISummaryErrorMessage = function getAI
|
|
|
29
30
|
};
|
|
30
31
|
default:
|
|
31
32
|
return {
|
|
32
|
-
message: _messages.messages.ai_summary_error_generic,
|
|
33
|
+
message: (0, _platformFeatureFlags.fg)('platform_sl_ai_summary_rebrand') ? _messages.messages.ai_summary_error_generic_rebrand : _messages.messages.ai_summary_error_generic,
|
|
33
34
|
url: _constants.CONTENT_URL_AI_TROUBLESHOOTING
|
|
34
35
|
};
|
|
35
36
|
}
|
|
@@ -11,7 +11,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
|
|
|
11
11
|
var context = exports.context = {
|
|
12
12
|
componentName: 'smart-cards',
|
|
13
13
|
packageName: "@atlaskit/smart-card" || '',
|
|
14
|
-
packageVersion: "44.9.
|
|
14
|
+
packageVersion: "44.9.6" || ''
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
package/dist/cjs/view/FlexibleCard/components/actions/ai-summary-action/ai-summarise-action.js
CHANGED
|
@@ -10,6 +10,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
10
10
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
11
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _reactIntl = require("react-intl");
|
|
13
|
+
var _rovo = _interopRequireDefault(require("@atlaskit/icon-lab/core/rovo"));
|
|
13
14
|
var _atlassianIntelligence = _interopRequireDefault(require("@atlaskit/icon/core/atlassian-intelligence"));
|
|
14
15
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
15
16
|
var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
|
|
@@ -46,9 +47,10 @@ function AISummariseAction(_ref) {
|
|
|
46
47
|
(_summariseUrl = summariseUrl()) === null || _summariseUrl === void 0 || _summariseUrl.then(onCompleted, onCompleted);
|
|
47
48
|
onClickCallback === null || onClickCallback === void 0 || onClickCallback();
|
|
48
49
|
}, [fireEvent, onClickCallback, onCompleted, summariseUrl]);
|
|
50
|
+
var Icon = (0, _platformFeatureFlags.fg)('platform_sl_ai_summary_rebrand') ? _rovo.default : _atlassianIntelligence.default;
|
|
49
51
|
return /*#__PURE__*/_react.default.createElement(_action.default, (0, _extends2.default)({
|
|
50
|
-
content: /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, _messages.messages.ai_summary_action),
|
|
51
|
-
icon: /*#__PURE__*/_react.default.createElement(
|
|
52
|
+
content: /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, (0, _platformFeatureFlags.fg)('platform_sl_ai_summary_rebrand') ? _messages.messages.ai_summary_action_rebrand : _messages.messages.ai_summary_action),
|
|
53
|
+
icon: /*#__PURE__*/_react.default.createElement(Icon, (0, _extends2.default)({
|
|
52
54
|
spacing: "spacious",
|
|
53
55
|
color: "currentColor",
|
|
54
56
|
label: "Summarise with AI"
|
|
@@ -58,6 +60,6 @@ function AISummariseAction(_ref) {
|
|
|
58
60
|
onClick: handleActionClick,
|
|
59
61
|
testId: "".concat(testId, "-summarise-action"),
|
|
60
62
|
isLoading: status === 'loading',
|
|
61
|
-
tooltipMessage: /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, _messages.messages.ai_summary_action_description)
|
|
63
|
+
tooltipMessage: /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, (0, _platformFeatureFlags.fg)('platform_sl_ai_summary_rebrand') ? _messages.messages.ai_summary_action_description_rebrand : _messages.messages.ai_summary_action_description)
|
|
62
64
|
}, props));
|
|
63
65
|
}
|
package/dist/cjs/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js
CHANGED
|
@@ -8,7 +8,9 @@ exports.AIFooterMetadata = void 0;
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _reactIntl = require("react-intl");
|
|
10
10
|
var _reactMagneticDi = require("react-magnetic-di");
|
|
11
|
+
var _rovo = _interopRequireDefault(require("@atlaskit/icon-lab/core/rovo"));
|
|
11
12
|
var _atlassianIntelligence = _interopRequireDefault(require("@atlaskit/icon/core/atlassian-intelligence"));
|
|
13
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
14
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
13
15
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
14
16
|
var _messages = require("../../../../../../messages");
|
|
@@ -22,6 +24,7 @@ var AIFooterMetadata = exports.AIFooterMetadata = function AIFooterMetadata(_ref
|
|
|
22
24
|
if (status !== 'done') {
|
|
23
25
|
return null;
|
|
24
26
|
}
|
|
27
|
+
var Icon = (0, _platformFeatureFlags.fg)('platform_sl_ai_summary_rebrand') ? _rovo.default : _atlassianIntelligence.default;
|
|
25
28
|
return /*#__PURE__*/_react.default.createElement(_compiled.Inline, {
|
|
26
29
|
space: "space.100",
|
|
27
30
|
testId: testId,
|
|
@@ -35,7 +38,7 @@ var AIFooterMetadata = exports.AIFooterMetadata = function AIFooterMetadata(_ref
|
|
|
35
38
|
label: "Information",
|
|
36
39
|
color: "var(--ds-icon-subtle, #505258)"
|
|
37
40
|
}));
|
|
38
|
-
}), /*#__PURE__*/_react.default.createElement(
|
|
41
|
+
}), /*#__PURE__*/_react.default.createElement(Icon, {
|
|
39
42
|
label: "AI",
|
|
40
43
|
color: "var(--ds-icon-subtle, #505258)"
|
|
41
44
|
}));
|
|
@@ -9,13 +9,14 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
9
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
var _link = _interopRequireDefault(require("@atlaskit/link"));
|
|
12
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
13
|
var _constants = require("../../../../../constants");
|
|
13
14
|
var _excluded = ["children"];
|
|
14
15
|
var AILearnMoreAnchor = function AILearnMoreAnchor(_ref) {
|
|
15
16
|
var children = _ref.children,
|
|
16
17
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
17
18
|
return /*#__PURE__*/_react.default.createElement(_link.default, (0, _extends2.default)({
|
|
18
|
-
href: _constants.CONTENT_URL_AI,
|
|
19
|
+
href: (0, _platformFeatureFlags.fg)('platform_sl_ai_summary_rebrand') ? _constants.CONTENT_URL_ROVO : _constants.CONTENT_URL_AI,
|
|
19
20
|
target: "_blank",
|
|
20
21
|
rel: "noopener noreferrer"
|
|
21
22
|
}, props), children);
|
|
@@ -22,7 +22,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
|
|
|
22
22
|
_excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
|
|
23
23
|
var PACKAGE_DATA = {
|
|
24
24
|
packageName: "@atlaskit/smart-card",
|
|
25
|
-
packageVersion: "44.9.
|
|
25
|
+
packageVersion: "44.9.6",
|
|
26
26
|
componentName: 'linkUrl'
|
|
27
27
|
};
|
|
28
28
|
var Anchor = (0, _click.withLinkClickedEvent)('a');
|
|
@@ -13,7 +13,9 @@ var _runtime = require("@compiled/react/runtime");
|
|
|
13
13
|
var _reactIntl = require("react-intl");
|
|
14
14
|
var _informationCircle = _interopRequireDefault(require("@atlaskit/icon/core/information-circle"));
|
|
15
15
|
var _link = _interopRequireDefault(require("@atlaskit/link"));
|
|
16
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
16
17
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
18
|
+
var _constants = require("../../../../constants");
|
|
17
19
|
var _messages = require("../../../../messages");
|
|
18
20
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
19
21
|
var styles = {
|
|
@@ -31,7 +33,7 @@ var AIFooter = function AIFooter() {
|
|
|
31
33
|
}), /*#__PURE__*/React.createElement(_compiled.Text, {
|
|
32
34
|
size: "small"
|
|
33
35
|
}, /*#__PURE__*/React.createElement(_link.default, {
|
|
34
|
-
href:
|
|
36
|
+
href: (0, _platformFeatureFlags.fg)('platform_sl_ai_summary_rebrand') ? _constants.CONTENT_URL_ROVO : 'https://www.atlassian.com/trust/atlassian-intelligence',
|
|
35
37
|
appearance: "subtle",
|
|
36
38
|
target: "_blank"
|
|
37
39
|
}, /*#__PURE__*/React.createElement(_reactIntl.FormattedMessage, _messages.messages.ai_disclaimer))));
|
package/dist/es2019/constants.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export const CONTENT_URL_SECURITY_AND_PERMISSIONS = 'https://support.atlassian.com/confluence-cloud/docs/insert-links-and-anchors/#Smart-links';
|
|
2
2
|
export const CONTENT_URL_3P_ACCOUNT_AUTH = 'https://support.atlassian.com/confluence-cloud/docs/what-data-is-sent-and-received-when-pasting-a-smart-link/';
|
|
3
3
|
export const CONTENT_URL_AI = 'https://www.atlassian.com/trust/atlassian-intelligence';
|
|
4
|
+
export const CONTENT_URL_ROVO = 'https://www.atlassian.com/trust/ai';
|
|
4
5
|
export const CONTENT_URL_AI_TROUBLESHOOTING = 'https://status.atlassian.com/';
|
|
5
6
|
export const CONTENT_URL_ACCEPTABLE_USE_POLICY = 'https://www.atlassian.com/legal/acceptable-use-policy';
|
|
6
7
|
|
package/dist/es2019/messages.js
CHANGED
|
@@ -15,11 +15,6 @@ export const messages = defineMessages({
|
|
|
15
15
|
defaultMessage: 'Summarize',
|
|
16
16
|
description: 'Action to summarize link resource content with AI'
|
|
17
17
|
},
|
|
18
|
-
ai_summarized: {
|
|
19
|
-
id: 'fabric.linking.ai_summarized',
|
|
20
|
-
defaultMessage: 'Summarized by Atlassian Intelligence',
|
|
21
|
-
description: 'Shown with the content summarised by AI.'
|
|
22
|
-
},
|
|
23
18
|
ai_summarized_abbreviation: {
|
|
24
19
|
id: 'fabric.linking.ai_summarized_abbreviation',
|
|
25
20
|
defaultMessage: 'Summarized by AI',
|
|
@@ -35,16 +30,16 @@ export const messages = defineMessages({
|
|
|
35
30
|
defaultMessage: 'Content quality may vary',
|
|
36
31
|
description: 'Additional info about the content summarised by AI.'
|
|
37
32
|
},
|
|
38
|
-
ai_summarizing: {
|
|
39
|
-
id: 'fabric.linking.ai_summarizing',
|
|
40
|
-
defaultMessage: 'Atlassian Intelligence is working...',
|
|
41
|
-
description: 'Shown when AI summary is summarising the link resource content.'
|
|
42
|
-
},
|
|
43
33
|
ai_summary_error_generic: {
|
|
44
34
|
id: 'fabric.linking.ai_summary_error_generic',
|
|
45
35
|
defaultMessage: 'Atlassian Intelligence (AI) isn’t responding. Try again later or <a>check the status of AI</a>.',
|
|
46
36
|
description: 'Shown when AI Summary encountered an unexpected error while summarizing the linked resource content.'
|
|
47
37
|
},
|
|
38
|
+
ai_summary_error_generic_rebrand: {
|
|
39
|
+
id: 'fabric.linking.ai_summary_error_generic_rebrand',
|
|
40
|
+
defaultMessage: 'Rovo isn’t responding. Try again later or <a>check the status of AI</a>.',
|
|
41
|
+
description: 'Shown when AI Summary encountered an unexpected error while summarizing the linked resource content.'
|
|
42
|
+
},
|
|
48
43
|
ai_summary_error_acceptable_use_violation: {
|
|
49
44
|
id: 'fabric.linking.ai_summary_error_acceptable_use_violation',
|
|
50
45
|
defaultMessage: "We cannot show the results of this summary as it goes against <a>Atlassian's Acceptable Use Policy</a>.",
|
|
@@ -285,11 +280,21 @@ export const messages = defineMessages({
|
|
|
285
280
|
defaultMessage: 'Summarize with AI',
|
|
286
281
|
description: 'Label for the AI summarize action in a smart link or hover card action menu, allowing the user to generate an AI summary of the linked content.'
|
|
287
282
|
},
|
|
283
|
+
ai_summary_action_rebrand: {
|
|
284
|
+
id: 'fabric.linking.ai_summary_action_rebrand',
|
|
285
|
+
defaultMessage: 'Summarize with Rovo',
|
|
286
|
+
description: 'Label for the AI summarize action in a smart link or hover card action menu, allowing the user to generate an AI summary of the linked content.'
|
|
287
|
+
},
|
|
288
288
|
ai_summary_action_description: {
|
|
289
289
|
id: 'fabric.linking.ai_summary_action_description',
|
|
290
290
|
defaultMessage: 'Summarize the content of this link using Atlassian Intelligence.',
|
|
291
291
|
description: 'Description of what the summarize link with AI action does'
|
|
292
292
|
},
|
|
293
|
+
ai_summary_action_description_rebrand: {
|
|
294
|
+
id: 'fabric.linking.ai_summary_action_description_rebrand',
|
|
295
|
+
defaultMessage: 'Summarize the content of this link using Rovo.',
|
|
296
|
+
description: 'Description of what the summarize link with AI action does'
|
|
297
|
+
},
|
|
293
298
|
copy_summary_action: {
|
|
294
299
|
id: 'fabric.linking.copy_summary_action',
|
|
295
300
|
defaultMessage: 'Copy summary',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
1
2
|
import { CONTENT_URL_ACCEPTABLE_USE_POLICY, CONTENT_URL_AI_TROUBLESHOOTING } from '../constants';
|
|
2
3
|
import { messages } from '../messages';
|
|
3
4
|
export const getIsAISummaryEnabled = (isAdminHubAIEnabled = false, response) => {
|
|
@@ -21,7 +22,7 @@ export const getAISummaryErrorMessage = error => {
|
|
|
21
22
|
};
|
|
22
23
|
default:
|
|
23
24
|
return {
|
|
24
|
-
message: messages.ai_summary_error_generic,
|
|
25
|
+
message: fg('platform_sl_ai_summary_rebrand') ? messages.ai_summary_error_generic_rebrand : messages.ai_summary_error_generic,
|
|
25
26
|
url: CONTENT_URL_AI_TROUBLESHOOTING
|
|
26
27
|
};
|
|
27
28
|
}
|
|
@@ -2,7 +2,7 @@ export const ANALYTICS_CHANNEL = 'media';
|
|
|
2
2
|
export const context = {
|
|
3
3
|
componentName: 'smart-cards',
|
|
4
4
|
packageName: "@atlaskit/smart-card" || '',
|
|
5
|
-
packageVersion: "44.9.
|
|
5
|
+
packageVersion: "44.9.6" || ''
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
package/dist/es2019/view/FlexibleCard/components/actions/ai-summary-action/ai-summarise-action.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React, { useCallback } from 'react';
|
|
3
3
|
import { FormattedMessage } from 'react-intl';
|
|
4
|
+
import RovoIcon from '@atlaskit/icon-lab/core/rovo';
|
|
4
5
|
import AiIcon from '@atlaskit/icon/core/atlassian-intelligence';
|
|
5
6
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
7
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
@@ -37,9 +38,10 @@ export function AISummariseAction({
|
|
|
37
38
|
(_summariseUrl = summariseUrl()) === null || _summariseUrl === void 0 ? void 0 : _summariseUrl.then(onCompleted, onCompleted);
|
|
38
39
|
onClickCallback === null || onClickCallback === void 0 ? void 0 : onClickCallback();
|
|
39
40
|
}, [fireEvent, onClickCallback, onCompleted, summariseUrl]);
|
|
41
|
+
const Icon = fg('platform_sl_ai_summary_rebrand') ? RovoIcon : AiIcon;
|
|
40
42
|
return /*#__PURE__*/React.createElement(Action, _extends({
|
|
41
|
-
content: /*#__PURE__*/React.createElement(FormattedMessage, messages.ai_summary_action),
|
|
42
|
-
icon: /*#__PURE__*/React.createElement(
|
|
43
|
+
content: /*#__PURE__*/React.createElement(FormattedMessage, fg('platform_sl_ai_summary_rebrand') ? messages.ai_summary_action_rebrand : messages.ai_summary_action),
|
|
44
|
+
icon: /*#__PURE__*/React.createElement(Icon, _extends({
|
|
43
45
|
spacing: "spacious",
|
|
44
46
|
color: "currentColor",
|
|
45
47
|
label: "Summarise with AI"
|
|
@@ -49,6 +51,6 @@ export function AISummariseAction({
|
|
|
49
51
|
onClick: handleActionClick,
|
|
50
52
|
testId: `${testId}-summarise-action`,
|
|
51
53
|
isLoading: status === 'loading',
|
|
52
|
-
tooltipMessage: /*#__PURE__*/React.createElement(FormattedMessage, messages.ai_summary_action_description)
|
|
54
|
+
tooltipMessage: /*#__PURE__*/React.createElement(FormattedMessage, fg('platform_sl_ai_summary_rebrand') ? messages.ai_summary_action_description_rebrand : messages.ai_summary_action_description)
|
|
53
55
|
}, props));
|
|
54
56
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FormattedMessage } from 'react-intl';
|
|
3
3
|
import { di } from 'react-magnetic-di';
|
|
4
|
+
import RovoIcon from '@atlaskit/icon-lab/core/rovo';
|
|
4
5
|
import AIIcon from '@atlaskit/icon/core/atlassian-intelligence';
|
|
6
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
7
|
import { Box, Inline } from '@atlaskit/primitives/compiled';
|
|
6
8
|
import Tooltip from '@atlaskit/tooltip';
|
|
7
9
|
import { messages } from '../../../../../../messages';
|
|
@@ -19,6 +21,7 @@ export const AIFooterMetadata = ({
|
|
|
19
21
|
if (status !== 'done') {
|
|
20
22
|
return null;
|
|
21
23
|
}
|
|
24
|
+
const Icon = fg('platform_sl_ai_summary_rebrand') ? RovoIcon : AIIcon;
|
|
22
25
|
return /*#__PURE__*/React.createElement(Inline, {
|
|
23
26
|
space: "space.100",
|
|
24
27
|
testId: testId,
|
|
@@ -30,7 +33,7 @@ export const AIFooterMetadata = ({
|
|
|
30
33
|
}, tooltipProps => /*#__PURE__*/React.createElement(Box, tooltipProps, /*#__PURE__*/React.createElement(InfoIcon, {
|
|
31
34
|
label: "Information",
|
|
32
35
|
color: "var(--ds-icon-subtle, #505258)"
|
|
33
|
-
}))), /*#__PURE__*/React.createElement(
|
|
36
|
+
}))), /*#__PURE__*/React.createElement(Icon, {
|
|
34
37
|
label: "AI",
|
|
35
38
|
color: "var(--ds-icon-subtle, #505258)"
|
|
36
39
|
}));
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import Link from '@atlaskit/link';
|
|
4
|
-
import {
|
|
4
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
|
+
import { CONTENT_URL_AI, CONTENT_URL_ROVO } from '../../../../../constants';
|
|
5
6
|
const AILearnMoreAnchor = ({
|
|
6
7
|
children,
|
|
7
8
|
...props
|
|
8
9
|
}) => /*#__PURE__*/React.createElement(Link, _extends({
|
|
9
|
-
href: CONTENT_URL_AI,
|
|
10
|
+
href: fg('platform_sl_ai_summary_rebrand') ? CONTENT_URL_ROVO : CONTENT_URL_AI,
|
|
10
11
|
target: "_blank",
|
|
11
12
|
rel: "noopener noreferrer"
|
|
12
13
|
}, props), children);
|
|
@@ -12,7 +12,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
12
12
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
13
13
|
const PACKAGE_DATA = {
|
|
14
14
|
packageName: "@atlaskit/smart-card",
|
|
15
|
-
packageVersion: "44.9.
|
|
15
|
+
packageVersion: "44.9.6",
|
|
16
16
|
componentName: 'linkUrl'
|
|
17
17
|
};
|
|
18
18
|
const Anchor = withLinkClickedEvent('a');
|
|
@@ -5,7 +5,9 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
import { FormattedMessage } from 'react-intl';
|
|
6
6
|
import InformationCircleIcon from '@atlaskit/icon/core/information-circle';
|
|
7
7
|
import Link from '@atlaskit/link';
|
|
8
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
9
|
import { Inline, Text } from '@atlaskit/primitives/compiled';
|
|
10
|
+
import { CONTENT_URL_ROVO } from '../../../../constants';
|
|
9
11
|
import { messages } from '../../../../messages';
|
|
10
12
|
const styles = {
|
|
11
13
|
aiFooterWrapper: "_ca0q1b66"
|
|
@@ -21,7 +23,7 @@ const AIFooter = () => /*#__PURE__*/React.createElement(Inline, {
|
|
|
21
23
|
}), /*#__PURE__*/React.createElement(Text, {
|
|
22
24
|
size: "small"
|
|
23
25
|
}, /*#__PURE__*/React.createElement(Link, {
|
|
24
|
-
href:
|
|
26
|
+
href: fg('platform_sl_ai_summary_rebrand') ? CONTENT_URL_ROVO : 'https://www.atlassian.com/trust/atlassian-intelligence',
|
|
25
27
|
appearance: "subtle",
|
|
26
28
|
target: "_blank"
|
|
27
29
|
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.ai_disclaimer))));
|
package/dist/esm/constants.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export var CONTENT_URL_SECURITY_AND_PERMISSIONS = 'https://support.atlassian.com/confluence-cloud/docs/insert-links-and-anchors/#Smart-links';
|
|
2
2
|
export var CONTENT_URL_3P_ACCOUNT_AUTH = 'https://support.atlassian.com/confluence-cloud/docs/what-data-is-sent-and-received-when-pasting-a-smart-link/';
|
|
3
3
|
export var CONTENT_URL_AI = 'https://www.atlassian.com/trust/atlassian-intelligence';
|
|
4
|
+
export var CONTENT_URL_ROVO = 'https://www.atlassian.com/trust/ai';
|
|
4
5
|
export var CONTENT_URL_AI_TROUBLESHOOTING = 'https://status.atlassian.com/';
|
|
5
6
|
export var CONTENT_URL_ACCEPTABLE_USE_POLICY = 'https://www.atlassian.com/legal/acceptable-use-policy';
|
|
6
7
|
|
package/dist/esm/messages.js
CHANGED
|
@@ -15,11 +15,6 @@ export var messages = defineMessages({
|
|
|
15
15
|
defaultMessage: 'Summarize',
|
|
16
16
|
description: 'Action to summarize link resource content with AI'
|
|
17
17
|
},
|
|
18
|
-
ai_summarized: {
|
|
19
|
-
id: 'fabric.linking.ai_summarized',
|
|
20
|
-
defaultMessage: 'Summarized by Atlassian Intelligence',
|
|
21
|
-
description: 'Shown with the content summarised by AI.'
|
|
22
|
-
},
|
|
23
18
|
ai_summarized_abbreviation: {
|
|
24
19
|
id: 'fabric.linking.ai_summarized_abbreviation',
|
|
25
20
|
defaultMessage: 'Summarized by AI',
|
|
@@ -35,16 +30,16 @@ export var messages = defineMessages({
|
|
|
35
30
|
defaultMessage: 'Content quality may vary',
|
|
36
31
|
description: 'Additional info about the content summarised by AI.'
|
|
37
32
|
},
|
|
38
|
-
ai_summarizing: {
|
|
39
|
-
id: 'fabric.linking.ai_summarizing',
|
|
40
|
-
defaultMessage: 'Atlassian Intelligence is working...',
|
|
41
|
-
description: 'Shown when AI summary is summarising the link resource content.'
|
|
42
|
-
},
|
|
43
33
|
ai_summary_error_generic: {
|
|
44
34
|
id: 'fabric.linking.ai_summary_error_generic',
|
|
45
35
|
defaultMessage: 'Atlassian Intelligence (AI) isn’t responding. Try again later or <a>check the status of AI</a>.',
|
|
46
36
|
description: 'Shown when AI Summary encountered an unexpected error while summarizing the linked resource content.'
|
|
47
37
|
},
|
|
38
|
+
ai_summary_error_generic_rebrand: {
|
|
39
|
+
id: 'fabric.linking.ai_summary_error_generic_rebrand',
|
|
40
|
+
defaultMessage: 'Rovo isn’t responding. Try again later or <a>check the status of AI</a>.',
|
|
41
|
+
description: 'Shown when AI Summary encountered an unexpected error while summarizing the linked resource content.'
|
|
42
|
+
},
|
|
48
43
|
ai_summary_error_acceptable_use_violation: {
|
|
49
44
|
id: 'fabric.linking.ai_summary_error_acceptable_use_violation',
|
|
50
45
|
defaultMessage: "We cannot show the results of this summary as it goes against <a>Atlassian's Acceptable Use Policy</a>.",
|
|
@@ -285,11 +280,21 @@ export var messages = defineMessages({
|
|
|
285
280
|
defaultMessage: 'Summarize with AI',
|
|
286
281
|
description: 'Label for the AI summarize action in a smart link or hover card action menu, allowing the user to generate an AI summary of the linked content.'
|
|
287
282
|
},
|
|
283
|
+
ai_summary_action_rebrand: {
|
|
284
|
+
id: 'fabric.linking.ai_summary_action_rebrand',
|
|
285
|
+
defaultMessage: 'Summarize with Rovo',
|
|
286
|
+
description: 'Label for the AI summarize action in a smart link or hover card action menu, allowing the user to generate an AI summary of the linked content.'
|
|
287
|
+
},
|
|
288
288
|
ai_summary_action_description: {
|
|
289
289
|
id: 'fabric.linking.ai_summary_action_description',
|
|
290
290
|
defaultMessage: 'Summarize the content of this link using Atlassian Intelligence.',
|
|
291
291
|
description: 'Description of what the summarize link with AI action does'
|
|
292
292
|
},
|
|
293
|
+
ai_summary_action_description_rebrand: {
|
|
294
|
+
id: 'fabric.linking.ai_summary_action_description_rebrand',
|
|
295
|
+
defaultMessage: 'Summarize the content of this link using Rovo.',
|
|
296
|
+
description: 'Description of what the summarize link with AI action does'
|
|
297
|
+
},
|
|
293
298
|
copy_summary_action: {
|
|
294
299
|
id: 'fabric.linking.copy_summary_action',
|
|
295
300
|
defaultMessage: 'Copy summary',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
1
2
|
import { CONTENT_URL_ACCEPTABLE_USE_POLICY, CONTENT_URL_AI_TROUBLESHOOTING } from '../constants';
|
|
2
3
|
import { messages } from '../messages';
|
|
3
4
|
export var getIsAISummaryEnabled = function getIsAISummaryEnabled() {
|
|
@@ -23,7 +24,7 @@ export var getAISummaryErrorMessage = function getAISummaryErrorMessage(error) {
|
|
|
23
24
|
};
|
|
24
25
|
default:
|
|
25
26
|
return {
|
|
26
|
-
message: messages.ai_summary_error_generic,
|
|
27
|
+
message: fg('platform_sl_ai_summary_rebrand') ? messages.ai_summary_error_generic_rebrand : messages.ai_summary_error_generic,
|
|
27
28
|
url: CONTENT_URL_AI_TROUBLESHOOTING
|
|
28
29
|
};
|
|
29
30
|
}
|
|
@@ -4,7 +4,7 @@ export var ANALYTICS_CHANNEL = 'media';
|
|
|
4
4
|
export var context = {
|
|
5
5
|
componentName: 'smart-cards',
|
|
6
6
|
packageName: "@atlaskit/smart-card" || '',
|
|
7
|
-
packageVersion: "44.9.
|
|
7
|
+
packageVersion: "44.9.6" || ''
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
package/dist/esm/view/FlexibleCard/components/actions/ai-summary-action/ai-summarise-action.js
CHANGED
|
@@ -3,6 +3,7 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
var _excluded = ["onClick", "onError", "testId", "status", "summariseUrl"];
|
|
4
4
|
import React, { useCallback } from 'react';
|
|
5
5
|
import { FormattedMessage } from 'react-intl';
|
|
6
|
+
import RovoIcon from '@atlaskit/icon-lab/core/rovo';
|
|
6
7
|
import AiIcon from '@atlaskit/icon/core/atlassian-intelligence';
|
|
7
8
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
9
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
@@ -37,9 +38,10 @@ export function AISummariseAction(_ref) {
|
|
|
37
38
|
(_summariseUrl = summariseUrl()) === null || _summariseUrl === void 0 || _summariseUrl.then(onCompleted, onCompleted);
|
|
38
39
|
onClickCallback === null || onClickCallback === void 0 || onClickCallback();
|
|
39
40
|
}, [fireEvent, onClickCallback, onCompleted, summariseUrl]);
|
|
41
|
+
var Icon = fg('platform_sl_ai_summary_rebrand') ? RovoIcon : AiIcon;
|
|
40
42
|
return /*#__PURE__*/React.createElement(Action, _extends({
|
|
41
|
-
content: /*#__PURE__*/React.createElement(FormattedMessage, messages.ai_summary_action),
|
|
42
|
-
icon: /*#__PURE__*/React.createElement(
|
|
43
|
+
content: /*#__PURE__*/React.createElement(FormattedMessage, fg('platform_sl_ai_summary_rebrand') ? messages.ai_summary_action_rebrand : messages.ai_summary_action),
|
|
44
|
+
icon: /*#__PURE__*/React.createElement(Icon, _extends({
|
|
43
45
|
spacing: "spacious",
|
|
44
46
|
color: "currentColor",
|
|
45
47
|
label: "Summarise with AI"
|
|
@@ -49,6 +51,6 @@ export function AISummariseAction(_ref) {
|
|
|
49
51
|
onClick: handleActionClick,
|
|
50
52
|
testId: "".concat(testId, "-summarise-action"),
|
|
51
53
|
isLoading: status === 'loading',
|
|
52
|
-
tooltipMessage: /*#__PURE__*/React.createElement(FormattedMessage, messages.ai_summary_action_description)
|
|
54
|
+
tooltipMessage: /*#__PURE__*/React.createElement(FormattedMessage, fg('platform_sl_ai_summary_rebrand') ? messages.ai_summary_action_description_rebrand : messages.ai_summary_action_description)
|
|
53
55
|
}, props));
|
|
54
56
|
}
|
package/dist/esm/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FormattedMessage } from 'react-intl';
|
|
3
3
|
import { di } from 'react-magnetic-di';
|
|
4
|
+
import RovoIcon from '@atlaskit/icon-lab/core/rovo';
|
|
4
5
|
import AIIcon from '@atlaskit/icon/core/atlassian-intelligence';
|
|
6
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
7
|
import { Box, Inline } from '@atlaskit/primitives/compiled';
|
|
6
8
|
import Tooltip from '@atlaskit/tooltip';
|
|
7
9
|
import { messages } from '../../../../../../messages';
|
|
@@ -15,6 +17,7 @@ export var AIFooterMetadata = function AIFooterMetadata(_ref) {
|
|
|
15
17
|
if (status !== 'done') {
|
|
16
18
|
return null;
|
|
17
19
|
}
|
|
20
|
+
var Icon = fg('platform_sl_ai_summary_rebrand') ? RovoIcon : AIIcon;
|
|
18
21
|
return /*#__PURE__*/React.createElement(Inline, {
|
|
19
22
|
space: "space.100",
|
|
20
23
|
testId: testId,
|
|
@@ -28,7 +31,7 @@ export var AIFooterMetadata = function AIFooterMetadata(_ref) {
|
|
|
28
31
|
label: "Information",
|
|
29
32
|
color: "var(--ds-icon-subtle, #505258)"
|
|
30
33
|
}));
|
|
31
|
-
}), /*#__PURE__*/React.createElement(
|
|
34
|
+
}), /*#__PURE__*/React.createElement(Icon, {
|
|
32
35
|
label: "AI",
|
|
33
36
|
color: "var(--ds-icon-subtle, #505258)"
|
|
34
37
|
}));
|
|
@@ -3,12 +3,13 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
var _excluded = ["children"];
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import Link from '@atlaskit/link';
|
|
6
|
-
import {
|
|
6
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
|
+
import { CONTENT_URL_AI, CONTENT_URL_ROVO } from '../../../../../constants';
|
|
7
8
|
var AILearnMoreAnchor = function AILearnMoreAnchor(_ref) {
|
|
8
9
|
var children = _ref.children,
|
|
9
10
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
10
11
|
return /*#__PURE__*/React.createElement(Link, _extends({
|
|
11
|
-
href: CONTENT_URL_AI,
|
|
12
|
+
href: fg('platform_sl_ai_summary_rebrand') ? CONTENT_URL_ROVO : CONTENT_URL_AI,
|
|
12
13
|
target: "_blank",
|
|
13
14
|
rel: "noopener noreferrer"
|
|
14
15
|
}, props), children);
|
|
@@ -15,7 +15,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
15
15
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
16
16
|
var PACKAGE_DATA = {
|
|
17
17
|
packageName: "@atlaskit/smart-card",
|
|
18
|
-
packageVersion: "44.9.
|
|
18
|
+
packageVersion: "44.9.6",
|
|
19
19
|
componentName: 'linkUrl'
|
|
20
20
|
};
|
|
21
21
|
var Anchor = withLinkClickedEvent('a');
|
|
@@ -5,7 +5,9 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
import { FormattedMessage } from 'react-intl';
|
|
6
6
|
import InformationCircleIcon from '@atlaskit/icon/core/information-circle';
|
|
7
7
|
import Link from '@atlaskit/link';
|
|
8
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
9
|
import { Inline, Text } from '@atlaskit/primitives/compiled';
|
|
10
|
+
import { CONTENT_URL_ROVO } from '../../../../constants';
|
|
9
11
|
import { messages } from '../../../../messages';
|
|
10
12
|
var styles = {
|
|
11
13
|
aiFooterWrapper: "_ca0q1b66"
|
|
@@ -22,7 +24,7 @@ var AIFooter = function AIFooter() {
|
|
|
22
24
|
}), /*#__PURE__*/React.createElement(Text, {
|
|
23
25
|
size: "small"
|
|
24
26
|
}, /*#__PURE__*/React.createElement(Link, {
|
|
25
|
-
href:
|
|
27
|
+
href: fg('platform_sl_ai_summary_rebrand') ? CONTENT_URL_ROVO : 'https://www.atlassian.com/trust/atlassian-intelligence',
|
|
26
28
|
appearance: "subtle",
|
|
27
29
|
target: "_blank"
|
|
28
30
|
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.ai_disclaimer))));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const CONTENT_URL_SECURITY_AND_PERMISSIONS = "https://support.atlassian.com/confluence-cloud/docs/insert-links-and-anchors/#Smart-links";
|
|
2
2
|
export declare const CONTENT_URL_3P_ACCOUNT_AUTH = "https://support.atlassian.com/confluence-cloud/docs/what-data-is-sent-and-received-when-pasting-a-smart-link/";
|
|
3
3
|
export declare const CONTENT_URL_AI = "https://www.atlassian.com/trust/atlassian-intelligence";
|
|
4
|
+
export declare const CONTENT_URL_ROVO = "https://www.atlassian.com/trust/ai";
|
|
4
5
|
export declare const CONTENT_URL_AI_TROUBLESHOOTING = "https://status.atlassian.com/";
|
|
5
6
|
export declare const CONTENT_URL_ACCEPTABLE_USE_POLICY = "https://www.atlassian.com/legal/acceptable-use-policy";
|
|
6
7
|
/**
|
package/dist/types/messages.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type MessageDescriptor } from 'react-intl';
|
|
2
2
|
export type RequestAccessMessageKey = 'click_to_join' | 'click_to_join_description' | 'forbidden_description' | 'request_access' | 'request_access_description' | 'request_access_pending' | 'request_access_pending_title' | 'request_access_pending_description' | 'request_denied_description' | 'default_no_access_title' | 'direct_access_title' | 'direct_access_description' | 'direct_access' | 'access_exists_description' | 'not_found_description' | 'not_found_title';
|
|
3
3
|
export type RovoChatActionMessageKey = 'rovo_prompt_context_generic' | 'rovo_prompt_context_generic_plural' | 'rovo_prompt_context_confluence_page' | 'rovo_prompt_context_confluence_page_short' | 'rovo_prompt_context_jira_work_item' | 'rovo_prompt_context_jira_work_item_short' | 'rovo_prompt_button_recommend_other_sources' | 'rovo_prompt_message_recommend_other_sources' | 'rovo_prompt_button_show_other_mentions' | 'rovo_prompt_message_show_other_mentions' | 'rovo_prompt_button_suggest_improvement' | 'rovo_prompt_message_suggest_improvement' | 'rovo_prompt_message_summarize' | 'rovo_prompt_button_ask_rovo_anything' | 'rovo_prompt_message_ask_rovo_anything' | 'rovo_prompt_button_highlight_relevant_content' | 'rovo_prompt_message_highlight_relevant_content' | 'rovo_prompt_button_identify_key_trends' | 'rovo_prompt_message_identify_key_trends' | 'rovo_prompt_button_identify_key_points' | 'rovo_prompt_message_identify_key_points' | 'rovo_prompt_button_find_open_questions' | 'rovo_prompt_message_find_open_questions' | 'rovo_prompt_button_key_highlights' | 'rovo_prompt_message_key_highlights';
|
|
4
|
-
export type MessageKey = 'assigned_to' | 'ai_summarize' | 'change_status' | '
|
|
4
|
+
export type MessageKey = 'assigned_to' | 'ai_summarize' | 'change_status' | 'ai_summarized_abbreviation' | 'ai_summarized_info' | 'ai_summarized_info_short' | 'ai_summary_error_generic' | 'ai_summary_error_generic_rebrand' | 'ai_summary_error_acceptable_use_violation' | 'ai_summary_error_hipaa_content_detected' | 'ai_summary_error_exceeding_context_length_error' | 'ai_summary_action' | 'ai_summary_action_rebrand' | 'ai_summary_action_description' | 'ai_summary_action_description_rebrand' | 'automation_action_title' | 'automation_action_tooltip' | 'automation_action_icon_label' | 'automation_action_confluence_page_modal_title' | 'automation_action_confluence_page_modal_description' | 'copy_summary_action' | 'copy_summary_action_description' | 'copied_summary_action_description' | 'beta' | 'cannot_find_link' | 'compass_applied_components_count' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'connect_link_account_success_flag_description' | 'connect_link_account_success_flag_title' | 'connect_link_account_success_flag_title_default' | 'connect_unauthorised_account_action' | 'connect_inline_social_proof' | 'social_proof_inline_cta_tag_high_with_context' | 'social_proof_inline_cta_tag_high_no_context' | 'social_proof_inline_cta_tag_low_with_context' | 'social_proof_inline_cta_tag_low_no_context' | 'connect_unauthorised_account_description' | 'connect_unauthorised_account_description_no_provider' | 'continue' | 'copy_url_to_clipboard' | 'copied_url_to_clipboard' | 'could_not_load_link' | 'download' | 'download_description' | 'download_file' | 'follow' | 'follow_project_description' | 'follow_project_descriptionGalaxia' | 'follow_project' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | 'follow_project_errorGalaxia' | 'follow_goal_error' | 'go_back' | 'invalid_permissions' | 'invalid_permissions_description' | 'join_to_view' | 'connect_link_account' | 'created_by' | 'created_on_relative' | 'created_on_absolute' | 'check_this_link' | 'delete' | 'edit' | 'learn_more_about_smart_links' | 'learn_more_about_connecting_account' | 'loading' | 'link_safety_warning_message' | 'modified_by' | 'modified_on_relative' | 'modified_on_absolute' | 'more_actions' | 'not_found_title' | 'not_found_description' | 'open_issue_in_jira' | 'open_link_in_a_new_tab' | 'owned_by' | 'owned_by_override' | 'preview_description' | 'preview_improved' | 'preview_modal' | 'preview_panel' | 'preview_close' | 'preview_max_size' | 'preview_min_size' | 'priority_blocker' | 'priority_critical' | 'priority_high' | 'priority_highest' | 'priority_low' | 'priority_lowest' | 'priority_major' | 'priority_medium' | 'priority_minor' | 'priority_trivial' | 'priority_undefined' | 'forbidden_access' | 'pending_request' | 'read_time' | 'restricted_link' | 'request_access_to_view' | 'request_denied' | 'sent_on_relative' | 'sent_on_absolute' | 'status_change_load_error' | 'status_change_permission_error' | 'status_change_update_error' | 'try_again' | 'try_another_account' | 'unauthorised_account_description' | 'unauthorised_account_description_no_provider' | 'unauthorised_account_name' | 'unauthorised_account_name_no_provider' | 'rovo_actions_explore' | 'unassigned' | 'unfollow' | 'unfollow_project_description' | 'unfollow_project_descriptionGalaxia' | 'unfollow_project' | 'unfollow_project_error' | 'unfollow_project_errorGalaxia' | 'unfollow_goal' | 'unfollow_goal_description' | 'unfollow_goal_error' | 'user_attributes' | 'view' | 'viewIn' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related' | 'generic_error_message' | 'related_links_modal_error_title' | 'related_links_modal_error_description' | 'related_links_modal_unavailable_title' | 'related_links_modal_unavailable_description' | 'related_links_modal_title' | 'related_links_view_related_urls' | 'related_links_view_related_links' | 'related_links_found_in' | 'related_links_includes_links_to' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'team_members_count' | 'status_change_permission_errorIssueTermRefresh' | 'connect_unauthorised_account_description_appify' | 'connect_unauthorised_account_description_no_provider_appify' | 'learn_more_about_connecting_account_experiment_shorter' | 'learn_more_about_connecting_account_appify' | 'rovo_summary_loading' | 'ai_disclaimer' | 'rovo_unauthorised_title' | 'rovo_unauthorised_title_no_provider' | 'rovo_unauthorised_feature_clear_link_names' | 'rovo_unauthorised_feature_understand_linked_docs' | 'rovo_unauthorised_feature_go_deeper_smart_suggestions' | 'rovo_unauthorised_connect_account' | 'rovo_unauthorised_not_now' | 'rovo_chat_action_section_header' | 'rovo_prompt_button_summarize_this' | 'rovo_prompt_button_ask_a_specific_question' | 'rovo_prompt_button_show_me_whats_relevant' | RovoChatActionMessageKey | 'pre_auth_block_social_proof_not_low' | 'pre_auth_block_social_proof_low';
|
|
5
5
|
type Messages = {
|
|
6
6
|
[K in MessageKey]: MessageDescriptor;
|
|
7
7
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const CONTENT_URL_SECURITY_AND_PERMISSIONS = "https://support.atlassian.com/confluence-cloud/docs/insert-links-and-anchors/#Smart-links";
|
|
2
2
|
export declare const CONTENT_URL_3P_ACCOUNT_AUTH = "https://support.atlassian.com/confluence-cloud/docs/what-data-is-sent-and-received-when-pasting-a-smart-link/";
|
|
3
3
|
export declare const CONTENT_URL_AI = "https://www.atlassian.com/trust/atlassian-intelligence";
|
|
4
|
+
export declare const CONTENT_URL_ROVO = "https://www.atlassian.com/trust/ai";
|
|
4
5
|
export declare const CONTENT_URL_AI_TROUBLESHOOTING = "https://status.atlassian.com/";
|
|
5
6
|
export declare const CONTENT_URL_ACCEPTABLE_USE_POLICY = "https://www.atlassian.com/legal/acceptable-use-policy";
|
|
6
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type MessageDescriptor } from 'react-intl';
|
|
2
2
|
export type RequestAccessMessageKey = 'click_to_join' | 'click_to_join_description' | 'forbidden_description' | 'request_access' | 'request_access_description' | 'request_access_pending' | 'request_access_pending_title' | 'request_access_pending_description' | 'request_denied_description' | 'default_no_access_title' | 'direct_access_title' | 'direct_access_description' | 'direct_access' | 'access_exists_description' | 'not_found_description' | 'not_found_title';
|
|
3
3
|
export type RovoChatActionMessageKey = 'rovo_prompt_context_generic' | 'rovo_prompt_context_generic_plural' | 'rovo_prompt_context_confluence_page' | 'rovo_prompt_context_confluence_page_short' | 'rovo_prompt_context_jira_work_item' | 'rovo_prompt_context_jira_work_item_short' | 'rovo_prompt_button_recommend_other_sources' | 'rovo_prompt_message_recommend_other_sources' | 'rovo_prompt_button_show_other_mentions' | 'rovo_prompt_message_show_other_mentions' | 'rovo_prompt_button_suggest_improvement' | 'rovo_prompt_message_suggest_improvement' | 'rovo_prompt_message_summarize' | 'rovo_prompt_button_ask_rovo_anything' | 'rovo_prompt_message_ask_rovo_anything' | 'rovo_prompt_button_highlight_relevant_content' | 'rovo_prompt_message_highlight_relevant_content' | 'rovo_prompt_button_identify_key_trends' | 'rovo_prompt_message_identify_key_trends' | 'rovo_prompt_button_identify_key_points' | 'rovo_prompt_message_identify_key_points' | 'rovo_prompt_button_find_open_questions' | 'rovo_prompt_message_find_open_questions' | 'rovo_prompt_button_key_highlights' | 'rovo_prompt_message_key_highlights';
|
|
4
|
-
export type MessageKey = 'assigned_to' | 'ai_summarize' | 'change_status' | '
|
|
4
|
+
export type MessageKey = 'assigned_to' | 'ai_summarize' | 'change_status' | 'ai_summarized_abbreviation' | 'ai_summarized_info' | 'ai_summarized_info_short' | 'ai_summary_error_generic' | 'ai_summary_error_generic_rebrand' | 'ai_summary_error_acceptable_use_violation' | 'ai_summary_error_hipaa_content_detected' | 'ai_summary_error_exceeding_context_length_error' | 'ai_summary_action' | 'ai_summary_action_rebrand' | 'ai_summary_action_description' | 'ai_summary_action_description_rebrand' | 'automation_action_title' | 'automation_action_tooltip' | 'automation_action_icon_label' | 'automation_action_confluence_page_modal_title' | 'automation_action_confluence_page_modal_description' | 'copy_summary_action' | 'copy_summary_action_description' | 'copied_summary_action_description' | 'beta' | 'cannot_find_link' | 'compass_applied_components_count' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'connect_link_account_success_flag_description' | 'connect_link_account_success_flag_title' | 'connect_link_account_success_flag_title_default' | 'connect_unauthorised_account_action' | 'connect_inline_social_proof' | 'social_proof_inline_cta_tag_high_with_context' | 'social_proof_inline_cta_tag_high_no_context' | 'social_proof_inline_cta_tag_low_with_context' | 'social_proof_inline_cta_tag_low_no_context' | 'connect_unauthorised_account_description' | 'connect_unauthorised_account_description_no_provider' | 'continue' | 'copy_url_to_clipboard' | 'copied_url_to_clipboard' | 'could_not_load_link' | 'download' | 'download_description' | 'download_file' | 'follow' | 'follow_project_description' | 'follow_project_descriptionGalaxia' | 'follow_project' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | 'follow_project_errorGalaxia' | 'follow_goal_error' | 'go_back' | 'invalid_permissions' | 'invalid_permissions_description' | 'join_to_view' | 'connect_link_account' | 'created_by' | 'created_on_relative' | 'created_on_absolute' | 'check_this_link' | 'delete' | 'edit' | 'learn_more_about_smart_links' | 'learn_more_about_connecting_account' | 'loading' | 'link_safety_warning_message' | 'modified_by' | 'modified_on_relative' | 'modified_on_absolute' | 'more_actions' | 'not_found_title' | 'not_found_description' | 'open_issue_in_jira' | 'open_link_in_a_new_tab' | 'owned_by' | 'owned_by_override' | 'preview_description' | 'preview_improved' | 'preview_modal' | 'preview_panel' | 'preview_close' | 'preview_max_size' | 'preview_min_size' | 'priority_blocker' | 'priority_critical' | 'priority_high' | 'priority_highest' | 'priority_low' | 'priority_lowest' | 'priority_major' | 'priority_medium' | 'priority_minor' | 'priority_trivial' | 'priority_undefined' | 'forbidden_access' | 'pending_request' | 'read_time' | 'restricted_link' | 'request_access_to_view' | 'request_denied' | 'sent_on_relative' | 'sent_on_absolute' | 'status_change_load_error' | 'status_change_permission_error' | 'status_change_update_error' | 'try_again' | 'try_another_account' | 'unauthorised_account_description' | 'unauthorised_account_description_no_provider' | 'unauthorised_account_name' | 'unauthorised_account_name_no_provider' | 'rovo_actions_explore' | 'unassigned' | 'unfollow' | 'unfollow_project_description' | 'unfollow_project_descriptionGalaxia' | 'unfollow_project' | 'unfollow_project_error' | 'unfollow_project_errorGalaxia' | 'unfollow_goal' | 'unfollow_goal_description' | 'unfollow_goal_error' | 'user_attributes' | 'view' | 'viewIn' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related' | 'generic_error_message' | 'related_links_modal_error_title' | 'related_links_modal_error_description' | 'related_links_modal_unavailable_title' | 'related_links_modal_unavailable_description' | 'related_links_modal_title' | 'related_links_view_related_urls' | 'related_links_view_related_links' | 'related_links_found_in' | 'related_links_includes_links_to' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'team_members_count' | 'status_change_permission_errorIssueTermRefresh' | 'connect_unauthorised_account_description_appify' | 'connect_unauthorised_account_description_no_provider_appify' | 'learn_more_about_connecting_account_experiment_shorter' | 'learn_more_about_connecting_account_appify' | 'rovo_summary_loading' | 'ai_disclaimer' | 'rovo_unauthorised_title' | 'rovo_unauthorised_title_no_provider' | 'rovo_unauthorised_feature_clear_link_names' | 'rovo_unauthorised_feature_understand_linked_docs' | 'rovo_unauthorised_feature_go_deeper_smart_suggestions' | 'rovo_unauthorised_connect_account' | 'rovo_unauthorised_not_now' | 'rovo_chat_action_section_header' | 'rovo_prompt_button_summarize_this' | 'rovo_prompt_button_ask_a_specific_question' | 'rovo_prompt_button_show_me_whats_relevant' | RovoChatActionMessageKey | 'pre_auth_block_social_proof_not_low' | 'pre_auth_block_social_proof_low';
|
|
5
5
|
type Messages = {
|
|
6
6
|
[K in MessageKey]: MessageDescriptor;
|
|
7
7
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "44.9.
|
|
3
|
+
"version": "44.9.7",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"@atlaskit/textfield": "^8.3.0",
|
|
87
87
|
"@atlaskit/theme": "^23.2.0",
|
|
88
88
|
"@atlaskit/tile": "^1.1.0",
|
|
89
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
89
|
+
"@atlaskit/tmp-editor-statsig": "^80.0.0",
|
|
90
90
|
"@atlaskit/tokens": "^13.0.0",
|
|
91
91
|
"@atlaskit/tooltip": "^22.2.0",
|
|
92
92
|
"@atlaskit/ufo": "^0.4.0",
|
|
@@ -225,6 +225,9 @@
|
|
|
225
225
|
"platform_sl_connect_account_flag": {
|
|
226
226
|
"type": "boolean"
|
|
227
227
|
},
|
|
228
|
+
"platform_sl_ai_summary_rebrand": {
|
|
229
|
+
"type": "boolean"
|
|
230
|
+
},
|
|
228
231
|
"platform-dst-shape-theme-default": {
|
|
229
232
|
"type": "boolean"
|
|
230
233
|
},
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|