@atlaskit/rovo-triggers 2.4.0 → 2.5.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 +9 -0
- package/dist/types/types.d.ts +2 -1
- package/dist/types-ts4.5/types.d.ts +2 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/rovo-triggers
|
|
2
2
|
|
|
3
|
+
## 2.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#130965](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/130965)
|
|
8
|
+
[`224b0a23d3ee0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/224b0a23d3ee0) -
|
|
9
|
+
EDF-2621 Added open-browse-agent-sidebar payload type to open rovo chat with browse agent tab
|
|
10
|
+
active.
|
|
11
|
+
|
|
3
12
|
## 2.4.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
package/dist/types/types.d.ts
CHANGED
|
@@ -53,6 +53,7 @@ export type BrowserContextPayload = PayloadCore<'browser-context-payload'> & {
|
|
|
53
53
|
};
|
|
54
54
|
export type ChatDraftPayload = PayloadCore<'chat-draft'>;
|
|
55
55
|
export type OpenBrowseAgentPayload = PayloadCore<'open-browse-agent-modal'>;
|
|
56
|
+
export type OpenBrowseAgentSidebarPayload = PayloadCore<'open-browse-agent-sidebar'>;
|
|
56
57
|
export type EditorSuggestionPayload = PayloadCore<'editor-suggestion', {
|
|
57
58
|
mode: 'insert' | 'replace';
|
|
58
59
|
content: string;
|
|
@@ -113,7 +114,7 @@ export type JiraWorkflowWizardAction = {
|
|
|
113
114
|
export type JiraWorkflowWizardActionsPayload = PayloadCore<'jira-workflow-wizard-actions', {
|
|
114
115
|
actions: JiraWorkflowWizardAction[];
|
|
115
116
|
}>;
|
|
116
|
-
export type Payload = MessageSendPayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload;
|
|
117
|
+
export type Payload = MessageSendPayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload;
|
|
117
118
|
export type Callback = (payload: Payload) => void;
|
|
118
119
|
export type TopicEvents = {
|
|
119
120
|
[key in Topic]?: Array<{
|
|
@@ -53,6 +53,7 @@ export type BrowserContextPayload = PayloadCore<'browser-context-payload'> & {
|
|
|
53
53
|
};
|
|
54
54
|
export type ChatDraftPayload = PayloadCore<'chat-draft'>;
|
|
55
55
|
export type OpenBrowseAgentPayload = PayloadCore<'open-browse-agent-modal'>;
|
|
56
|
+
export type OpenBrowseAgentSidebarPayload = PayloadCore<'open-browse-agent-sidebar'>;
|
|
56
57
|
export type EditorSuggestionPayload = PayloadCore<'editor-suggestion', {
|
|
57
58
|
mode: 'insert' | 'replace';
|
|
58
59
|
content: string;
|
|
@@ -113,7 +114,7 @@ export type JiraWorkflowWizardAction = {
|
|
|
113
114
|
export type JiraWorkflowWizardActionsPayload = PayloadCore<'jira-workflow-wizard-actions', {
|
|
114
115
|
actions: JiraWorkflowWizardAction[];
|
|
115
116
|
}>;
|
|
116
|
-
export type Payload = MessageSendPayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload;
|
|
117
|
+
export type Payload = MessageSendPayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload;
|
|
117
118
|
export type Callback = (payload: Payload) => void;
|
|
118
119
|
export type TopicEvents = {
|
|
119
120
|
[key in Topic]?: Array<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-triggers",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.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": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@af/integration-testing": "^0.5.0",
|
|
43
43
|
"@af/visual-regression": "^1.3.0",
|
|
44
44
|
"@atlaskit/css": "^0.10.0",
|
|
45
|
-
"@atlaskit/primitives": "^14.
|
|
45
|
+
"@atlaskit/primitives": "^14.2.0",
|
|
46
46
|
"@atlaskit/ssr": "^0.4.0",
|
|
47
47
|
"@atlaskit/visual-regression": "^0.10.0",
|
|
48
48
|
"@atlassian/feature-flags-test-utils": "^0.3.0",
|