@atlaskit/rovo-triggers 9.0.0 → 9.1.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,14 @@
1
1
  # @atlaskit/rovo-triggers
2
2
 
3
+ ## 9.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`5c49e68beadfa`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5c49e68beadfa) -
8
+ Add insights-chat-exited rovo-trigger event, published from the panel when the user leaves a
9
+ seeded Rovo Insight chat (gated at the call site by the rovo_growth_chat_pulse experiment) so
10
+ carousel surfaces can clear the selected-card highlight.
11
+
3
12
  ## 9.0.0
4
13
 
5
14
  ### Major Changes
package/dist/cjs/types.js CHANGED
@@ -28,6 +28,13 @@ var Topics = exports.Topics = {
28
28
  * panel-side and is intentionally not part of this payload.
29
29
  */
30
30
 
31
+ /**
32
+ * Published from the panel (publisher) side when the user leaves a seeded Rovo
33
+ * Insight chat (via any exit path). Surfaces rendering the Rovo Insights carousel
34
+ * subscribe to this to clear the selected-card highlight. Carries no data: the
35
+ * only meaning is "the user is no longer in an insight chat".
36
+ */
37
+
31
38
  /** Partial database context for iframe updates (e.g. selection-only). */
32
39
 
33
40
  // Not using the PayloadCore because the `data: type | undefined` is necessary
@@ -22,6 +22,13 @@ export const Topics = {
22
22
  * panel-side and is intentionally not part of this payload.
23
23
  */
24
24
 
25
+ /**
26
+ * Published from the panel (publisher) side when the user leaves a seeded Rovo
27
+ * Insight chat (via any exit path). Surfaces rendering the Rovo Insights carousel
28
+ * subscribe to this to clear the selected-card highlight. Carries no data: the
29
+ * only meaning is "the user is no longer in an insight chat".
30
+ */
31
+
25
32
  /** Partial database context for iframe updates (e.g. selection-only). */
26
33
 
27
34
  // Not using the PayloadCore because the `data: type | undefined` is necessary
package/dist/esm/types.js CHANGED
@@ -22,6 +22,13 @@ export var Topics = {
22
22
  * panel-side and is intentionally not part of this payload.
23
23
  */
24
24
 
25
+ /**
26
+ * Published from the panel (publisher) side when the user leaves a seeded Rovo
27
+ * Insight chat (via any exit path). Surfaces rendering the Rovo Insights carousel
28
+ * subscribe to this to clear the selected-card highlight. Carries no data: the
29
+ * only meaning is "the user is no longer in an insight chat".
30
+ */
31
+
25
32
  /** Partial database context for iframe updates (e.g. selection-only). */
26
33
 
27
34
  // Not using the PayloadCore because the `data: type | undefined` is necessary
@@ -163,6 +163,13 @@ export type InsightsOpenInChatPayload = PayloadCore<'insights-open-in-chat', {
163
163
  /** Follow-up prompt strings to seed into the conversation. */
164
164
  followUps?: string[] | null;
165
165
  }>;
166
+ /**
167
+ * Published from the panel (publisher) side when the user leaves a seeded Rovo
168
+ * Insight chat (via any exit path). Surfaces rendering the Rovo Insights carousel
169
+ * subscribe to this to clear the selected-card highlight. Carries no data: the
170
+ * only meaning is "the user is no longer in an insight chat".
171
+ */
172
+ export type InsightsChatExitedPayload = PayloadCore<'insights-chat-exited', {}>;
166
173
  export type EditorContextPayloadData = {
167
174
  document: {
168
175
  type: 'text/markdown' | 'text/adf';
@@ -541,7 +548,7 @@ export type SmartlinksSubscriptionChangedPayload = PayloadCore<'smartlinks-subsc
541
548
  openChat: false;
542
549
  isActive: boolean;
543
550
  };
544
- export type Payload = MessageSendPayload | ChatClosePayload | SmartCreationModalOpenPayload | ChatNewPayload | InsightsOpenInChatPayload | ChatDraftPayload | ChatSmartLink3PPostAuthLaunchPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | SmartlinksSubscriptionChangedPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | JiraCreateContextPayload | JiraInlineAgentCreationAgentAssignedPayload | DatabaseContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | SelectActionPayload | AddChartToDashboardPayload | GenericExternalActionErrorPayload | OpenChatDebugModalPayload | OpenChatFeedbackModalPayload | JsmJourneyBuilderActionsPayload | StudioAutomationBuildUpdatePayload | SolutionArchitectHandoffPayload | SolutionPlanStateUpdatePayload | SolutionDraftAgentUpdatePayload | SolutionArchitectAgentActivationPayload | SolutionArchitectAgentActivationFlowStartedPayload | SolutionArchitectAgentActivationFlowStoppedPayload | UpdateAgentConfigurationPayload | StudioLandingPageRedirectPayload | UploadAndInsertMediaPayload | SmartLinksContextPayload | SpaceSelectedPayload | SpaceDeselectedPayload | RecommendedSpacesSelectedPayload | TaskPlanConfirmedPayload | TaskAskQuestionRenderedPayload | TaskPlanRenderedPayload | TaskSkipAllQuestionsPayload | TaskCancelPlanPayload | TaskAskQuestionConfirmedPayload | TaskModifyPlanRequestedPayload | TaskModifyPlanSubmittedPayload;
551
+ export type Payload = MessageSendPayload | ChatClosePayload | SmartCreationModalOpenPayload | ChatNewPayload | InsightsOpenInChatPayload | InsightsChatExitedPayload | ChatDraftPayload | ChatSmartLink3PPostAuthLaunchPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | SmartlinksSubscriptionChangedPayload | OpenBrowseAgentSidebarPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | JiraCreateContextPayload | JiraInlineAgentCreationAgentAssignedPayload | DatabaseContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | SelectActionPayload | AddChartToDashboardPayload | GenericExternalActionErrorPayload | OpenChatDebugModalPayload | OpenChatFeedbackModalPayload | JsmJourneyBuilderActionsPayload | StudioAutomationBuildUpdatePayload | SolutionArchitectHandoffPayload | SolutionPlanStateUpdatePayload | SolutionDraftAgentUpdatePayload | SolutionArchitectAgentActivationPayload | SolutionArchitectAgentActivationFlowStartedPayload | SolutionArchitectAgentActivationFlowStoppedPayload | UpdateAgentConfigurationPayload | StudioLandingPageRedirectPayload | UploadAndInsertMediaPayload | SmartLinksContextPayload | SpaceSelectedPayload | SpaceDeselectedPayload | RecommendedSpacesSelectedPayload | TaskPlanConfirmedPayload | TaskAskQuestionRenderedPayload | TaskPlanRenderedPayload | TaskSkipAllQuestionsPayload | TaskCancelPlanPayload | TaskAskQuestionConfirmedPayload | TaskModifyPlanRequestedPayload | TaskModifyPlanSubmittedPayload;
545
552
  export type TaskPlanConfirmedPayload = PayloadCore<'task-plan-confirmed', {
546
553
  conversationId: string;
547
554
  planTitle: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-triggers",
3
- "version": "9.0.0",
3
+ "version": "9.1.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": {
@@ -28,7 +28,7 @@
28
28
  ],
29
29
  "atlaskit:src": "src/index.ts",
30
30
  "dependencies": {
31
- "@atlaskit/adf-schema": "^55.0.0",
31
+ "@atlaskit/adf-schema": "^55.2.0",
32
32
  "@atlaskit/platform-feature-flags": "^2.0.0",
33
33
  "@babel/runtime": "^7.0.0",
34
34
  "bind-event-listener": "^3.0.0"