@atlaskit/rovo-triggers 10.6.0 → 10.6.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,14 @@
1
1
  # @atlaskit/rovo-triggers
2
2
 
3
+ ## 10.6.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`9c1bd3f520493`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9c1bd3f520493) -
8
+ Cleanup feature gate `rovo_chat_fix_cold_start_prompt_insertion`. The `set-message-context` event
9
+ is now always ignored for trigger-latest replay, and the editor placeholder analytics event is now
10
+ always sent.
11
+
3
12
  ## 10.6.0
4
13
 
5
14
  ### Minor Changes
package/dist/cjs/main.js CHANGED
@@ -19,14 +19,11 @@ var ignoredTriggerLatestEvents = new Set(['editor-context-payload', 'agent-chang
19
19
  // cause `triggerLatest` subscribers (e.g. PubSubListener) to replay them
20
20
  // instead of the real action event (e.g. open-browse-agent-modal) that
21
21
  // originally opened the chat.
22
- 'smartlinks-subscription-changed', 'smartlinks-context-payload']);
22
+ 'smartlinks-subscription-changed', 'smartlinks-context-payload', 'set-message-context']);
23
23
  var isIgnoredForTriggerLatest = function isIgnoredForTriggerLatest(type) {
24
24
  if (ignoredTriggerLatestEvents.has(type)) {
25
25
  return true;
26
26
  }
27
- if (type === 'set-message-context') {
28
- return (0, _platformFeatureFlags.fg)('rovo_chat_fix_cold_start_prompt_insertion');
29
- }
30
27
  if (type === 'jira-create-context-payload') {
31
28
  return (0, _platformFeatureFlags.fg)('rovo_chat_fix_jira_prompt_dropped_on_reopen');
32
29
  }
@@ -6,14 +6,11 @@ const ignoredTriggerLatestEvents = new Set(['editor-context-payload', 'agent-cha
6
6
  // cause `triggerLatest` subscribers (e.g. PubSubListener) to replay them
7
7
  // instead of the real action event (e.g. open-browse-agent-modal) that
8
8
  // originally opened the chat.
9
- 'smartlinks-subscription-changed', 'smartlinks-context-payload']);
9
+ 'smartlinks-subscription-changed', 'smartlinks-context-payload', 'set-message-context']);
10
10
  const isIgnoredForTriggerLatest = type => {
11
11
  if (ignoredTriggerLatestEvents.has(type)) {
12
12
  return true;
13
13
  }
14
- if (type === 'set-message-context') {
15
- return fg('rovo_chat_fix_cold_start_prompt_insertion');
16
- }
17
14
  if (type === 'jira-create-context-payload') {
18
15
  return fg('rovo_chat_fix_jira_prompt_dropped_on_reopen');
19
16
  }
package/dist/esm/main.js CHANGED
@@ -12,14 +12,11 @@ var ignoredTriggerLatestEvents = new Set(['editor-context-payload', 'agent-chang
12
12
  // cause `triggerLatest` subscribers (e.g. PubSubListener) to replay them
13
13
  // instead of the real action event (e.g. open-browse-agent-modal) that
14
14
  // originally opened the chat.
15
- 'smartlinks-subscription-changed', 'smartlinks-context-payload']);
15
+ 'smartlinks-subscription-changed', 'smartlinks-context-payload', 'set-message-context']);
16
16
  var isIgnoredForTriggerLatest = function isIgnoredForTriggerLatest(type) {
17
17
  if (ignoredTriggerLatestEvents.has(type)) {
18
18
  return true;
19
19
  }
20
- if (type === 'set-message-context') {
21
- return fg('rovo_chat_fix_cold_start_prompt_insertion');
22
- }
23
20
  if (type === 'jira-create-context-payload') {
24
21
  return fg('rovo_chat_fix_jira_prompt_dropped_on_reopen');
25
22
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-triggers",
3
- "version": "10.6.0",
3
+ "version": "10.6.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": "^22.2.0",
45
45
  "@atlaskit/ssr": "workspace:^",
46
46
  "@atlassian/a11y-jest-testing": "^0.15.0",
47
- "@atlassian/conversation-assistant-service-api": "^15.1.0",
47
+ "@atlassian/conversation-assistant-service-api": "^16.0.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",
@@ -87,9 +87,6 @@
87
87
  }
88
88
  },
89
89
  "platform-feature-flags": {
90
- "rovo_chat_fix_cold_start_prompt_insertion": {
91
- "type": "boolean"
92
- },
93
90
  "rovo_chat_fix_jira_prompt_dropped_on_reopen": {
94
91
  "type": "boolean"
95
92
  }