@atlaskit/util-data-test 16.0.1 → 17.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 +28 -0
- package/dist/cjs/emoji/emoji-repository-usage-clear.js +1 -1
- package/dist/cjs/emoji-constants/index.js +1 -1
- package/dist/cjs/emoji-test/emoji-samples.js +1 -1
- package/dist/cjs/emoji-test/media-emoji.js +1 -1
- package/dist/cjs/json-data/emoji-all.json +29 -103
- package/dist/cjs/json-data/user-picker-data.json +9 -0
- package/dist/cjs/logger.js +1 -1
- package/dist/cjs/mention/mention-story-data.js +1 -1
- package/dist/cjs/mention/mention-test-data.js +1 -1
- package/dist/cjs/mention/presence-data.js +1 -1
- package/dist/cjs/profilecard/get-mock-profilecard-client.js +18 -0
- package/dist/cjs/profilecard/util.js +1 -1
- package/dist/cjs/slack-data/index.js +4 -4
- package/dist/cjs/task-decision/task-decision-story-data.js +1 -1
- package/dist/cjs/task-decision/utils.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/json-data/emoji-all.json +29 -103
- package/dist/es2019/json-data/user-picker-data.json +9 -0
- package/dist/es2019/profilecard/get-mock-profilecard-client.js +15 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/json-data/emoji-all.json +29 -103
- package/dist/esm/json-data/user-picker-data.json +9 -0
- package/dist/esm/profilecard/get-mock-profilecard-client.js +17 -0
- package/dist/esm/version.json +1 -1
- package/dist/types/json-data/emoji-all.json +29 -103
- package/dist/types/json-data/user-picker-data.json +9 -0
- package/dist/types/profilecard/get-mock-profilecard-client.d.ts +18 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @atlaskit/util-data-test
|
|
2
2
|
|
|
3
|
+
## 17.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`a5c73ccaa58`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5c73ccaa58) - Added manager and direct reports section to profile hover card"
|
|
8
|
+
|
|
9
|
+
## 17.0.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
|
|
14
|
+
|
|
15
|
+
## 17.0.1
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
21
|
+
## 17.0.0
|
|
22
|
+
|
|
23
|
+
### Major Changes
|
|
24
|
+
|
|
25
|
+
- [`d21da111ec2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d21da111ec2) - CETI-95 Predefined icon sizes are different from existing icons
|
|
26
|
+
|
|
27
|
+
### Minor Changes
|
|
28
|
+
|
|
29
|
+
- [`e81dd06a8a0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e81dd06a8a0) - CETI-158 Use large productivity icons when changing standard panel background colour
|
|
30
|
+
|
|
3
31
|
## 16.0.1
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.isUsageClearEmojiRepository = exports.EmojiRepositoryUsageClear = void 0;
|
|
9
9
|
|
|
10
10
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
11
11
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.selectedToneStorageKey = exports.mediaEmojiImagePath = exports.mediaEmojiAlternateImagePath = exports.mediaBaseUrl = exports.customType = exports.customCategory = void 0;
|
|
7
7
|
// Copy of constants from @atlaskit/emoji
|
|
8
8
|
// NOTE: if this is changed in the original package, this must also be modified
|
|
9
9
|
var customType = 'SITE';
|
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.thumbsupEmoji = exports.thumbsdownEmoji = exports.standardBoomEmoji = exports.smileyEmoji = exports.openMouthEmoji = exports.grinEmoji = exports.evilburnsEmoji = exports.congoFlagEmoji = exports.blackFlagEmoji = exports.atlassianBoomEmoji = void 0;
|
|
9
9
|
|
|
10
10
|
var _memoizeOne = _interopRequireDefault(require("memoize-one"));
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.mediaEmojiId = exports.mediaEmoji = void 0;
|
|
9
9
|
|
|
10
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
11
|
|
|
@@ -54052,28 +54052,6 @@
|
|
|
54052
54052
|
"searchable": true,
|
|
54053
54053
|
"shortName": ":minus:"
|
|
54054
54054
|
},
|
|
54055
|
-
{
|
|
54056
|
-
"id": "atlassian-note",
|
|
54057
|
-
"name": "note",
|
|
54058
|
-
"fallback": ":note:",
|
|
54059
|
-
"type": "ATLASSIAN",
|
|
54060
|
-
"category": "ATLASSIAN",
|
|
54061
|
-
"order": -1000,
|
|
54062
|
-
"representation": {
|
|
54063
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/note@2x.png",
|
|
54064
|
-
"height": 48,
|
|
54065
|
-
"width": 48
|
|
54066
|
-
},
|
|
54067
|
-
"altRepresentations": {
|
|
54068
|
-
"XXXHDPI": {
|
|
54069
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/note@4x.png",
|
|
54070
|
-
"height": 96,
|
|
54071
|
-
"width": 96
|
|
54072
|
-
}
|
|
54073
|
-
},
|
|
54074
|
-
"searchable": true,
|
|
54075
|
-
"shortName": ":note:"
|
|
54076
|
-
},
|
|
54077
54055
|
{
|
|
54078
54056
|
"id": "atlassian-blue_star",
|
|
54079
54057
|
"name": "Blue Star",
|
|
@@ -54125,28 +54103,6 @@
|
|
|
54125
54103
|
"searchable": true,
|
|
54126
54104
|
"shortName": ":flag_off:"
|
|
54127
54105
|
},
|
|
54128
|
-
{
|
|
54129
|
-
"id": "atlassian-error",
|
|
54130
|
-
"name": "error",
|
|
54131
|
-
"fallback": ":error:",
|
|
54132
|
-
"type": "ATLASSIAN",
|
|
54133
|
-
"category": "ATLASSIAN",
|
|
54134
|
-
"order": -1000,
|
|
54135
|
-
"representation": {
|
|
54136
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/error@2x.png",
|
|
54137
|
-
"height": 48,
|
|
54138
|
-
"width": 48
|
|
54139
|
-
},
|
|
54140
|
-
"altRepresentations": {
|
|
54141
|
-
"XXXHDPI": {
|
|
54142
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/error@4x.png",
|
|
54143
|
-
"height": 96,
|
|
54144
|
-
"width": 96
|
|
54145
|
-
}
|
|
54146
|
-
},
|
|
54147
|
-
"searchable": true,
|
|
54148
|
-
"shortName": ":error:"
|
|
54149
|
-
},
|
|
54150
54106
|
{
|
|
54151
54107
|
"id": "atlassian-plus",
|
|
54152
54108
|
"name": "Plus",
|
|
@@ -54255,28 +54211,6 @@
|
|
|
54255
54211
|
"searchable": true,
|
|
54256
54212
|
"shortName": ":cross_mark:"
|
|
54257
54213
|
},
|
|
54258
|
-
{
|
|
54259
|
-
"id": "atlassian-success",
|
|
54260
|
-
"name": "success",
|
|
54261
|
-
"fallback": ":success:",
|
|
54262
|
-
"type": "ATLASSIAN",
|
|
54263
|
-
"category": "ATLASSIAN",
|
|
54264
|
-
"order": -1000,
|
|
54265
|
-
"representation": {
|
|
54266
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/success@2x.png",
|
|
54267
|
-
"height": 48,
|
|
54268
|
-
"width": 48
|
|
54269
|
-
},
|
|
54270
|
-
"altRepresentations": {
|
|
54271
|
-
"XXXHDPI": {
|
|
54272
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/success@4x.png",
|
|
54273
|
-
"height": 96,
|
|
54274
|
-
"width": 96
|
|
54275
|
-
}
|
|
54276
|
-
},
|
|
54277
|
-
"searchable": true,
|
|
54278
|
-
"shortName": ":success:"
|
|
54279
|
-
},
|
|
54280
54214
|
{
|
|
54281
54215
|
"id": "atlassian-yellow_star",
|
|
54282
54216
|
"name": "Yellow Star",
|
|
@@ -54332,28 +54266,6 @@
|
|
|
54332
54266
|
"searchable": true,
|
|
54333
54267
|
"shortName": ":green_star:"
|
|
54334
54268
|
},
|
|
54335
|
-
{
|
|
54336
|
-
"id": "atlassian-warning",
|
|
54337
|
-
"name": "warning",
|
|
54338
|
-
"fallback": ":warning:",
|
|
54339
|
-
"type": "ATLASSIAN",
|
|
54340
|
-
"category": "ATLASSIAN",
|
|
54341
|
-
"order": -1000,
|
|
54342
|
-
"representation": {
|
|
54343
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/warning@2x.png",
|
|
54344
|
-
"height": 48,
|
|
54345
|
-
"width": 48
|
|
54346
|
-
},
|
|
54347
|
-
"altRepresentations": {
|
|
54348
|
-
"XXXHDPI": {
|
|
54349
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/warning@4x.png",
|
|
54350
|
-
"height": 96,
|
|
54351
|
-
"width": 96
|
|
54352
|
-
}
|
|
54353
|
-
},
|
|
54354
|
-
"searchable": true,
|
|
54355
|
-
"shortName": ":warning:"
|
|
54356
|
-
},
|
|
54357
54269
|
{
|
|
54358
54270
|
"id": "atlassian-flag_on",
|
|
54359
54271
|
"name": "Flag On",
|
|
@@ -54370,26 +54282,40 @@
|
|
|
54370
54282
|
"shortName": ":flag_on:"
|
|
54371
54283
|
},
|
|
54372
54284
|
{
|
|
54373
|
-
|
|
54374
|
-
|
|
54375
|
-
|
|
54285
|
+
"id": "atlassian-info",
|
|
54286
|
+
"name": "Info",
|
|
54287
|
+
"fallback": ":info:",
|
|
54288
|
+
"type": "ATLASSIAN",
|
|
54289
|
+
"category": "ATLASSIAN",
|
|
54290
|
+
"order": -990,
|
|
54291
|
+
"representation": {
|
|
54292
|
+
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/info_64.png",
|
|
54293
|
+
"height": 64,
|
|
54294
|
+
"width": 64
|
|
54295
|
+
},
|
|
54296
|
+
"ascii": [
|
|
54297
|
+
"(i)"
|
|
54298
|
+
],
|
|
54299
|
+
"searchable": true,
|
|
54300
|
+
"shortName": ":info:"
|
|
54301
|
+
},
|
|
54302
|
+
{
|
|
54303
|
+
"id": "atlassian-note",
|
|
54304
|
+
"name": "Note",
|
|
54305
|
+
"fallback": ":note:",
|
|
54376
54306
|
"type": "ATLASSIAN",
|
|
54377
54307
|
"category": "ATLASSIAN",
|
|
54378
|
-
"order": -
|
|
54308
|
+
"order": -985,
|
|
54379
54309
|
"representation": {
|
|
54380
|
-
|
|
54381
|
-
|
|
54382
|
-
|
|
54383
|
-
},
|
|
54384
|
-
"altRepresentations": {
|
|
54385
|
-
"XXXHDPI": {
|
|
54386
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/info@4x.png",
|
|
54387
|
-
"height": 96,
|
|
54388
|
-
"width": 96
|
|
54389
|
-
}
|
|
54310
|
+
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/note_64.png",
|
|
54311
|
+
"height": 64,
|
|
54312
|
+
"width": 64
|
|
54390
54313
|
},
|
|
54314
|
+
"ascii": [
|
|
54315
|
+
"(#)"
|
|
54316
|
+
],
|
|
54391
54317
|
"searchable": true,
|
|
54392
|
-
"shortName": ":
|
|
54318
|
+
"shortName": ":note:"
|
|
54393
54319
|
},
|
|
54394
54320
|
{
|
|
54395
54321
|
"id": "wtf",
|
|
@@ -338,5 +338,14 @@
|
|
|
338
338
|
"type": "user",
|
|
339
339
|
"isExternal": true,
|
|
340
340
|
"sources": ["github"]
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"id": "external-5",
|
|
344
|
+
"name": "Dorian",
|
|
345
|
+
"email": "Dorian@email.com",
|
|
346
|
+
"avatarUrl": "https://ptc-directory-sited-static.us-east-1.staging.public.atl-paas.net/teams/avatars/4.svg",
|
|
347
|
+
"type": "user",
|
|
348
|
+
"isExternal": true,
|
|
349
|
+
"sources": []
|
|
341
350
|
}
|
|
342
351
|
]
|
package/dist/cjs/logger.js
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
exports.default = debug;
|
|
6
7
|
exports.enableLogger = enableLogger;
|
|
7
8
|
exports.enableStacktraces = enableStacktraces;
|
|
8
9
|
exports.logStacktrace = logStacktrace;
|
|
9
|
-
exports.default = debug;
|
|
10
10
|
// Duplicate or utils/logger.ts from elements packages
|
|
11
11
|
var debugEnabled = false;
|
|
12
12
|
var stacktracesEnabled = false;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.mentions = exports.mentionSlowResourceProvider = exports.mentionSampleAvatarUrl = exports.mentionResourceProviderWithTeamMentionHighlight = exports.mentionResourceProviderWithResolver2 = exports.mentionResourceProviderWithResolver = exports.mentionResourceProviderWithInviteFromMentionExperiment = exports.mentionResourceProviderWithInfoHints = exports.mentionResourceProvider = void 0;
|
|
7
7
|
|
|
8
8
|
var _mockMentionResource = require("./mock-mention-resource");
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.mentionTestResult = exports.mentionTestDataSize = exports.mentionTestData = void 0;
|
|
7
7
|
|
|
8
8
|
var mentionTestData = require('../json-data/mention-data.json'); // MentionsResult
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.validPresenceData = exports.invalidPresenceData = void 0;
|
|
7
7
|
|
|
8
8
|
var validPresenceData = require('../json-data/presence-valid-info.json');
|
|
9
9
|
|
|
@@ -115,6 +115,24 @@ var simpleMockProfilecardClient = function simpleMockProfilecardClient(modifyRes
|
|
|
115
115
|
return Promise.reject({
|
|
116
116
|
reason: 'not built yet'
|
|
117
117
|
});
|
|
118
|
+
},
|
|
119
|
+
getReportingLines: function getReportingLines(userId) {
|
|
120
|
+
var reportingLinesUsers = _profilecardData.profilecardData.map(function (user, index) {
|
|
121
|
+
return {
|
|
122
|
+
accountIdentifier: '123456:12345-67890-' + index,
|
|
123
|
+
identifierType: 'ATLASSIAN_ID',
|
|
124
|
+
pii: {
|
|
125
|
+
name: user.User.fullName,
|
|
126
|
+
picture: user.User.avatarUrl
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
});
|
|
130
|
+
|
|
131
|
+
var halfCount = Math.ceil(reportingLinesUsers.length / 2);
|
|
132
|
+
return Promise.resolve({
|
|
133
|
+
managers: reportingLinesUsers.slice(0, halfCount),
|
|
134
|
+
reports: reportingLinesUsers.slice(-halfCount)
|
|
135
|
+
});
|
|
118
136
|
}
|
|
119
137
|
};
|
|
120
138
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.random = exports.getWeekday = exports.getTimeString = void 0;
|
|
7
7
|
|
|
8
8
|
// String.prototype.padStart is the thing which should be used here
|
|
9
9
|
// unfortunately we're using too old TS compiler which doesn't have "es2017.string" lib
|
|
@@ -5,16 +5,16 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
Object.defineProperty(exports, "
|
|
8
|
+
Object.defineProperty(exports, "slackConversationsData", {
|
|
9
9
|
enumerable: true,
|
|
10
10
|
get: function get() {
|
|
11
|
-
return
|
|
11
|
+
return _slackConversationsData.default;
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
|
-
Object.defineProperty(exports, "
|
|
14
|
+
Object.defineProperty(exports, "slackWorkspacesData", {
|
|
15
15
|
enumerable: true,
|
|
16
16
|
get: function get() {
|
|
17
|
-
return
|
|
17
|
+
return _slackWorkspacesData.default;
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.participants = exports.getServiceTasksResponse = exports.getParticipants = exports.getMockTaskDecisionResource = exports.document = void 0;
|
|
7
7
|
|
|
8
8
|
var _mockTaskDecisionResource = require("./mock-task-decision-resource");
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.toggleTaskState = exports.objectKeyToString = exports.findIndex = void 0;
|
|
7
7
|
|
|
8
8
|
// Copy of helper functions from @atlaskit/task-decision
|
|
9
9
|
// NOTE: if this is changed in the original package, this must also be modified
|
package/dist/cjs/version.json
CHANGED
|
@@ -54052,28 +54052,6 @@
|
|
|
54052
54052
|
"searchable": true,
|
|
54053
54053
|
"shortName": ":minus:"
|
|
54054
54054
|
},
|
|
54055
|
-
{
|
|
54056
|
-
"id": "atlassian-note",
|
|
54057
|
-
"name": "note",
|
|
54058
|
-
"fallback": ":note:",
|
|
54059
|
-
"type": "ATLASSIAN",
|
|
54060
|
-
"category": "ATLASSIAN",
|
|
54061
|
-
"order": -1000,
|
|
54062
|
-
"representation": {
|
|
54063
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/note@2x.png",
|
|
54064
|
-
"height": 48,
|
|
54065
|
-
"width": 48
|
|
54066
|
-
},
|
|
54067
|
-
"altRepresentations": {
|
|
54068
|
-
"XXXHDPI": {
|
|
54069
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/note@4x.png",
|
|
54070
|
-
"height": 96,
|
|
54071
|
-
"width": 96
|
|
54072
|
-
}
|
|
54073
|
-
},
|
|
54074
|
-
"searchable": true,
|
|
54075
|
-
"shortName": ":note:"
|
|
54076
|
-
},
|
|
54077
54055
|
{
|
|
54078
54056
|
"id": "atlassian-blue_star",
|
|
54079
54057
|
"name": "Blue Star",
|
|
@@ -54125,28 +54103,6 @@
|
|
|
54125
54103
|
"searchable": true,
|
|
54126
54104
|
"shortName": ":flag_off:"
|
|
54127
54105
|
},
|
|
54128
|
-
{
|
|
54129
|
-
"id": "atlassian-error",
|
|
54130
|
-
"name": "error",
|
|
54131
|
-
"fallback": ":error:",
|
|
54132
|
-
"type": "ATLASSIAN",
|
|
54133
|
-
"category": "ATLASSIAN",
|
|
54134
|
-
"order": -1000,
|
|
54135
|
-
"representation": {
|
|
54136
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/error@2x.png",
|
|
54137
|
-
"height": 48,
|
|
54138
|
-
"width": 48
|
|
54139
|
-
},
|
|
54140
|
-
"altRepresentations": {
|
|
54141
|
-
"XXXHDPI": {
|
|
54142
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/error@4x.png",
|
|
54143
|
-
"height": 96,
|
|
54144
|
-
"width": 96
|
|
54145
|
-
}
|
|
54146
|
-
},
|
|
54147
|
-
"searchable": true,
|
|
54148
|
-
"shortName": ":error:"
|
|
54149
|
-
},
|
|
54150
54106
|
{
|
|
54151
54107
|
"id": "atlassian-plus",
|
|
54152
54108
|
"name": "Plus",
|
|
@@ -54255,28 +54211,6 @@
|
|
|
54255
54211
|
"searchable": true,
|
|
54256
54212
|
"shortName": ":cross_mark:"
|
|
54257
54213
|
},
|
|
54258
|
-
{
|
|
54259
|
-
"id": "atlassian-success",
|
|
54260
|
-
"name": "success",
|
|
54261
|
-
"fallback": ":success:",
|
|
54262
|
-
"type": "ATLASSIAN",
|
|
54263
|
-
"category": "ATLASSIAN",
|
|
54264
|
-
"order": -1000,
|
|
54265
|
-
"representation": {
|
|
54266
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/success@2x.png",
|
|
54267
|
-
"height": 48,
|
|
54268
|
-
"width": 48
|
|
54269
|
-
},
|
|
54270
|
-
"altRepresentations": {
|
|
54271
|
-
"XXXHDPI": {
|
|
54272
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/success@4x.png",
|
|
54273
|
-
"height": 96,
|
|
54274
|
-
"width": 96
|
|
54275
|
-
}
|
|
54276
|
-
},
|
|
54277
|
-
"searchable": true,
|
|
54278
|
-
"shortName": ":success:"
|
|
54279
|
-
},
|
|
54280
54214
|
{
|
|
54281
54215
|
"id": "atlassian-yellow_star",
|
|
54282
54216
|
"name": "Yellow Star",
|
|
@@ -54332,28 +54266,6 @@
|
|
|
54332
54266
|
"searchable": true,
|
|
54333
54267
|
"shortName": ":green_star:"
|
|
54334
54268
|
},
|
|
54335
|
-
{
|
|
54336
|
-
"id": "atlassian-warning",
|
|
54337
|
-
"name": "warning",
|
|
54338
|
-
"fallback": ":warning:",
|
|
54339
|
-
"type": "ATLASSIAN",
|
|
54340
|
-
"category": "ATLASSIAN",
|
|
54341
|
-
"order": -1000,
|
|
54342
|
-
"representation": {
|
|
54343
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/warning@2x.png",
|
|
54344
|
-
"height": 48,
|
|
54345
|
-
"width": 48
|
|
54346
|
-
},
|
|
54347
|
-
"altRepresentations": {
|
|
54348
|
-
"XXXHDPI": {
|
|
54349
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/warning@4x.png",
|
|
54350
|
-
"height": 96,
|
|
54351
|
-
"width": 96
|
|
54352
|
-
}
|
|
54353
|
-
},
|
|
54354
|
-
"searchable": true,
|
|
54355
|
-
"shortName": ":warning:"
|
|
54356
|
-
},
|
|
54357
54269
|
{
|
|
54358
54270
|
"id": "atlassian-flag_on",
|
|
54359
54271
|
"name": "Flag On",
|
|
@@ -54370,26 +54282,40 @@
|
|
|
54370
54282
|
"shortName": ":flag_on:"
|
|
54371
54283
|
},
|
|
54372
54284
|
{
|
|
54373
|
-
|
|
54374
|
-
|
|
54375
|
-
|
|
54285
|
+
"id": "atlassian-info",
|
|
54286
|
+
"name": "Info",
|
|
54287
|
+
"fallback": ":info:",
|
|
54288
|
+
"type": "ATLASSIAN",
|
|
54289
|
+
"category": "ATLASSIAN",
|
|
54290
|
+
"order": -990,
|
|
54291
|
+
"representation": {
|
|
54292
|
+
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/info_64.png",
|
|
54293
|
+
"height": 64,
|
|
54294
|
+
"width": 64
|
|
54295
|
+
},
|
|
54296
|
+
"ascii": [
|
|
54297
|
+
"(i)"
|
|
54298
|
+
],
|
|
54299
|
+
"searchable": true,
|
|
54300
|
+
"shortName": ":info:"
|
|
54301
|
+
},
|
|
54302
|
+
{
|
|
54303
|
+
"id": "atlassian-note",
|
|
54304
|
+
"name": "Note",
|
|
54305
|
+
"fallback": ":note:",
|
|
54376
54306
|
"type": "ATLASSIAN",
|
|
54377
54307
|
"category": "ATLASSIAN",
|
|
54378
|
-
"order": -
|
|
54308
|
+
"order": -985,
|
|
54379
54309
|
"representation": {
|
|
54380
|
-
|
|
54381
|
-
|
|
54382
|
-
|
|
54383
|
-
},
|
|
54384
|
-
"altRepresentations": {
|
|
54385
|
-
"XXXHDPI": {
|
|
54386
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/info@4x.png",
|
|
54387
|
-
"height": 96,
|
|
54388
|
-
"width": 96
|
|
54389
|
-
}
|
|
54310
|
+
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/note_64.png",
|
|
54311
|
+
"height": 64,
|
|
54312
|
+
"width": 64
|
|
54390
54313
|
},
|
|
54314
|
+
"ascii": [
|
|
54315
|
+
"(#)"
|
|
54316
|
+
],
|
|
54391
54317
|
"searchable": true,
|
|
54392
|
-
"shortName": ":
|
|
54318
|
+
"shortName": ":note:"
|
|
54393
54319
|
},
|
|
54394
54320
|
{
|
|
54395
54321
|
"id": "wtf",
|
|
@@ -338,5 +338,14 @@
|
|
|
338
338
|
"type": "user",
|
|
339
339
|
"isExternal": true,
|
|
340
340
|
"sources": ["github"]
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"id": "external-5",
|
|
344
|
+
"name": "Dorian",
|
|
345
|
+
"email": "Dorian@email.com",
|
|
346
|
+
"avatarUrl": "https://ptc-directory-sited-static.us-east-1.staging.public.atl-paas.net/teams/avatars/4.svg",
|
|
347
|
+
"type": "user",
|
|
348
|
+
"isExternal": true,
|
|
349
|
+
"sources": []
|
|
341
350
|
}
|
|
342
351
|
]
|
|
@@ -67,5 +67,20 @@ export const simpleMockProfilecardClient = modifyResponse => ({
|
|
|
67
67
|
return Promise.reject({
|
|
68
68
|
reason: 'not built yet'
|
|
69
69
|
});
|
|
70
|
+
},
|
|
71
|
+
getReportingLines: userId => {
|
|
72
|
+
const reportingLinesUsers = profilecardData.map((user, index) => ({
|
|
73
|
+
accountIdentifier: '123456:12345-67890-' + index,
|
|
74
|
+
identifierType: 'ATLASSIAN_ID',
|
|
75
|
+
pii: {
|
|
76
|
+
name: user.User.fullName,
|
|
77
|
+
picture: user.User.avatarUrl
|
|
78
|
+
}
|
|
79
|
+
}));
|
|
80
|
+
const halfCount = Math.ceil(reportingLinesUsers.length / 2);
|
|
81
|
+
return Promise.resolve({
|
|
82
|
+
managers: reportingLinesUsers.slice(0, halfCount),
|
|
83
|
+
reports: reportingLinesUsers.slice(-halfCount)
|
|
84
|
+
});
|
|
70
85
|
}
|
|
71
86
|
});
|
package/dist/es2019/version.json
CHANGED
|
@@ -54052,28 +54052,6 @@
|
|
|
54052
54052
|
"searchable": true,
|
|
54053
54053
|
"shortName": ":minus:"
|
|
54054
54054
|
},
|
|
54055
|
-
{
|
|
54056
|
-
"id": "atlassian-note",
|
|
54057
|
-
"name": "note",
|
|
54058
|
-
"fallback": ":note:",
|
|
54059
|
-
"type": "ATLASSIAN",
|
|
54060
|
-
"category": "ATLASSIAN",
|
|
54061
|
-
"order": -1000,
|
|
54062
|
-
"representation": {
|
|
54063
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/note@2x.png",
|
|
54064
|
-
"height": 48,
|
|
54065
|
-
"width": 48
|
|
54066
|
-
},
|
|
54067
|
-
"altRepresentations": {
|
|
54068
|
-
"XXXHDPI": {
|
|
54069
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/note@4x.png",
|
|
54070
|
-
"height": 96,
|
|
54071
|
-
"width": 96
|
|
54072
|
-
}
|
|
54073
|
-
},
|
|
54074
|
-
"searchable": true,
|
|
54075
|
-
"shortName": ":note:"
|
|
54076
|
-
},
|
|
54077
54055
|
{
|
|
54078
54056
|
"id": "atlassian-blue_star",
|
|
54079
54057
|
"name": "Blue Star",
|
|
@@ -54125,28 +54103,6 @@
|
|
|
54125
54103
|
"searchable": true,
|
|
54126
54104
|
"shortName": ":flag_off:"
|
|
54127
54105
|
},
|
|
54128
|
-
{
|
|
54129
|
-
"id": "atlassian-error",
|
|
54130
|
-
"name": "error",
|
|
54131
|
-
"fallback": ":error:",
|
|
54132
|
-
"type": "ATLASSIAN",
|
|
54133
|
-
"category": "ATLASSIAN",
|
|
54134
|
-
"order": -1000,
|
|
54135
|
-
"representation": {
|
|
54136
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/error@2x.png",
|
|
54137
|
-
"height": 48,
|
|
54138
|
-
"width": 48
|
|
54139
|
-
},
|
|
54140
|
-
"altRepresentations": {
|
|
54141
|
-
"XXXHDPI": {
|
|
54142
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/error@4x.png",
|
|
54143
|
-
"height": 96,
|
|
54144
|
-
"width": 96
|
|
54145
|
-
}
|
|
54146
|
-
},
|
|
54147
|
-
"searchable": true,
|
|
54148
|
-
"shortName": ":error:"
|
|
54149
|
-
},
|
|
54150
54106
|
{
|
|
54151
54107
|
"id": "atlassian-plus",
|
|
54152
54108
|
"name": "Plus",
|
|
@@ -54255,28 +54211,6 @@
|
|
|
54255
54211
|
"searchable": true,
|
|
54256
54212
|
"shortName": ":cross_mark:"
|
|
54257
54213
|
},
|
|
54258
|
-
{
|
|
54259
|
-
"id": "atlassian-success",
|
|
54260
|
-
"name": "success",
|
|
54261
|
-
"fallback": ":success:",
|
|
54262
|
-
"type": "ATLASSIAN",
|
|
54263
|
-
"category": "ATLASSIAN",
|
|
54264
|
-
"order": -1000,
|
|
54265
|
-
"representation": {
|
|
54266
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/success@2x.png",
|
|
54267
|
-
"height": 48,
|
|
54268
|
-
"width": 48
|
|
54269
|
-
},
|
|
54270
|
-
"altRepresentations": {
|
|
54271
|
-
"XXXHDPI": {
|
|
54272
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/success@4x.png",
|
|
54273
|
-
"height": 96,
|
|
54274
|
-
"width": 96
|
|
54275
|
-
}
|
|
54276
|
-
},
|
|
54277
|
-
"searchable": true,
|
|
54278
|
-
"shortName": ":success:"
|
|
54279
|
-
},
|
|
54280
54214
|
{
|
|
54281
54215
|
"id": "atlassian-yellow_star",
|
|
54282
54216
|
"name": "Yellow Star",
|
|
@@ -54332,28 +54266,6 @@
|
|
|
54332
54266
|
"searchable": true,
|
|
54333
54267
|
"shortName": ":green_star:"
|
|
54334
54268
|
},
|
|
54335
|
-
{
|
|
54336
|
-
"id": "atlassian-warning",
|
|
54337
|
-
"name": "warning",
|
|
54338
|
-
"fallback": ":warning:",
|
|
54339
|
-
"type": "ATLASSIAN",
|
|
54340
|
-
"category": "ATLASSIAN",
|
|
54341
|
-
"order": -1000,
|
|
54342
|
-
"representation": {
|
|
54343
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/warning@2x.png",
|
|
54344
|
-
"height": 48,
|
|
54345
|
-
"width": 48
|
|
54346
|
-
},
|
|
54347
|
-
"altRepresentations": {
|
|
54348
|
-
"XXXHDPI": {
|
|
54349
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/warning@4x.png",
|
|
54350
|
-
"height": 96,
|
|
54351
|
-
"width": 96
|
|
54352
|
-
}
|
|
54353
|
-
},
|
|
54354
|
-
"searchable": true,
|
|
54355
|
-
"shortName": ":warning:"
|
|
54356
|
-
},
|
|
54357
54269
|
{
|
|
54358
54270
|
"id": "atlassian-flag_on",
|
|
54359
54271
|
"name": "Flag On",
|
|
@@ -54370,26 +54282,40 @@
|
|
|
54370
54282
|
"shortName": ":flag_on:"
|
|
54371
54283
|
},
|
|
54372
54284
|
{
|
|
54373
|
-
|
|
54374
|
-
|
|
54375
|
-
|
|
54285
|
+
"id": "atlassian-info",
|
|
54286
|
+
"name": "Info",
|
|
54287
|
+
"fallback": ":info:",
|
|
54288
|
+
"type": "ATLASSIAN",
|
|
54289
|
+
"category": "ATLASSIAN",
|
|
54290
|
+
"order": -990,
|
|
54291
|
+
"representation": {
|
|
54292
|
+
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/info_64.png",
|
|
54293
|
+
"height": 64,
|
|
54294
|
+
"width": 64
|
|
54295
|
+
},
|
|
54296
|
+
"ascii": [
|
|
54297
|
+
"(i)"
|
|
54298
|
+
],
|
|
54299
|
+
"searchable": true,
|
|
54300
|
+
"shortName": ":info:"
|
|
54301
|
+
},
|
|
54302
|
+
{
|
|
54303
|
+
"id": "atlassian-note",
|
|
54304
|
+
"name": "Note",
|
|
54305
|
+
"fallback": ":note:",
|
|
54376
54306
|
"type": "ATLASSIAN",
|
|
54377
54307
|
"category": "ATLASSIAN",
|
|
54378
|
-
"order": -
|
|
54308
|
+
"order": -985,
|
|
54379
54309
|
"representation": {
|
|
54380
|
-
|
|
54381
|
-
|
|
54382
|
-
|
|
54383
|
-
},
|
|
54384
|
-
"altRepresentations": {
|
|
54385
|
-
"XXXHDPI": {
|
|
54386
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/info@4x.png",
|
|
54387
|
-
"height": 96,
|
|
54388
|
-
"width": 96
|
|
54389
|
-
}
|
|
54310
|
+
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/note_64.png",
|
|
54311
|
+
"height": 64,
|
|
54312
|
+
"width": 64
|
|
54390
54313
|
},
|
|
54314
|
+
"ascii": [
|
|
54315
|
+
"(#)"
|
|
54316
|
+
],
|
|
54391
54317
|
"searchable": true,
|
|
54392
|
-
"shortName": ":
|
|
54318
|
+
"shortName": ":note:"
|
|
54393
54319
|
},
|
|
54394
54320
|
{
|
|
54395
54321
|
"id": "wtf",
|
|
@@ -338,5 +338,14 @@
|
|
|
338
338
|
"type": "user",
|
|
339
339
|
"isExternal": true,
|
|
340
340
|
"sources": ["github"]
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"id": "external-5",
|
|
344
|
+
"name": "Dorian",
|
|
345
|
+
"email": "Dorian@email.com",
|
|
346
|
+
"avatarUrl": "https://ptc-directory-sited-static.us-east-1.staging.public.atl-paas.net/teams/avatars/4.svg",
|
|
347
|
+
"type": "user",
|
|
348
|
+
"isExternal": true,
|
|
349
|
+
"sources": []
|
|
341
350
|
}
|
|
342
351
|
]
|
|
@@ -99,6 +99,23 @@ export var simpleMockProfilecardClient = function simpleMockProfilecardClient(mo
|
|
|
99
99
|
return Promise.reject({
|
|
100
100
|
reason: 'not built yet'
|
|
101
101
|
});
|
|
102
|
+
},
|
|
103
|
+
getReportingLines: function getReportingLines(userId) {
|
|
104
|
+
var reportingLinesUsers = profilecardData.map(function (user, index) {
|
|
105
|
+
return {
|
|
106
|
+
accountIdentifier: '123456:12345-67890-' + index,
|
|
107
|
+
identifierType: 'ATLASSIAN_ID',
|
|
108
|
+
pii: {
|
|
109
|
+
name: user.User.fullName,
|
|
110
|
+
picture: user.User.avatarUrl
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
});
|
|
114
|
+
var halfCount = Math.ceil(reportingLinesUsers.length / 2);
|
|
115
|
+
return Promise.resolve({
|
|
116
|
+
managers: reportingLinesUsers.slice(0, halfCount),
|
|
117
|
+
reports: reportingLinesUsers.slice(-halfCount)
|
|
118
|
+
});
|
|
102
119
|
}
|
|
103
120
|
};
|
|
104
121
|
};
|
package/dist/esm/version.json
CHANGED
|
@@ -54052,28 +54052,6 @@
|
|
|
54052
54052
|
"searchable": true,
|
|
54053
54053
|
"shortName": ":minus:"
|
|
54054
54054
|
},
|
|
54055
|
-
{
|
|
54056
|
-
"id": "atlassian-note",
|
|
54057
|
-
"name": "note",
|
|
54058
|
-
"fallback": ":note:",
|
|
54059
|
-
"type": "ATLASSIAN",
|
|
54060
|
-
"category": "ATLASSIAN",
|
|
54061
|
-
"order": -1000,
|
|
54062
|
-
"representation": {
|
|
54063
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/note@2x.png",
|
|
54064
|
-
"height": 48,
|
|
54065
|
-
"width": 48
|
|
54066
|
-
},
|
|
54067
|
-
"altRepresentations": {
|
|
54068
|
-
"XXXHDPI": {
|
|
54069
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/note@4x.png",
|
|
54070
|
-
"height": 96,
|
|
54071
|
-
"width": 96
|
|
54072
|
-
}
|
|
54073
|
-
},
|
|
54074
|
-
"searchable": true,
|
|
54075
|
-
"shortName": ":note:"
|
|
54076
|
-
},
|
|
54077
54055
|
{
|
|
54078
54056
|
"id": "atlassian-blue_star",
|
|
54079
54057
|
"name": "Blue Star",
|
|
@@ -54125,28 +54103,6 @@
|
|
|
54125
54103
|
"searchable": true,
|
|
54126
54104
|
"shortName": ":flag_off:"
|
|
54127
54105
|
},
|
|
54128
|
-
{
|
|
54129
|
-
"id": "atlassian-error",
|
|
54130
|
-
"name": "error",
|
|
54131
|
-
"fallback": ":error:",
|
|
54132
|
-
"type": "ATLASSIAN",
|
|
54133
|
-
"category": "ATLASSIAN",
|
|
54134
|
-
"order": -1000,
|
|
54135
|
-
"representation": {
|
|
54136
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/error@2x.png",
|
|
54137
|
-
"height": 48,
|
|
54138
|
-
"width": 48
|
|
54139
|
-
},
|
|
54140
|
-
"altRepresentations": {
|
|
54141
|
-
"XXXHDPI": {
|
|
54142
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/error@4x.png",
|
|
54143
|
-
"height": 96,
|
|
54144
|
-
"width": 96
|
|
54145
|
-
}
|
|
54146
|
-
},
|
|
54147
|
-
"searchable": true,
|
|
54148
|
-
"shortName": ":error:"
|
|
54149
|
-
},
|
|
54150
54106
|
{
|
|
54151
54107
|
"id": "atlassian-plus",
|
|
54152
54108
|
"name": "Plus",
|
|
@@ -54255,28 +54211,6 @@
|
|
|
54255
54211
|
"searchable": true,
|
|
54256
54212
|
"shortName": ":cross_mark:"
|
|
54257
54213
|
},
|
|
54258
|
-
{
|
|
54259
|
-
"id": "atlassian-success",
|
|
54260
|
-
"name": "success",
|
|
54261
|
-
"fallback": ":success:",
|
|
54262
|
-
"type": "ATLASSIAN",
|
|
54263
|
-
"category": "ATLASSIAN",
|
|
54264
|
-
"order": -1000,
|
|
54265
|
-
"representation": {
|
|
54266
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/success@2x.png",
|
|
54267
|
-
"height": 48,
|
|
54268
|
-
"width": 48
|
|
54269
|
-
},
|
|
54270
|
-
"altRepresentations": {
|
|
54271
|
-
"XXXHDPI": {
|
|
54272
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/success@4x.png",
|
|
54273
|
-
"height": 96,
|
|
54274
|
-
"width": 96
|
|
54275
|
-
}
|
|
54276
|
-
},
|
|
54277
|
-
"searchable": true,
|
|
54278
|
-
"shortName": ":success:"
|
|
54279
|
-
},
|
|
54280
54214
|
{
|
|
54281
54215
|
"id": "atlassian-yellow_star",
|
|
54282
54216
|
"name": "Yellow Star",
|
|
@@ -54332,28 +54266,6 @@
|
|
|
54332
54266
|
"searchable": true,
|
|
54333
54267
|
"shortName": ":green_star:"
|
|
54334
54268
|
},
|
|
54335
|
-
{
|
|
54336
|
-
"id": "atlassian-warning",
|
|
54337
|
-
"name": "warning",
|
|
54338
|
-
"fallback": ":warning:",
|
|
54339
|
-
"type": "ATLASSIAN",
|
|
54340
|
-
"category": "ATLASSIAN",
|
|
54341
|
-
"order": -1000,
|
|
54342
|
-
"representation": {
|
|
54343
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/warning@2x.png",
|
|
54344
|
-
"height": 48,
|
|
54345
|
-
"width": 48
|
|
54346
|
-
},
|
|
54347
|
-
"altRepresentations": {
|
|
54348
|
-
"XXXHDPI": {
|
|
54349
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/warning@4x.png",
|
|
54350
|
-
"height": 96,
|
|
54351
|
-
"width": 96
|
|
54352
|
-
}
|
|
54353
|
-
},
|
|
54354
|
-
"searchable": true,
|
|
54355
|
-
"shortName": ":warning:"
|
|
54356
|
-
},
|
|
54357
54269
|
{
|
|
54358
54270
|
"id": "atlassian-flag_on",
|
|
54359
54271
|
"name": "Flag On",
|
|
@@ -54370,26 +54282,40 @@
|
|
|
54370
54282
|
"shortName": ":flag_on:"
|
|
54371
54283
|
},
|
|
54372
54284
|
{
|
|
54373
|
-
|
|
54374
|
-
|
|
54375
|
-
|
|
54285
|
+
"id": "atlassian-info",
|
|
54286
|
+
"name": "Info",
|
|
54287
|
+
"fallback": ":info:",
|
|
54288
|
+
"type": "ATLASSIAN",
|
|
54289
|
+
"category": "ATLASSIAN",
|
|
54290
|
+
"order": -990,
|
|
54291
|
+
"representation": {
|
|
54292
|
+
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/info_64.png",
|
|
54293
|
+
"height": 64,
|
|
54294
|
+
"width": 64
|
|
54295
|
+
},
|
|
54296
|
+
"ascii": [
|
|
54297
|
+
"(i)"
|
|
54298
|
+
],
|
|
54299
|
+
"searchable": true,
|
|
54300
|
+
"shortName": ":info:"
|
|
54301
|
+
},
|
|
54302
|
+
{
|
|
54303
|
+
"id": "atlassian-note",
|
|
54304
|
+
"name": "Note",
|
|
54305
|
+
"fallback": ":note:",
|
|
54376
54306
|
"type": "ATLASSIAN",
|
|
54377
54307
|
"category": "ATLASSIAN",
|
|
54378
|
-
"order": -
|
|
54308
|
+
"order": -985,
|
|
54379
54309
|
"representation": {
|
|
54380
|
-
|
|
54381
|
-
|
|
54382
|
-
|
|
54383
|
-
},
|
|
54384
|
-
"altRepresentations": {
|
|
54385
|
-
"XXXHDPI": {
|
|
54386
|
-
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/info@4x.png",
|
|
54387
|
-
"height": 96,
|
|
54388
|
-
"width": 96
|
|
54389
|
-
}
|
|
54310
|
+
"imagePath": "https://pf-emoji-service--cdn.ap-southeast-2.dev.public.atl-paas.net/atlassian/note_64.png",
|
|
54311
|
+
"height": 64,
|
|
54312
|
+
"width": 64
|
|
54390
54313
|
},
|
|
54314
|
+
"ascii": [
|
|
54315
|
+
"(#)"
|
|
54316
|
+
],
|
|
54391
54317
|
"searchable": true,
|
|
54392
|
-
"shortName": ":
|
|
54318
|
+
"shortName": ":note:"
|
|
54393
54319
|
},
|
|
54394
54320
|
{
|
|
54395
54321
|
"id": "wtf",
|
|
@@ -338,5 +338,14 @@
|
|
|
338
338
|
"type": "user",
|
|
339
339
|
"isExternal": true,
|
|
340
340
|
"sources": ["github"]
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"id": "external-5",
|
|
344
|
+
"name": "Dorian",
|
|
345
|
+
"email": "Dorian@email.com",
|
|
346
|
+
"avatarUrl": "https://ptc-directory-sited-static.us-east-1.staging.public.atl-paas.net/teams/avatars/4.svg",
|
|
347
|
+
"type": "user",
|
|
348
|
+
"isExternal": true,
|
|
349
|
+
"sources": []
|
|
341
350
|
}
|
|
342
351
|
]
|
|
@@ -2,4 +2,22 @@ export declare function getMockProfilecardClient(BaseProfileClient: any, modifyR
|
|
|
2
2
|
export declare const simpleMockProfilecardClient: (modifyResponse: any) => {
|
|
3
3
|
getProfile: (cloudId: string, userId: string) => Promise<any>;
|
|
4
4
|
getTeamProfile: (orgId: string, teamId: string, analytics: any) => Promise<never>;
|
|
5
|
+
getReportingLines: (userId: string) => Promise<{
|
|
6
|
+
managers: {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
identifierType: string;
|
|
9
|
+
pii: {
|
|
10
|
+
name: string;
|
|
11
|
+
picture: string | undefined;
|
|
12
|
+
};
|
|
13
|
+
}[];
|
|
14
|
+
reports: {
|
|
15
|
+
accountIdentifier: string;
|
|
16
|
+
identifierType: string;
|
|
17
|
+
pii: {
|
|
18
|
+
name: string;
|
|
19
|
+
picture: string | undefined;
|
|
20
|
+
};
|
|
21
|
+
}[];
|
|
22
|
+
}>;
|
|
5
23
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/util-data-test",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "17.1.0",
|
|
4
4
|
"description": "Shared test and story data",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -66,12 +66,12 @@
|
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"@atlaskit/analytics-next": "^8.0.0",
|
|
69
|
-
"@atlaskit/emoji": "^
|
|
69
|
+
"@atlaskit/emoji": "^64.0.0",
|
|
70
70
|
"@atlaskit/mention": "^19.1.0",
|
|
71
71
|
"@atlaskit/task-decision": "^17.0.0",
|
|
72
72
|
"@atlaskit/util-service-support": "^6.0.0",
|
|
73
73
|
"@babel/runtime": "^7.0.0",
|
|
74
|
-
"lodash": "^4.17.
|
|
74
|
+
"lodash": "^4.17.21",
|
|
75
75
|
"memoize-one": "^6.0.0",
|
|
76
76
|
"uuid": "^3.1.0"
|
|
77
77
|
},
|