@atlaskit/editor-card-provider 4.0.1 → 4.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,22 @@
1
1
  # @atlaskit/editor-card-provider
2
2
 
3
+ ## 4.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#121167](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/121167)
8
+ [`ee11687395d4d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ee11687395d4d) -
9
+ FF Clean up: rovo_chat_append_org_id_to_atlas_url, linking_platform_show_lozenge_atlassian_state,
10
+ rovo_profile_card_open_chat_sidebar, rovo_chat_fix_pubsub_init_race_condition,
11
+ rovo_agent_profile_page_default_embed, rovo_refocus_use_visibilitychange, and
12
+ rovo_chat_pubsub_flush
13
+
14
+ ## 4.0.2
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+
3
20
  ## 4.0.1
4
21
 
5
22
  ### Patch Changes
@@ -90,10 +90,7 @@ var isJiraSummary = function isJiraSummary(url) {
90
90
  return url.match(/^https:\/\/.*?\/jira\/software\/(c\/)?projects\/[^\/]+?\/summary/);
91
91
  };
92
92
  var isRovoAgentProfilePage = function isRovoAgentProfilePage(url) {
93
- if ((0, _platformFeatureFlags.fg)('rovo_agent_profile_page_default_embed')) {
94
- return url.match(/^https:\/\/.*?\/people\/agent\/.+$/);
95
- }
96
- return false;
93
+ return url.match(/^https:\/\/.*?\/people\/agent\/.+$/);
97
94
  };
98
95
  var isCustomer360LandingPage = function isCustomer360LandingPage(url) {
99
96
  return url.match(/^https:\/\/customer\.atlassian\.com\/.*$/);
@@ -46,10 +46,7 @@ const isJiraSummary = url => {
46
46
  return url.match(/^https:\/\/.*?\/jira\/software\/(c\/)?projects\/[^\/]+?\/summary/);
47
47
  };
48
48
  const isRovoAgentProfilePage = url => {
49
- if (fg('rovo_agent_profile_page_default_embed')) {
50
- return url.match(/^https:\/\/.*?\/people\/agent\/.+$/);
51
- }
52
- return false;
49
+ return url.match(/^https:\/\/.*?\/people\/agent\/.+$/);
53
50
  };
54
51
  const isCustomer360LandingPage = url => url.match(/^https:\/\/customer\.atlassian\.com\/.*$/);
55
52
  export class EditorCardProvider {
@@ -82,10 +82,7 @@ var isJiraSummary = function isJiraSummary(url) {
82
82
  return url.match(/^https:\/\/.*?\/jira\/software\/(c\/)?projects\/[^\/]+?\/summary/);
83
83
  };
84
84
  var isRovoAgentProfilePage = function isRovoAgentProfilePage(url) {
85
- if (fg('rovo_agent_profile_page_default_embed')) {
86
- return url.match(/^https:\/\/.*?\/people\/agent\/.+$/);
87
- }
88
- return false;
85
+ return url.match(/^https:\/\/.*?\/people\/agent\/.+$/);
89
86
  };
90
87
  var isCustomer360LandingPage = function isCustomer360LandingPage(url) {
91
88
  return url.match(/^https:\/\/customer\.atlassian\.com\/.*$/);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-card-provider",
3
- "version": "4.0.1",
3
+ "version": "4.1.0",
4
4
  "description": "Contains the EditorCardProvider, for determining smart card behaviour in the editor.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,7 +33,7 @@
33
33
  ".": "./src/index.ts"
34
34
  },
35
35
  "dependencies": {
36
- "@atlaskit/eslint-plugin-platform": "2.4.1",
36
+ "@atlaskit/eslint-plugin-platform": "2.4.2",
37
37
  "@atlaskit/feature-gate-js-client": "^4.26.0",
38
38
  "@atlaskit/link-client-extension": "^4.0.0",
39
39
  "@atlaskit/link-extractors": "^2.0.0",
@@ -54,9 +54,6 @@
54
54
  "smart_links_for_plans_platform": {
55
55
  "type": "boolean"
56
56
  },
57
- "rovo_agent_profile_page_default_embed": {
58
- "type": "boolean"
59
- },
60
57
  "smartlink_jira_software_form": {
61
58
  "type": "boolean"
62
59
  }