@atlaskit/rovo-triggers 9.8.0 → 9.8.1

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,16 @@
1
1
  # @atlaskit/rovo-triggers
2
2
 
3
+ ## 9.8.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`c53637977225d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c53637977225d) -
8
+ Add Rovo Spaces impact instrumentation (gated behind the existing rovo_chat_spaces_fe flag) via a
9
+ new useSpacesAnalytics hook: space created (with createdFrom), source added (manual vs
10
+ recommendation, with recommendationId) / removed, source-recommendations shown, conversation added
11
+ (+ Rovo AI MAU), space landing viewed (with entryPoint), space search, starter clicked, and space
12
+ memory created / viewed.
13
+
3
14
  ## 9.8.0
4
15
 
5
16
  ### Minor Changes
@@ -138,6 +138,7 @@ export type ChatNewPayload = PayloadCore<'chat-new', {
138
138
  */
139
139
  tags?: string[];
140
140
  } & Partial<TargetAgentParam> & PlaceholderParam>;
141
+ export type RovoSpaceEntryPoint = 'leftNav' | 'sidebar' | 'zeroQuery' | 'typeahead' | 'inChatRecommendation';
141
142
  /**
142
143
  * Opens the Rovo conversation assistant and seeds a chat from a Rovo Insight,
143
144
  * reproducing the same experience as clicking an insight inside the in-panel
@@ -554,6 +555,7 @@ export type SpaceSelectedPayload = PayloadCore<'space-selected', {
554
555
  title: string;
555
556
  emoji: string;
556
557
  description?: string;
558
+ entryPoint?: RovoSpaceEntryPoint;
557
559
  }>;
558
560
  export type SpaceDeselectedPayload = PayloadCore<'space-deselected'>;
559
561
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-triggers",
3
- "version": "9.8.0",
3
+ "version": "9.8.1",
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": "^20.5.0",
45
45
  "@atlaskit/ssr": "workspace:^",
46
46
  "@atlassian/a11y-jest-testing": "^0.13.0",
47
- "@atlassian/feature-flags-test-utils": "^1.1.0",
47
+ "@atlassian/feature-flags-test-utils": "^1.2.0",
48
48
  "@testing-library/react": "^16.3.0",
49
49
  "react": "^18.2.0",
50
50
  "react-dom": "^18.2.0",