@atlaskit/rovo-triggers 3.5.2 → 3.6.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
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/rovo-triggers
|
|
2
2
|
|
|
3
|
+
## 3.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`11044e9b6f9f6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/11044e9b6f9f6) -
|
|
8
|
+
Passing preview message ID to home preview button
|
|
9
|
+
|
|
10
|
+
## 3.5.3
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`74c2f420ee49b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/74c2f420ee49b) -
|
|
15
|
+
Internal changes to how border radius is applied.
|
|
16
|
+
- [`afd8a4b9ec9dd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/afd8a4b9ec9dd) -
|
|
17
|
+
Add support for prefixing on the sourceId when requesting to generate a loom script for confluence
|
|
18
|
+
page. This change is feature gated behind rovo-chat-glitchiness-fix-loom-script-confluence
|
|
19
|
+
|
|
3
20
|
## 3.5.2
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -8,6 +8,8 @@ export interface BaseRovoChatParams {
|
|
|
8
8
|
triggerOpen: boolean;
|
|
9
9
|
initiator: string;
|
|
10
10
|
insertPrompt: 'highlight-action';
|
|
11
|
+
stagingAreaOpen: boolean;
|
|
12
|
+
messageIdSelectedForPreview: string;
|
|
11
13
|
}
|
|
12
14
|
export type ValidPrefix = 'rovoChat';
|
|
13
15
|
export type ValidParam = keyof BaseRovoChatParams;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -101,7 +101,11 @@ export type ValidChatCallToActionUseCases = 'loom-confluence-page-script-co-use'
|
|
|
101
101
|
/**
|
|
102
102
|
* Source Ids that will initiate a chat containing a call-to-action from the first assistant message
|
|
103
103
|
*/
|
|
104
|
-
export type ValidSourceIdsForChatCallToAction = 'confluence-page-loom-script-co-use-touchpoint' | 'confluence-page-loom-script-cross-join-touchpoint'
|
|
104
|
+
export type ValidSourceIdsForChatCallToAction = 'confluence-page-loom-script-co-use-touchpoint' | 'confluence-page-loom-script-cross-join-touchpoint'
|
|
105
|
+
/**
|
|
106
|
+
* We want the choice of having a prefix at the end to allow for a new chat to be created for different pages
|
|
107
|
+
*/
|
|
108
|
+
| `confluence-page-loom-script-co-use-touchpoint-${string}` | `confluence-page-loom-script-cross-join-touchpoint-${string}`;
|
|
105
109
|
export type ChatCallToActionClickedPayload = PayloadCore<'chat-cta-clicked', {
|
|
106
110
|
useCaseId: ValidChatCallToActionUseCases;
|
|
107
111
|
}>;
|
|
@@ -8,6 +8,8 @@ export interface BaseRovoChatParams {
|
|
|
8
8
|
triggerOpen: boolean;
|
|
9
9
|
initiator: string;
|
|
10
10
|
insertPrompt: 'highlight-action';
|
|
11
|
+
stagingAreaOpen: boolean;
|
|
12
|
+
messageIdSelectedForPreview: string;
|
|
11
13
|
}
|
|
12
14
|
export type ValidPrefix = 'rovoChat';
|
|
13
15
|
export type ValidParam = keyof BaseRovoChatParams;
|
|
@@ -101,7 +101,11 @@ export type ValidChatCallToActionUseCases = 'loom-confluence-page-script-co-use'
|
|
|
101
101
|
/**
|
|
102
102
|
* Source Ids that will initiate a chat containing a call-to-action from the first assistant message
|
|
103
103
|
*/
|
|
104
|
-
export type ValidSourceIdsForChatCallToAction = 'confluence-page-loom-script-co-use-touchpoint' | 'confluence-page-loom-script-cross-join-touchpoint'
|
|
104
|
+
export type ValidSourceIdsForChatCallToAction = 'confluence-page-loom-script-co-use-touchpoint' | 'confluence-page-loom-script-cross-join-touchpoint'
|
|
105
|
+
/**
|
|
106
|
+
* We want the choice of having a prefix at the end to allow for a new chat to be created for different pages
|
|
107
|
+
*/
|
|
108
|
+
| `confluence-page-loom-script-co-use-touchpoint-${string}` | `confluence-page-loom-script-cross-join-touchpoint-${string}`;
|
|
105
109
|
export type ChatCallToActionClickedPayload = PayloadCore<'chat-cta-clicked', {
|
|
106
110
|
useCaseId: ValidChatCallToActionUseCases;
|
|
107
111
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-triggers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.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": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
],
|
|
30
30
|
"atlaskit:src": "src/index.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@atlaskit/adf-schema": "^
|
|
32
|
+
"@atlaskit/adf-schema": "^51.0.0",
|
|
33
33
|
"@babel/runtime": "^7.0.0",
|
|
34
34
|
"bind-event-listener": "^3.0.0"
|
|
35
35
|
},
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@af/integration-testing": "workspace:^",
|
|
41
41
|
"@af/visual-regression": "workspace:^",
|
|
42
|
-
"@atlaskit/css": "^0.
|
|
43
|
-
"@atlaskit/primitives": "^14.
|
|
42
|
+
"@atlaskit/css": "^0.14.0",
|
|
43
|
+
"@atlaskit/primitives": "^14.14.0",
|
|
44
44
|
"@atlaskit/ssr": "workspace:^",
|
|
45
45
|
"@atlassian/feature-flags-test-utils": "^0.3.0",
|
|
46
46
|
"@testing-library/react": "^13.4.0",
|