@atlaskit/smart-hooks 0.2.13 → 0.2.14
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 +8 -0
- package/dist/cjs/services/use-user-recommendations/analytics.js +1 -1
- package/dist/es2019/services/use-user-recommendations/analytics.js +1 -1
- package/dist/esm/services/use-user-recommendations/analytics.js +1 -1
- package/dist/types/types.d.ts +3 -3
- package/dist/types-ts4.5/types.d.ts +3 -3
- package/package.json +4 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/smart-hooks
|
|
2
2
|
|
|
3
|
+
## 0.2.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#166035](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/166035)
|
|
8
|
+
[`2c941c7061475`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2c941c7061475) -
|
|
9
|
+
Update documenation to point to the Search Experiences team
|
|
10
|
+
|
|
3
11
|
## 0.2.13
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -21,7 +21,7 @@ var createEvent = function createEvent(eventType, action, actionSubject) {
|
|
|
21
21
|
source: '@atlaskit/smart-hooks/use-user-recommendations',
|
|
22
22
|
attributes: _objectSpread({
|
|
23
23
|
packageName: "@atlaskit/smart-hooks",
|
|
24
|
-
packageVersion: "0.2.
|
|
24
|
+
packageVersion: "0.2.14"
|
|
25
25
|
}, attributes)
|
|
26
26
|
};
|
|
27
27
|
};
|
|
@@ -9,7 +9,7 @@ const createEvent = (eventType, action, actionSubject, attributes = {}) => ({
|
|
|
9
9
|
source: '@atlaskit/smart-hooks/use-user-recommendations',
|
|
10
10
|
attributes: {
|
|
11
11
|
packageName: "@atlaskit/smart-hooks",
|
|
12
|
-
packageVersion: "0.2.
|
|
12
|
+
packageVersion: "0.2.14",
|
|
13
13
|
...attributes
|
|
14
14
|
}
|
|
15
15
|
});
|
|
@@ -14,7 +14,7 @@ var createEvent = function createEvent(eventType, action, actionSubject) {
|
|
|
14
14
|
source: '@atlaskit/smart-hooks/use-user-recommendations',
|
|
15
15
|
attributes: _objectSpread({
|
|
16
16
|
packageName: "@atlaskit/smart-hooks",
|
|
17
|
-
packageVersion: "0.2.
|
|
17
|
+
packageVersion: "0.2.14"
|
|
18
18
|
}, attributes)
|
|
19
19
|
};
|
|
20
20
|
};
|
package/dist/types/types.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export type UseUserRecommendationsProps = {
|
|
|
26
26
|
* generating suggestions.
|
|
27
27
|
* All fieldId's will be bucketed into a model that provides generic smart results,
|
|
28
28
|
* except "assignee", "mentions" which are specifically trained for Jira Assignee and
|
|
29
|
-
* @Mentions. For specifically trained models, please contact #
|
|
29
|
+
* @Mentions. For specifically trained models, please contact #search-plex.
|
|
30
30
|
*/
|
|
31
31
|
fieldId: string;
|
|
32
32
|
/**
|
|
@@ -55,7 +55,7 @@ export type UseUserRecommendationsProps = {
|
|
|
55
55
|
* the hook is used.
|
|
56
56
|
* WARNING: please consider carefully before deciding to preload your suggestions
|
|
57
57
|
* as this will increase the load on the recommendations services (has caused HOTs).
|
|
58
|
-
* Please give #
|
|
58
|
+
* Please give #search-plex a ballpark on the expected request volume.
|
|
59
59
|
* (@default: false)
|
|
60
60
|
*/
|
|
61
61
|
preload?: boolean;
|
|
@@ -85,7 +85,7 @@ export type UseUserRecommendationsProps = {
|
|
|
85
85
|
* Identifier for the product's tenant, also known as siteId or cloudId.
|
|
86
86
|
* If product is not tenanted, the convention is to provide the productKey
|
|
87
87
|
* as the tenantId (e.g. "bitbucket") but this may vary across products.
|
|
88
|
-
* Check with #
|
|
88
|
+
* Check with #search-plex.
|
|
89
89
|
*/
|
|
90
90
|
tenantId: string;
|
|
91
91
|
};
|
|
@@ -26,7 +26,7 @@ export type UseUserRecommendationsProps = {
|
|
|
26
26
|
* generating suggestions.
|
|
27
27
|
* All fieldId's will be bucketed into a model that provides generic smart results,
|
|
28
28
|
* except "assignee", "mentions" which are specifically trained for Jira Assignee and
|
|
29
|
-
* @Mentions. For specifically trained models, please contact #
|
|
29
|
+
* @Mentions. For specifically trained models, please contact #search-plex.
|
|
30
30
|
*/
|
|
31
31
|
fieldId: string;
|
|
32
32
|
/**
|
|
@@ -55,7 +55,7 @@ export type UseUserRecommendationsProps = {
|
|
|
55
55
|
* the hook is used.
|
|
56
56
|
* WARNING: please consider carefully before deciding to preload your suggestions
|
|
57
57
|
* as this will increase the load on the recommendations services (has caused HOTs).
|
|
58
|
-
* Please give #
|
|
58
|
+
* Please give #search-plex a ballpark on the expected request volume.
|
|
59
59
|
* (@default: false)
|
|
60
60
|
*/
|
|
61
61
|
preload?: boolean;
|
|
@@ -85,7 +85,7 @@ export type UseUserRecommendationsProps = {
|
|
|
85
85
|
* Identifier for the product's tenant, also known as siteId or cloudId.
|
|
86
86
|
* If product is not tenanted, the convention is to provide the productKey
|
|
87
87
|
* as the tenantId (e.g. "bitbucket") but this may vary across products.
|
|
88
|
-
* Check with #
|
|
88
|
+
* Check with #search-plex.
|
|
89
89
|
*/
|
|
90
90
|
tenantId: string;
|
|
91
91
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-hooks",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.14",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -22,9 +22,7 @@
|
|
|
22
22
|
"sideEffects": false,
|
|
23
23
|
"atlaskit:src": "src/index.ts",
|
|
24
24
|
"atlassian": {
|
|
25
|
-
"team": "Search Platform: Search Experience"
|
|
26
|
-
"inPublicMirror": false,
|
|
27
|
-
"releaseModel": "continuous"
|
|
25
|
+
"team": "Search Platform: Search Experience"
|
|
28
26
|
},
|
|
29
27
|
"dependencies": {
|
|
30
28
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
@@ -32,7 +30,7 @@
|
|
|
32
30
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
33
31
|
"@atlaskit/smart-common": "^0.4.0",
|
|
34
32
|
"@atlaskit/ufo": "^0.3.0",
|
|
35
|
-
"@atlaskit/user-picker": "^10.
|
|
33
|
+
"@atlaskit/user-picker": "^10.27.0",
|
|
36
34
|
"@babel/runtime": "^7.0.0",
|
|
37
35
|
"lodash": "^4.17.21",
|
|
38
36
|
"memoize-one": "^6.0.0",
|
|
@@ -43,7 +41,7 @@
|
|
|
43
41
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
44
42
|
},
|
|
45
43
|
"devDependencies": {
|
|
46
|
-
"@storybook/addon-knobs": "^
|
|
44
|
+
"@storybook/addon-knobs": "^6.4.0",
|
|
47
45
|
"@testing-library/react": "^12.1.5",
|
|
48
46
|
"@testing-library/react-hooks": "^8.0.1",
|
|
49
47
|
"@welldone-software/why-did-you-render": "^6.2.0",
|