@atlaskit/rovo-triggers 3.15.3 → 3.17.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 +24 -0
- package/dist/cjs/types.js +6 -0
- package/dist/es2019/types.js +6 -0
- package/dist/esm/types.js +6 -0
- package/dist/types/types.d.ts +11 -1
- package/dist/types-ts4.5/types.d.ts +11 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @atlaskit/rovo-triggers
|
|
2
2
|
|
|
3
|
+
## 3.17.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`8c79d013d1465`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8c79d013d1465) -
|
|
8
|
+
[ux] Added Drag-and-Drop URL Support
|
|
9
|
+
|
|
10
|
+
Added ability to drag and drop card URLs (e.g., Trello cards) directly into chat input
|
|
11
|
+
- URLs are automatically formatted as inline cards
|
|
12
|
+
- Duplicate URLs are automatically detected and prevented
|
|
13
|
+
- Proper spacing and formatting maintained between multiple cards
|
|
14
|
+
|
|
15
|
+
Enhanced
|
|
16
|
+
- File upload dropzone now supports both file attachments and URL card drops
|
|
17
|
+
- Chat input editor can now receive URLs from external sources via drag-and-drop
|
|
18
|
+
|
|
19
|
+
## 3.16.0
|
|
20
|
+
|
|
21
|
+
### Minor Changes
|
|
22
|
+
|
|
23
|
+
- [`1e470200487fe`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1e470200487fe) -
|
|
24
|
+
Adds new `useGenericEditorSkill` optional property to be used with rovo context with editor. This
|
|
25
|
+
enables use of the generic editor minion
|
|
26
|
+
|
|
3
27
|
## 3.15.3
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
package/dist/cjs/types.js
CHANGED
|
@@ -22,4 +22,10 @@ var Topics = exports.Topics = {
|
|
|
22
22
|
/** Inserts a prompt into the chat input - either:
|
|
23
23
|
* - A prompt without a placeholder - sends as a message
|
|
24
24
|
* - A prompt with a placeholder - inserts the prompt into the chat input
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
/** Inserts URLs as inline nodes into the chat input
|
|
28
|
+
* - URLs are deduplicated against existing content
|
|
29
|
+
* - Formatted as inline card nodes in the editor
|
|
30
|
+
* - Supports multiple card types (Jira, Confluence, Trello, etc.)
|
|
25
31
|
*/
|
package/dist/es2019/types.js
CHANGED
|
@@ -16,4 +16,10 @@ export const Topics = {
|
|
|
16
16
|
/** Inserts a prompt into the chat input - either:
|
|
17
17
|
* - A prompt without a placeholder - sends as a message
|
|
18
18
|
* - A prompt with a placeholder - inserts the prompt into the chat input
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
/** Inserts URLs as inline nodes into the chat input
|
|
22
|
+
* - URLs are deduplicated against existing content
|
|
23
|
+
* - Formatted as inline card nodes in the editor
|
|
24
|
+
* - Supports multiple card types (Jira, Confluence, Trello, etc.)
|
|
19
25
|
*/
|
package/dist/esm/types.js
CHANGED
|
@@ -16,4 +16,10 @@ export var Topics = {
|
|
|
16
16
|
/** Inserts a prompt into the chat input - either:
|
|
17
17
|
* - A prompt without a placeholder - sends as a message
|
|
18
18
|
* - A prompt with a placeholder - inserts the prompt into the chat input
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
/** Inserts URLs as inline nodes into the chat input
|
|
22
|
+
* - URLs are deduplicated against existing content
|
|
23
|
+
* - Formatted as inline card nodes in the editor
|
|
24
|
+
* - Supports multiple card types (Jira, Confluence, Trello, etc.)
|
|
19
25
|
*/
|
package/dist/types/types.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ export type EditorContextPayloadData = {
|
|
|
55
55
|
selectionFragment?: string;
|
|
56
56
|
selectionLocalIds?: string;
|
|
57
57
|
isViewMode?: boolean;
|
|
58
|
+
useGenericEditorSkill?: boolean;
|
|
58
59
|
} | undefined;
|
|
59
60
|
export type WhiteboardContextPayloadData = {
|
|
60
61
|
type: 'image/svg+xml' | 'text/plain';
|
|
@@ -124,6 +125,15 @@ export type InsertPromptPayload = PayloadCore<'insert-prompt', {
|
|
|
124
125
|
*/
|
|
125
126
|
placeholderType?: 'person' | 'link' | 'generic';
|
|
126
127
|
}>;
|
|
128
|
+
/** Inserts URLs as inline nodes into the chat input
|
|
129
|
+
* - URLs are deduplicated against existing content
|
|
130
|
+
* - Formatted as inline card nodes in the editor
|
|
131
|
+
* - Supports multiple card types (Jira, Confluence, Trello, etc.)
|
|
132
|
+
*/
|
|
133
|
+
export type InsertUrlsPayload = PayloadCore<'insert-urls', {
|
|
134
|
+
urls: string[];
|
|
135
|
+
urlType: 'trello/card';
|
|
136
|
+
}>;
|
|
127
137
|
export type TransitionId = string;
|
|
128
138
|
export type StatusId = string;
|
|
129
139
|
export type StatusCategory = 'TODO' | 'IN_PROGRESS' | 'DONE' | 'UNDEFINED';
|
|
@@ -232,7 +242,7 @@ export type DashboardInsightsActionsPayloadData = {
|
|
|
232
242
|
content: string;
|
|
233
243
|
} | undefined;
|
|
234
244
|
export type SetChatContextPayload = PayloadCore<'set-message-context', ChatContextPayload>;
|
|
235
|
-
export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload;
|
|
245
|
+
export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload;
|
|
236
246
|
export type Callback = (payload: Payload) => void;
|
|
237
247
|
export type TopicEvents = {
|
|
238
248
|
[key in Topic]?: Array<{
|
|
@@ -55,6 +55,7 @@ export type EditorContextPayloadData = {
|
|
|
55
55
|
selectionFragment?: string;
|
|
56
56
|
selectionLocalIds?: string;
|
|
57
57
|
isViewMode?: boolean;
|
|
58
|
+
useGenericEditorSkill?: boolean;
|
|
58
59
|
} | undefined;
|
|
59
60
|
export type WhiteboardContextPayloadData = {
|
|
60
61
|
type: 'image/svg+xml' | 'text/plain';
|
|
@@ -124,6 +125,15 @@ export type InsertPromptPayload = PayloadCore<'insert-prompt', {
|
|
|
124
125
|
*/
|
|
125
126
|
placeholderType?: 'person' | 'link' | 'generic';
|
|
126
127
|
}>;
|
|
128
|
+
/** Inserts URLs as inline nodes into the chat input
|
|
129
|
+
* - URLs are deduplicated against existing content
|
|
130
|
+
* - Formatted as inline card nodes in the editor
|
|
131
|
+
* - Supports multiple card types (Jira, Confluence, Trello, etc.)
|
|
132
|
+
*/
|
|
133
|
+
export type InsertUrlsPayload = PayloadCore<'insert-urls', {
|
|
134
|
+
urls: string[];
|
|
135
|
+
urlType: 'trello/card';
|
|
136
|
+
}>;
|
|
127
137
|
export type TransitionId = string;
|
|
128
138
|
export type StatusId = string;
|
|
129
139
|
export type StatusCategory = 'TODO' | 'IN_PROGRESS' | 'DONE' | 'UNDEFINED';
|
|
@@ -232,7 +242,7 @@ export type DashboardInsightsActionsPayloadData = {
|
|
|
232
242
|
content: string;
|
|
233
243
|
} | undefined;
|
|
234
244
|
export type SetChatContextPayload = PayloadCore<'set-message-context', ChatContextPayload>;
|
|
235
|
-
export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload;
|
|
245
|
+
export type Payload = MessageSendPayload | ChatClosePayload | ChatNewPayload | ChatDraftPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload;
|
|
236
246
|
export type Callback = (payload: Payload) => void;
|
|
237
247
|
export type TopicEvents = {
|
|
238
248
|
[key in Topic]?: Array<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-triggers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.17.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": {
|