@atlaskit/rovo-triggers 7.4.2 → 7.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/dist/cjs/types.js +9 -0
- package/dist/es2019/types.js +9 -0
- package/dist/esm/types.js +9 -0
- package/dist/types/types.d.ts +20 -1
- package/dist/types-ts4.5/types.d.ts +20 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/rovo-triggers
|
|
2
2
|
|
|
3
|
+
## 7.5.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 7.5.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`8f6e8fce75e2c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8f6e8fce75e2c) -
|
|
14
|
+
[ux] Show Smart Link post-auth custom action UI in the Rovo Chat mini-modal, guarded by the
|
|
15
|
+
post-auth chat feature gate. Includes the dedicated Smart Link launch payload, Conversation
|
|
16
|
+
Assistant mini-modal UI integration, post-auth action chips, and native context banner support for
|
|
17
|
+
the clicked Smart Link context without enabling current page context.
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
|
|
3
23
|
## 7.4.2
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/dist/cjs/types.js
CHANGED
|
@@ -28,6 +28,15 @@ var Topics = exports.Topics = {
|
|
|
28
28
|
// Not using the PayloadCore because the `data: type | undefined` is necessary
|
|
29
29
|
// but `| undefined` will cause `data` to be removed by PayloadCore
|
|
30
30
|
|
|
31
|
+
/**
|
|
32
|
+
* Experiment-scoped Smart Link post-auth launch event for
|
|
33
|
+
* platform_sl_3p_post_auth_chat_open_fg / platform_sl_3p_post_auth_chat_open_exp.
|
|
34
|
+
*
|
|
35
|
+
* This opens Rovo Chat in mini-modal mode with custom post-auth UI, without sending
|
|
36
|
+
* a prompt. If the experiment does not become permanent, remove this event type as
|
|
37
|
+
* part of the experiment cleanup.
|
|
38
|
+
*/
|
|
39
|
+
|
|
31
40
|
/** Inserts a prompt into the chat input - either:
|
|
32
41
|
* - A prompt without a placeholder - sends as a message
|
|
33
42
|
* - A prompt with a placeholder - inserts the prompt into the chat input
|
package/dist/es2019/types.js
CHANGED
|
@@ -22,6 +22,15 @@ export const Topics = {
|
|
|
22
22
|
// Not using the PayloadCore because the `data: type | undefined` is necessary
|
|
23
23
|
// but `| undefined` will cause `data` to be removed by PayloadCore
|
|
24
24
|
|
|
25
|
+
/**
|
|
26
|
+
* Experiment-scoped Smart Link post-auth launch event for
|
|
27
|
+
* platform_sl_3p_post_auth_chat_open_fg / platform_sl_3p_post_auth_chat_open_exp.
|
|
28
|
+
*
|
|
29
|
+
* This opens Rovo Chat in mini-modal mode with custom post-auth UI, without sending
|
|
30
|
+
* a prompt. If the experiment does not become permanent, remove this event type as
|
|
31
|
+
* part of the experiment cleanup.
|
|
32
|
+
*/
|
|
33
|
+
|
|
25
34
|
/** Inserts a prompt into the chat input - either:
|
|
26
35
|
* - A prompt without a placeholder - sends as a message
|
|
27
36
|
* - A prompt with a placeholder - inserts the prompt into the chat input
|
package/dist/esm/types.js
CHANGED
|
@@ -22,6 +22,15 @@ export var Topics = {
|
|
|
22
22
|
// Not using the PayloadCore because the `data: type | undefined` is necessary
|
|
23
23
|
// but `| undefined` will cause `data` to be removed by PayloadCore
|
|
24
24
|
|
|
25
|
+
/**
|
|
26
|
+
* Experiment-scoped Smart Link post-auth launch event for
|
|
27
|
+
* platform_sl_3p_post_auth_chat_open_fg / platform_sl_3p_post_auth_chat_open_exp.
|
|
28
|
+
*
|
|
29
|
+
* This opens Rovo Chat in mini-modal mode with custom post-auth UI, without sending
|
|
30
|
+
* a prompt. If the experiment does not become permanent, remove this event type as
|
|
31
|
+
* part of the experiment cleanup.
|
|
32
|
+
*/
|
|
33
|
+
|
|
25
34
|
/** Inserts a prompt into the chat input - either:
|
|
26
35
|
* - A prompt without a placeholder - sends as a message
|
|
27
36
|
* - A prompt with a placeholder - inserts the prompt into the chat input
|
package/dist/types/types.d.ts
CHANGED
|
@@ -189,6 +189,25 @@ export type JiraCreateContextPayload = PayloadCore<'jira-create-context-payload'
|
|
|
189
189
|
data: JiraCreateContextPayloadData;
|
|
190
190
|
};
|
|
191
191
|
export type ChatDraftPayload = PayloadCore<'chat-draft'>;
|
|
192
|
+
export type SmartLink3PProjectContext = {
|
|
193
|
+
projectId: string;
|
|
194
|
+
projectName: string;
|
|
195
|
+
projectUrl: string;
|
|
196
|
+
};
|
|
197
|
+
export type SmartLink3PPostAuthProvider = 'Google Drive';
|
|
198
|
+
/**
|
|
199
|
+
* Experiment-scoped Smart Link post-auth launch event for
|
|
200
|
+
* platform_sl_3p_post_auth_chat_open_fg / platform_sl_3p_post_auth_chat_open_exp.
|
|
201
|
+
*
|
|
202
|
+
* This opens Rovo Chat in mini-modal mode with custom post-auth UI, without sending
|
|
203
|
+
* a prompt. If the experiment does not become permanent, remove this event type as
|
|
204
|
+
* part of the experiment cleanup.
|
|
205
|
+
*/
|
|
206
|
+
export type ChatSmartLink3PPostAuthLaunchPayload = PayloadCore<'chat-smartlink-3p-post-auth-launch', {
|
|
207
|
+
extensionKey: string;
|
|
208
|
+
provider: SmartLink3PPostAuthProvider;
|
|
209
|
+
projectContext: SmartLink3PProjectContext;
|
|
210
|
+
}>;
|
|
192
211
|
export type OpenBrowseAgentPayload = PayloadCore<'open-browse-agent-modal'>;
|
|
193
212
|
export type OpenBrowseAgentSidebarPayload = PayloadCore<'open-browse-agent-sidebar'>;
|
|
194
213
|
export type EditorSuggestionPayload = PayloadCore<'editor-suggestion', {
|
|
@@ -464,7 +483,7 @@ export type SmartlinksSubscriptionChangedPayload = PayloadCore<'smartlinks-subsc
|
|
|
464
483
|
openChat: false;
|
|
465
484
|
isActive: boolean;
|
|
466
485
|
};
|
|
467
|
-
export type Payload = MessageSendPayload | ChatClosePayload | SmartCreationModalOpenPayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | SmartlinksSubscriptionChangedPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | JiraCreateContextPayload | JiraInlineAgentCreationAgentAssignedPayload | DatabaseContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | SelectActionPayload | AddChartToDashboardPayload | GenericExternalActionErrorPayload | OpenChatDebugModalPayload | OpenChatFeedbackModalPayload | JsmJourneyBuilderActionsPayload | StudioAutomationBuildUpdatePayload | SolutionArchitectHandoffPayload | SolutionPlanStateUpdatePayload | SolutionDraftAgentUpdatePayload | SolutionArchitectAgentActivationPayload | SolutionArchitectAgentActivationFlowStartedPayload | SolutionArchitectAgentActivationFlowStoppedPayload | UpdateAgentConfigurationPayload | StudioLandingPageRedirectPayload | UploadAndInsertMediaPayload | SmartLinksContextPayload | SpaceSelectedPayload | SpaceDeselectedPayload | RecommendedSpacesSelectedPayload | TaskPlanConfirmedPayload | TaskAskQuestionRenderedPayload | TaskPlanRenderedPayload | TaskSkipAllQuestionsPayload | TaskCancelPlanPayload | TaskAskQuestionConfirmedPayload | TaskModifyPlanRequestedPayload | TaskModifyPlanSubmittedPayload;
|
|
486
|
+
export type Payload = MessageSendPayload | ChatClosePayload | SmartCreationModalOpenPayload | ChatNewPayload | ChatDraftPayload | ChatSmartLink3PPostAuthLaunchPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | SmartlinksSubscriptionChangedPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | JiraCreateContextPayload | JiraInlineAgentCreationAgentAssignedPayload | DatabaseContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | SelectActionPayload | AddChartToDashboardPayload | GenericExternalActionErrorPayload | OpenChatDebugModalPayload | OpenChatFeedbackModalPayload | JsmJourneyBuilderActionsPayload | StudioAutomationBuildUpdatePayload | SolutionArchitectHandoffPayload | SolutionPlanStateUpdatePayload | SolutionDraftAgentUpdatePayload | SolutionArchitectAgentActivationPayload | SolutionArchitectAgentActivationFlowStartedPayload | SolutionArchitectAgentActivationFlowStoppedPayload | UpdateAgentConfigurationPayload | StudioLandingPageRedirectPayload | UploadAndInsertMediaPayload | SmartLinksContextPayload | SpaceSelectedPayload | SpaceDeselectedPayload | RecommendedSpacesSelectedPayload | TaskPlanConfirmedPayload | TaskAskQuestionRenderedPayload | TaskPlanRenderedPayload | TaskSkipAllQuestionsPayload | TaskCancelPlanPayload | TaskAskQuestionConfirmedPayload | TaskModifyPlanRequestedPayload | TaskModifyPlanSubmittedPayload;
|
|
468
487
|
export type TaskPlanConfirmedPayload = PayloadCore<'task-plan-confirmed', {
|
|
469
488
|
conversationId: string;
|
|
470
489
|
planTitle: string;
|
|
@@ -189,6 +189,25 @@ export type JiraCreateContextPayload = PayloadCore<'jira-create-context-payload'
|
|
|
189
189
|
data: JiraCreateContextPayloadData;
|
|
190
190
|
};
|
|
191
191
|
export type ChatDraftPayload = PayloadCore<'chat-draft'>;
|
|
192
|
+
export type SmartLink3PProjectContext = {
|
|
193
|
+
projectId: string;
|
|
194
|
+
projectName: string;
|
|
195
|
+
projectUrl: string;
|
|
196
|
+
};
|
|
197
|
+
export type SmartLink3PPostAuthProvider = 'Google Drive';
|
|
198
|
+
/**
|
|
199
|
+
* Experiment-scoped Smart Link post-auth launch event for
|
|
200
|
+
* platform_sl_3p_post_auth_chat_open_fg / platform_sl_3p_post_auth_chat_open_exp.
|
|
201
|
+
*
|
|
202
|
+
* This opens Rovo Chat in mini-modal mode with custom post-auth UI, without sending
|
|
203
|
+
* a prompt. If the experiment does not become permanent, remove this event type as
|
|
204
|
+
* part of the experiment cleanup.
|
|
205
|
+
*/
|
|
206
|
+
export type ChatSmartLink3PPostAuthLaunchPayload = PayloadCore<'chat-smartlink-3p-post-auth-launch', {
|
|
207
|
+
extensionKey: string;
|
|
208
|
+
provider: SmartLink3PPostAuthProvider;
|
|
209
|
+
projectContext: SmartLink3PProjectContext;
|
|
210
|
+
}>;
|
|
192
211
|
export type OpenBrowseAgentPayload = PayloadCore<'open-browse-agent-modal'>;
|
|
193
212
|
export type OpenBrowseAgentSidebarPayload = PayloadCore<'open-browse-agent-sidebar'>;
|
|
194
213
|
export type EditorSuggestionPayload = PayloadCore<'editor-suggestion', {
|
|
@@ -464,7 +483,7 @@ export type SmartlinksSubscriptionChangedPayload = PayloadCore<'smartlinks-subsc
|
|
|
464
483
|
openChat: false;
|
|
465
484
|
isActive: boolean;
|
|
466
485
|
};
|
|
467
|
-
export type Payload = MessageSendPayload | ChatClosePayload | SmartCreationModalOpenPayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | SmartlinksSubscriptionChangedPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | JiraCreateContextPayload | JiraInlineAgentCreationAgentAssignedPayload | DatabaseContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | SelectActionPayload | AddChartToDashboardPayload | GenericExternalActionErrorPayload | OpenChatDebugModalPayload | OpenChatFeedbackModalPayload | JsmJourneyBuilderActionsPayload | StudioAutomationBuildUpdatePayload | SolutionArchitectHandoffPayload | SolutionPlanStateUpdatePayload | SolutionDraftAgentUpdatePayload | SolutionArchitectAgentActivationPayload | SolutionArchitectAgentActivationFlowStartedPayload | SolutionArchitectAgentActivationFlowStoppedPayload | UpdateAgentConfigurationPayload | StudioLandingPageRedirectPayload | UploadAndInsertMediaPayload | SmartLinksContextPayload | SpaceSelectedPayload | SpaceDeselectedPayload | RecommendedSpacesSelectedPayload | TaskPlanConfirmedPayload | TaskAskQuestionRenderedPayload | TaskPlanRenderedPayload | TaskSkipAllQuestionsPayload | TaskCancelPlanPayload | TaskAskQuestionConfirmedPayload | TaskModifyPlanRequestedPayload | TaskModifyPlanSubmittedPayload;
|
|
486
|
+
export type Payload = MessageSendPayload | ChatClosePayload | SmartCreationModalOpenPayload | ChatNewPayload | ChatDraftPayload | ChatSmartLink3PPostAuthLaunchPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | SmartlinksSubscriptionChangedPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | JiraCreateContextPayload | JiraInlineAgentCreationAgentAssignedPayload | DatabaseContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | SelectActionPayload | AddChartToDashboardPayload | GenericExternalActionErrorPayload | OpenChatDebugModalPayload | OpenChatFeedbackModalPayload | JsmJourneyBuilderActionsPayload | StudioAutomationBuildUpdatePayload | SolutionArchitectHandoffPayload | SolutionPlanStateUpdatePayload | SolutionDraftAgentUpdatePayload | SolutionArchitectAgentActivationPayload | SolutionArchitectAgentActivationFlowStartedPayload | SolutionArchitectAgentActivationFlowStoppedPayload | UpdateAgentConfigurationPayload | StudioLandingPageRedirectPayload | UploadAndInsertMediaPayload | SmartLinksContextPayload | SpaceSelectedPayload | SpaceDeselectedPayload | RecommendedSpacesSelectedPayload | TaskPlanConfirmedPayload | TaskAskQuestionRenderedPayload | TaskPlanRenderedPayload | TaskSkipAllQuestionsPayload | TaskCancelPlanPayload | TaskAskQuestionConfirmedPayload | TaskModifyPlanRequestedPayload | TaskModifyPlanSubmittedPayload;
|
|
468
487
|
export type TaskPlanConfirmedPayload = PayloadCore<'task-plan-confirmed', {
|
|
469
488
|
conversationId: string;
|
|
470
489
|
planTitle: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-triggers",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.5.1",
|
|
4
4
|
"description": "Provides various trigger events to drive Rovo Chat functionality, such as a publish-subscribe and URL parameter hooks",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"publishConfig": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
],
|
|
37
37
|
"atlaskit:src": "src/index.ts",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@atlaskit/adf-schema": "^
|
|
39
|
+
"@atlaskit/adf-schema": "^54.0.0",
|
|
40
40
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
41
41
|
"@babel/runtime": "^7.0.0",
|
|
42
42
|
"bind-event-listener": "^3.0.0"
|