@atlaskit/rovo-triggers 10.9.0 → 10.11.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,36 @@
1
1
  # @atlaskit/rovo-triggers
2
2
 
3
+ ## 10.11.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`44d25a46e9116`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/44d25a46e9116) -
8
+ HIX-9694 Workflow Builder Agent: Wire up UPDATE_STATUS operation when click Apply to Workflow
9
+
10
+ ## 10.10.0
11
+
12
+ ### Minor Changes
13
+
14
+ - [`f9bfed530dd66`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f9bfed530dd66) -
15
+ Route the Rovo sidebar into a Remix picker view when `activeMenu` is `remix`, gated on the
16
+ `cc-ce-maui-remix-menu-multivariant` experiment for the `variant2` cohort. Extends the public
17
+ `Menu` and `RovoChatPathway` unions with `remix`, deep-links via `rovoChatPathway=remix`, and
18
+ falls back to the default chat view for control users so they do not land on an empty panel.
19
+ Lazy-loads `RovoChatRemixView` with `React.lazy` (same pattern as the other conditionally rendered
20
+ sidebar panels) so the real picker dependencies in CCCEMAU-3365 do not need a follow-up refactor.
21
+
22
+ ```ts
23
+ import { addRovoParamsToUrl } from '@atlaskit/rovo-triggers/params';
24
+ import { useUIStoreActions } from '@atlassian/conversation-assistant-store/controllers/ui-store';
25
+
26
+ // Deep-link into Remix mode via `?rovoChatPathway=remix`
27
+ const remixUrl = addRovoParamsToUrl(window.location.href, { pathway: 'remix' });
28
+
29
+ // Or open Remix from in-product code (variant2 cohort only; control falls back to chat)
30
+ const { setActiveMenu } = useUIStoreActions();
31
+ setActiveMenu('remix');
32
+ ```
33
+
3
34
  ## 10.9.0
4
35
 
5
36
  ### Minor Changes
@@ -1,4 +1,4 @@
1
- export type RovoChatPathway = 'chat' | 'agents-browse' | 'agents-create' | 'pulse';
1
+ export type RovoChatPathway = 'chat' | 'agents-browse' | 'agents-create' | 'pulse' | 'remix';
2
2
  export type RovoChatOpenMode = 'sidebar' | 'mini-modal' | 'full-screen-modal';
3
3
  export interface BaseRovoChatParams {
4
4
  pathway: RovoChatPathway;
@@ -24,5 +24,6 @@ type ChatParams = RovoParams<'chat'>;
24
24
  type AgentBrowseParams = RovoParams<'agents-browse'>;
25
25
  type AgentCreateParams = RovoParams<'agents-create'>;
26
26
  type PulseParams = RovoParams<'pulse'>;
27
- export type RovoChatParams = Partial<ChatParams | AgentCreateParams | AgentBrowseParams | PulseParams>;
27
+ type RemixParams = RovoParams<'remix'>;
28
+ export type RovoChatParams = Partial<ChatParams | AgentCreateParams | AgentBrowseParams | PulseParams | RemixParams>;
28
29
  export {};
@@ -417,10 +417,10 @@ export type AddStatusRovoPayload = {
417
417
  };
418
418
  export type UpdateStatusRovoPayload = {
419
419
  statusId: StatusId;
420
- fromStatusName: string;
421
- toStatusName: string | null;
422
- fromStatusCategory: StatusCategory;
423
- toStatusCategory: StatusCategory | null;
420
+ existingStatusName: string;
421
+ newStatusName?: string | null;
422
+ existingStatusCategory: StatusCategory;
423
+ newStatusCategory?: StatusCategory | null;
424
424
  };
425
425
  export type DeleteStatusRovoPayload = {
426
426
  statusId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-triggers",
3
- "version": "10.9.0",
3
+ "version": "10.11.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": {
@@ -44,7 +44,7 @@
44
44
  "@atlaskit/primitives": "^22.2.0",
45
45
  "@atlaskit/ssr": "workspace:^",
46
46
  "@atlassian/a11y-jest-testing": "^0.15.0",
47
- "@atlassian/conversation-assistant-service-api": "^16.3.0",
47
+ "@atlassian/conversation-assistant-service-api": "^16.4.0",
48
48
  "@atlassian/feature-flags-test-utils": "^1.2.0",
49
49
  "@testing-library/react": "^16.3.0",
50
50
  "react": "^18.2.0",