@atlaskit/rovo-triggers 9.11.1 → 10.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/types/types.d.ts +1 -25
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/rovo-triggers
|
|
2
2
|
|
|
3
|
+
## 10.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`32ad5a92f3ded`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/32ad5a92f3ded) -
|
|
8
|
+
Add an optional chat-open autofocus flag and preserve editor focus when auto-opening Rovo chat for
|
|
9
|
+
task-item agent mentions.
|
|
10
|
+
|
|
11
|
+
## 10.0.0
|
|
12
|
+
|
|
13
|
+
### Major Changes
|
|
14
|
+
|
|
15
|
+
- [`bd3fa2ca8168d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bd3fa2ca8168d) -
|
|
16
|
+
Remove the "inline_view" creation context experience and all supporting highlight-actions plumbing
|
|
17
|
+
(the `creationContextParams` flow through the editor-placeholder store, chat input, pubsub
|
|
18
|
+
listener, and chat-new payload).
|
|
19
|
+
|
|
3
20
|
## 9.11.1
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/dist/types/types.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export type PayloadCore<TKey extends string, TData = void> = {
|
|
|
17
17
|
source: string;
|
|
18
18
|
openChat?: boolean;
|
|
19
19
|
openChatMode?: RovoChatOpenMode;
|
|
20
|
+
autoFocusInput?: boolean;
|
|
20
21
|
product?: string;
|
|
21
22
|
interactionSource?: string;
|
|
22
23
|
/**
|
|
@@ -61,30 +62,6 @@ type ChatModeParam = {
|
|
|
61
62
|
useCurrentPageContext?: boolean;
|
|
62
63
|
appFilters?: unknown[];
|
|
63
64
|
};
|
|
64
|
-
type SerializableCreationContextValue = string | number | boolean | null | undefined | {
|
|
65
|
-
[key: string | number]: SerializableCreationContextValue;
|
|
66
|
-
} | SerializableCreationContextValue[];
|
|
67
|
-
export type CreationContextParams = {
|
|
68
|
-
templateInput?: {
|
|
69
|
-
templateId: string;
|
|
70
|
-
templateType: string;
|
|
71
|
-
};
|
|
72
|
-
jiraContext?: unknown;
|
|
73
|
-
dynamicUiType?: string;
|
|
74
|
-
dynamicUiSubtype?: string;
|
|
75
|
-
dynamicUiSource?: unknown;
|
|
76
|
-
forcedContentType?: string;
|
|
77
|
-
contentMauiId?: string;
|
|
78
|
-
mediaFileId?: string;
|
|
79
|
-
source?: string;
|
|
80
|
-
shouldUseExistingContent?: boolean;
|
|
81
|
-
isViewMode?: boolean;
|
|
82
|
-
experience?: 'cwr' | 'cwr_type' | 'cwr_edit' | 'cwr_existing' | 'inline_edit' | 'inline_view' | 'remix' | 'remix_edit' | 'remix_object' | 'remix_custom' | 'chat_edit' | 'chat_view' | 'keep_existing_page_structure';
|
|
83
|
-
contentTypes?: string[];
|
|
84
|
-
blocks?: string[];
|
|
85
|
-
spaceKey?: string;
|
|
86
|
-
additionalContext?: Record<string, SerializableCreationContextValue>;
|
|
87
|
-
};
|
|
88
65
|
export type ResultAttributionContextPayload = {
|
|
89
66
|
/**
|
|
90
67
|
* Source surface that launched the agent chat, appended to generated result analytics.
|
|
@@ -104,7 +81,6 @@ export type ChatNewPayload = PayloadCore<'chat-new', {
|
|
|
104
81
|
};
|
|
105
82
|
}>;
|
|
106
83
|
prompt?: string | DocNode;
|
|
107
|
-
creationContextParams?: CreationContextParams;
|
|
108
84
|
/**
|
|
109
85
|
* Overrides the default auto-send behavior for prompts.
|
|
110
86
|
* Set this to true to insert prompts not containing backticks into the chat input for dynamic
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-triggers",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.1.0",
|
|
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": {
|