@atlaskit/rovo-triggers 5.8.0 → 5.9.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,13 @@
1
1
  # @atlaskit/rovo-triggers
2
2
 
3
+ ## 5.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`f91239ef9383c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f91239ef9383c) -
8
+ [ux] Update the workflow wizard UI action component to render a redirection button when outside of
9
+ context.
10
+
3
11
  ## 5.8.0
4
12
 
5
13
  ### Minor Changes
@@ -230,6 +230,11 @@ export type DeleteRuleRovoPayload = {
230
230
  ruleDescription: string;
231
231
  transitionId: TransitionId;
232
232
  };
233
+ export type RedirectToWorkflowRovoPayload = {
234
+ messageId: string;
235
+ conversationId: string;
236
+ url: string;
237
+ };
233
238
  export type JiraWorkflowWizardAction = {
234
239
  operationType: 'ADD_STATUS';
235
240
  payload: AddStatusRovoPayload;
@@ -257,6 +262,9 @@ export type JiraWorkflowWizardAction = {
257
262
  } | {
258
263
  operationType: 'DELETE_RULE';
259
264
  payload: DeleteRuleRovoPayload;
265
+ } | {
266
+ operationType: 'REDIRECT_TO_WORKFLOW';
267
+ payload: RedirectToWorkflowRovoPayload;
260
268
  };
261
269
  export type JiraWorkflowWizardActionsPayload = PayloadCore<'jira-workflow-wizard-actions', {
262
270
  invocationId?: string;
@@ -230,6 +230,11 @@ export type DeleteRuleRovoPayload = {
230
230
  ruleDescription: string;
231
231
  transitionId: TransitionId;
232
232
  };
233
+ export type RedirectToWorkflowRovoPayload = {
234
+ messageId: string;
235
+ conversationId: string;
236
+ url: string;
237
+ };
233
238
  export type JiraWorkflowWizardAction = {
234
239
  operationType: 'ADD_STATUS';
235
240
  payload: AddStatusRovoPayload;
@@ -257,6 +262,9 @@ export type JiraWorkflowWizardAction = {
257
262
  } | {
258
263
  operationType: 'DELETE_RULE';
259
264
  payload: DeleteRuleRovoPayload;
265
+ } | {
266
+ operationType: 'REDIRECT_TO_WORKFLOW';
267
+ payload: RedirectToWorkflowRovoPayload;
260
268
  };
261
269
  export type JiraWorkflowWizardActionsPayload = PayloadCore<'jira-workflow-wizard-actions', {
262
270
  invocationId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-triggers",
3
- "version": "5.8.0",
3
+ "version": "5.9.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": {
@@ -40,9 +40,9 @@
40
40
  "@af/integration-testing": "workspace:^",
41
41
  "@af/visual-regression": "workspace:^",
42
42
  "@atlaskit/css": "^0.19.0",
43
- "@atlaskit/primitives": "^17.1.0",
43
+ "@atlaskit/primitives": "^18.0.0",
44
44
  "@atlaskit/ssr": "workspace:^",
45
- "@atlassian/a11y-jest-testing": "^0.8.0",
45
+ "@atlassian/a11y-jest-testing": "^0.9.0",
46
46
  "@atlassian/feature-flags-test-utils": "^1.0.0",
47
47
  "@testing-library/react": "^16.3.0",
48
48
  "react-dom": "^18.2.0",