@atlaskit/rovo-agent-components 9.3.0 → 9.4.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 +9 -0
- package/dist/cjs/ui/agent-avatar/generated-avatars/index.js +409 -191
- package/dist/cjs/ui/agent-avatar/generated-avatars/refreshed-assets/jira-admin-agent.js +38 -0
- package/dist/cjs/ui/agent-avatar/generated-avatars/refreshed-assets/jira-coding-agent.js +35 -0
- package/dist/cjs/ui/agent-avatar/generated-avatars/refreshed-assets/jira-intelligent-triage-agent.js +35 -0
- package/dist/cjs/ui/agent-avatar/generated-avatars/refreshed-assets/ops-expert.js +32 -0
- package/dist/cjs/ui/agent-avatar/generated-avatars/refreshed-assets/request-resolver.js +35 -0
- package/dist/es2019/ui/agent-avatar/generated-avatars/index.js +315 -194
- package/dist/es2019/ui/agent-avatar/generated-avatars/refreshed-assets/jira-admin-agent.js +32 -0
- package/dist/es2019/ui/agent-avatar/generated-avatars/refreshed-assets/jira-coding-agent.js +29 -0
- package/dist/es2019/ui/agent-avatar/generated-avatars/refreshed-assets/jira-intelligent-triage-agent.js +29 -0
- package/dist/es2019/ui/agent-avatar/generated-avatars/refreshed-assets/ops-expert.js +26 -0
- package/dist/es2019/ui/agent-avatar/generated-avatars/refreshed-assets/request-resolver.js +29 -0
- package/dist/esm/ui/agent-avatar/generated-avatars/index.js +399 -191
- package/dist/esm/ui/agent-avatar/generated-avatars/refreshed-assets/jira-admin-agent.js +31 -0
- package/dist/esm/ui/agent-avatar/generated-avatars/refreshed-assets/jira-coding-agent.js +28 -0
- package/dist/esm/ui/agent-avatar/generated-avatars/refreshed-assets/jira-intelligent-triage-agent.js +28 -0
- package/dist/esm/ui/agent-avatar/generated-avatars/refreshed-assets/ops-expert.js +25 -0
- package/dist/esm/ui/agent-avatar/generated-avatars/refreshed-assets/request-resolver.js +28 -0
- package/dist/types/ui/agent-avatar/generated-avatars/index.d.ts +41 -13
- package/dist/types/ui/agent-avatar/generated-avatars/refreshed-assets/jira-admin-agent.d.ts +8 -0
- package/dist/types/ui/agent-avatar/generated-avatars/refreshed-assets/jira-coding-agent.d.ts +8 -0
- package/dist/types/ui/agent-avatar/generated-avatars/refreshed-assets/jira-intelligent-triage-agent.d.ts +8 -0
- package/dist/types/ui/agent-avatar/generated-avatars/refreshed-assets/ops-expert.d.ts +8 -0
- package/dist/types/ui/agent-avatar/generated-avatars/refreshed-assets/request-resolver.d.ts +8 -0
- package/package.json +2 -2
|
@@ -69,6 +69,21 @@ var RefreshedFeatureFlagAvatar = /*#__PURE__*/lazy(function () {
|
|
|
69
69
|
var RefreshedProductRequirementAvatar = /*#__PURE__*/lazy(function () {
|
|
70
70
|
return import('./refreshed-assets/product-requirement');
|
|
71
71
|
});
|
|
72
|
+
var RefreshedJiraCodingAgentAvatar = /*#__PURE__*/lazy(function () {
|
|
73
|
+
return import('./refreshed-assets/jira-coding-agent');
|
|
74
|
+
});
|
|
75
|
+
var RefreshedJiraIntelligentTriageAgentAvatar = /*#__PURE__*/lazy(function () {
|
|
76
|
+
return import('./refreshed-assets/jira-intelligent-triage-agent');
|
|
77
|
+
});
|
|
78
|
+
var RefreshedJiraAdminAgentAvatar = /*#__PURE__*/lazy(function () {
|
|
79
|
+
return import('./refreshed-assets/jira-admin-agent');
|
|
80
|
+
});
|
|
81
|
+
var RefreshedRequestResolverAvatar = /*#__PURE__*/lazy(function () {
|
|
82
|
+
return import('./refreshed-assets/request-resolver');
|
|
83
|
+
});
|
|
84
|
+
var RefreshedOpsExpertAvatar = /*#__PURE__*/lazy(function () {
|
|
85
|
+
return import('./refreshed-assets/ops-expert');
|
|
86
|
+
});
|
|
72
87
|
var styles = {
|
|
73
88
|
image: "_5ral1dfr _4t3i1osq _1bsb1osq _1e0c1txw _1bah1h6o _4cvr1h6o",
|
|
74
89
|
banner: "_1bsb1osq",
|
|
@@ -226,96 +241,121 @@ var JsmServiceTriageAgentAvatar = /*#__PURE__*/lazy(function () {
|
|
|
226
241
|
*/
|
|
227
242
|
|
|
228
243
|
export var yellowColor = {
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
244
|
+
v1: {
|
|
245
|
+
primary: '#FCA700',
|
|
246
|
+
secondary: '#FFC716',
|
|
247
|
+
cover: '#FEF7C8'
|
|
248
|
+
},
|
|
249
|
+
v2: {
|
|
250
|
+
primary: '#FFC716',
|
|
251
|
+
iconColor: '#101214',
|
|
252
|
+
cover: '#FEF7C8'
|
|
253
|
+
}
|
|
232
254
|
};
|
|
233
255
|
export var purpleColor = {
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
256
|
+
v1: {
|
|
257
|
+
primary: '#BF63F3',
|
|
258
|
+
secondary: '#D8A0F7',
|
|
259
|
+
cover: '#F8EEFE'
|
|
260
|
+
},
|
|
261
|
+
v2: {
|
|
262
|
+
primary: '#C97CF4',
|
|
263
|
+
iconColor: '#101214',
|
|
264
|
+
cover: '#F8EEFE'
|
|
265
|
+
}
|
|
237
266
|
};
|
|
238
267
|
export var greenColor = {
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
268
|
+
v1: {
|
|
269
|
+
primary: '#82B536',
|
|
270
|
+
secondary: '#B3DF72',
|
|
271
|
+
cover: '#EFFFD6'
|
|
272
|
+
},
|
|
273
|
+
v2: {
|
|
274
|
+
primary: '#94C748',
|
|
275
|
+
iconColor: '#101214',
|
|
276
|
+
cover: '#EFFFD6'
|
|
277
|
+
}
|
|
242
278
|
};
|
|
243
279
|
export var blueColor = {
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
280
|
+
v1: {
|
|
281
|
+
primary: '#357DE8',
|
|
282
|
+
secondary: '#669DF1',
|
|
283
|
+
cover: '#E9F2FE'
|
|
284
|
+
},
|
|
285
|
+
v2: {
|
|
286
|
+
primary: '#1868DB',
|
|
287
|
+
iconColor: '#FFFFFF',
|
|
288
|
+
cover: '#E9F2FE'
|
|
289
|
+
}
|
|
247
290
|
};
|
|
248
|
-
var refreshedBlueColor = _objectSpread(_objectSpread({}, blueColor), {}, {
|
|
249
|
-
primary: '#1868DB'
|
|
250
|
-
});
|
|
251
291
|
var colorList = [yellowColor, purpleColor, greenColor, blueColor];
|
|
252
292
|
|
|
253
293
|
/**
|
|
254
294
|
* NOTE: DO NOT ADD OOTB AGENTAVATARS TO THIS LIST
|
|
255
295
|
*/
|
|
256
296
|
var avatarList = [{
|
|
257
|
-
|
|
258
|
-
|
|
297
|
+
v1: CustomerInsightAvatar,
|
|
298
|
+
v2: RefreshedCustomerInsightAvatar
|
|
259
299
|
}, {
|
|
260
|
-
|
|
261
|
-
|
|
300
|
+
v1: BacklogBuddyAvatar,
|
|
301
|
+
v2: RefreshedBacklogBuddyAvatar
|
|
262
302
|
}, {
|
|
263
|
-
|
|
264
|
-
|
|
303
|
+
v1: DecisionDirectorAvatar,
|
|
304
|
+
v2: RefreshedDecisionDirectorAvatar
|
|
265
305
|
}, {
|
|
266
|
-
|
|
267
|
-
|
|
306
|
+
v1: CommsCrafterAvatar,
|
|
307
|
+
v2: RefreshedCommsCrafterAvatar
|
|
268
308
|
}, {
|
|
269
|
-
|
|
270
|
-
|
|
309
|
+
v1: AutoDevAvatar,
|
|
310
|
+
v2: RefreshedAutoDevAvatar
|
|
271
311
|
}, {
|
|
272
|
-
|
|
273
|
-
|
|
312
|
+
v1: OkrOracleAvatar,
|
|
313
|
+
v2: RefreshedOkrOracleAvatar
|
|
274
314
|
}, {
|
|
275
|
-
|
|
276
|
-
|
|
315
|
+
v1: CultureAvatar,
|
|
316
|
+
v2: RefreshedCultureAvatar
|
|
277
317
|
}, {
|
|
278
|
-
|
|
279
|
-
|
|
318
|
+
v1: SocialMediaScribeAvatar,
|
|
319
|
+
v2: RefreshedSocialMediaScribeAvatar
|
|
280
320
|
}, {
|
|
281
|
-
|
|
282
|
-
|
|
321
|
+
v1: TeamConnectionAvatar,
|
|
322
|
+
v2: RefreshedTeamConnectionAvatar
|
|
283
323
|
}, {
|
|
284
|
-
|
|
285
|
-
|
|
324
|
+
v1: HireWriterAvatar,
|
|
325
|
+
v2: RefreshedHireWriterAvatar
|
|
286
326
|
}, {
|
|
287
|
-
|
|
288
|
-
|
|
327
|
+
v1: OpsAgentAvatar,
|
|
328
|
+
v2: RefreshedOpsAgentAvatar
|
|
289
329
|
}, {
|
|
290
|
-
|
|
291
|
-
|
|
330
|
+
v1: ResearchScoutAvatar,
|
|
331
|
+
v2: RefreshedResearchScoutAvatar
|
|
292
332
|
}, {
|
|
293
|
-
|
|
294
|
-
|
|
333
|
+
v1: ReleaseNotesAvatar,
|
|
334
|
+
v2: RefreshedReleaseNotesAvatar
|
|
295
335
|
}, {
|
|
296
|
-
|
|
297
|
-
|
|
336
|
+
v1: MyUserManualAvatar,
|
|
337
|
+
v2: RefreshedMyUserManualAvatar
|
|
298
338
|
}, {
|
|
299
|
-
|
|
300
|
-
|
|
339
|
+
v1: PitchPerfectorAvatar,
|
|
340
|
+
v2: RefreshedPitchPerfectorAvatar
|
|
301
341
|
}, {
|
|
302
|
-
|
|
303
|
-
|
|
342
|
+
v1: AutoDevAvatar,
|
|
343
|
+
v2: RefreshedAutoDevAvatar
|
|
304
344
|
}, {
|
|
305
|
-
|
|
306
|
-
|
|
345
|
+
v1: AutoFixAvatar,
|
|
346
|
+
v2: RefreshedAutoFixAvatar
|
|
307
347
|
}, {
|
|
308
|
-
|
|
309
|
-
|
|
348
|
+
v1: AutoReviewAvatar,
|
|
349
|
+
v2: RefreshedAutoReviewAvatar
|
|
310
350
|
}, {
|
|
311
|
-
|
|
312
|
-
|
|
351
|
+
v1: MarketingMessageMaestroAvatar,
|
|
352
|
+
v2: RefreshedMarketingMessageMaestroAvatar
|
|
313
353
|
}, {
|
|
314
|
-
|
|
315
|
-
|
|
354
|
+
v1: FeatureFlagAvatar,
|
|
355
|
+
v2: RefreshedFeatureFlagAvatar
|
|
316
356
|
}, {
|
|
317
|
-
|
|
318
|
-
|
|
357
|
+
v1: ProductRequirementAvatar,
|
|
358
|
+
v2: RefreshedProductRequirementAvatar
|
|
319
359
|
}];
|
|
320
360
|
export var TOTAL_AVATAR_COMBINATIONS = avatarList.length * colorList.length;
|
|
321
361
|
var outOfTheBoxAgentAvatar = {
|
|
@@ -323,121 +363,189 @@ var outOfTheBoxAgentAvatar = {
|
|
|
323
363
|
getRender: function getRender(size) {
|
|
324
364
|
return /*#__PURE__*/React.createElement(RovoChatAvatar, {
|
|
325
365
|
size: AVATAR_SIZES[size],
|
|
326
|
-
primaryColor: blueColor.primary,
|
|
327
|
-
secondaryColor: blueColor.secondary
|
|
366
|
+
primaryColor: blueColor.v1.primary,
|
|
367
|
+
secondaryColor: blueColor.v1.secondary
|
|
328
368
|
});
|
|
329
369
|
},
|
|
330
|
-
|
|
370
|
+
getColor: function getColor() {
|
|
371
|
+
return blueColor.v1;
|
|
372
|
+
}
|
|
331
373
|
},
|
|
332
374
|
autodev_template_unit_test_creator: {
|
|
333
375
|
getRender: function getRender(size) {
|
|
334
|
-
return fg('platform-dst-avatar-updated-geometry') ?
|
|
376
|
+
return fg('platform-dst-avatar-updated-geometry') ? /*#__PURE__*/React.createElement(RefreshedAutoFixAvatar, {
|
|
335
377
|
size: AVATAR_SIZES[size],
|
|
336
|
-
primaryColor: greenColor.primary,
|
|
337
|
-
|
|
378
|
+
primaryColor: greenColor.v2.primary,
|
|
379
|
+
iconColor: greenColor.v2.iconColor
|
|
380
|
+
}) : /*#__PURE__*/React.createElement(AutoFixAvatar, {
|
|
381
|
+
size: AVATAR_SIZES[size],
|
|
382
|
+
primaryColor: greenColor.v1.primary,
|
|
383
|
+
secondaryColor: greenColor.v1.secondary
|
|
338
384
|
});
|
|
339
385
|
},
|
|
340
|
-
|
|
386
|
+
getColor: function getColor() {
|
|
387
|
+
return fg('platform-dst-avatar-updated-geometry') ? greenColor.v2 : greenColor.v1;
|
|
388
|
+
}
|
|
341
389
|
},
|
|
342
390
|
autodev_template_migration_config_changer_agent: {
|
|
343
391
|
getRender: function getRender(size) {
|
|
344
|
-
return fg('platform-dst-avatar-updated-geometry') ?
|
|
392
|
+
return fg('platform-dst-avatar-updated-geometry') ? /*#__PURE__*/React.createElement(RefreshedOpsAgentAvatar, {
|
|
393
|
+
size: AVATAR_SIZES[size],
|
|
394
|
+
primaryColor: greenColor.v2.primary,
|
|
395
|
+
iconColor: greenColor.v2.iconColor
|
|
396
|
+
}) : /*#__PURE__*/React.createElement(OpsAgentAvatar, {
|
|
345
397
|
size: AVATAR_SIZES[size],
|
|
346
|
-
primaryColor: greenColor.primary,
|
|
347
|
-
secondaryColor: greenColor.secondary
|
|
398
|
+
primaryColor: greenColor.v1.primary,
|
|
399
|
+
secondaryColor: greenColor.v1.secondary
|
|
348
400
|
});
|
|
349
401
|
},
|
|
350
|
-
|
|
402
|
+
getColor: function getColor() {
|
|
403
|
+
return fg('platform-dst-avatar-updated-geometry') ? greenColor.v2 : greenColor.v1;
|
|
404
|
+
}
|
|
351
405
|
},
|
|
352
406
|
autodev_template_vulnerable_dependency_updater_agent: {
|
|
353
407
|
getRender: function getRender(size) {
|
|
354
|
-
return fg('platform-dst-avatar-updated-geometry') ?
|
|
408
|
+
return fg('platform-dst-avatar-updated-geometry') ? /*#__PURE__*/React.createElement(RefreshedMarketingMessageMaestroAvatar, {
|
|
409
|
+
size: AVATAR_SIZES[size],
|
|
410
|
+
primaryColor: greenColor.v2.primary,
|
|
411
|
+
iconColor: greenColor.v2.iconColor
|
|
412
|
+
}) : /*#__PURE__*/React.createElement(MarketingMessageMaestroAvatar, {
|
|
355
413
|
size: AVATAR_SIZES[size],
|
|
356
|
-
primaryColor: greenColor.primary,
|
|
357
|
-
secondaryColor: greenColor.secondary
|
|
414
|
+
primaryColor: greenColor.v1.primary,
|
|
415
|
+
secondaryColor: greenColor.v1.secondary
|
|
358
416
|
});
|
|
359
417
|
},
|
|
360
|
-
|
|
418
|
+
getColor: function getColor() {
|
|
419
|
+
return fg('platform-dst-avatar-updated-geometry') ? greenColor.v2 : greenColor.v1;
|
|
420
|
+
}
|
|
361
421
|
},
|
|
362
422
|
autodev_template_code_standardizer_agent: {
|
|
363
423
|
getRender: function getRender(size) {
|
|
364
|
-
return fg('platform-dst-avatar-updated-geometry') ?
|
|
424
|
+
return fg('platform-dst-avatar-updated-geometry') ? /*#__PURE__*/React.createElement(RefreshedMyUserManualAvatar, {
|
|
425
|
+
size: AVATAR_SIZES[size],
|
|
426
|
+
primaryColor: greenColor.v2.primary,
|
|
427
|
+
iconColor: greenColor.v2.iconColor
|
|
428
|
+
}) : /*#__PURE__*/React.createElement(MyUserManualAvatar, {
|
|
365
429
|
size: AVATAR_SIZES[size],
|
|
366
|
-
primaryColor: greenColor.primary,
|
|
367
|
-
secondaryColor: greenColor.secondary
|
|
430
|
+
primaryColor: greenColor.v1.primary,
|
|
431
|
+
secondaryColor: greenColor.v1.secondary
|
|
368
432
|
});
|
|
369
433
|
},
|
|
370
|
-
|
|
434
|
+
getColor: function getColor() {
|
|
435
|
+
return fg('platform-dst-avatar-updated-geometry') ? greenColor.v2 : greenColor.v1;
|
|
436
|
+
}
|
|
371
437
|
},
|
|
372
438
|
autodev_template_code_observer_agent: {
|
|
373
439
|
getRender: function getRender(size) {
|
|
374
|
-
return fg('platform-dst-avatar-updated-geometry') ?
|
|
440
|
+
return fg('platform-dst-avatar-updated-geometry') ? /*#__PURE__*/React.createElement(RefreshedResearchScoutAvatar, {
|
|
375
441
|
size: AVATAR_SIZES[size],
|
|
376
|
-
primaryColor: greenColor.primary,
|
|
377
|
-
|
|
442
|
+
primaryColor: greenColor.v2.primary,
|
|
443
|
+
iconColor: greenColor.v2.iconColor
|
|
444
|
+
}) : /*#__PURE__*/React.createElement(ResearchScoutAvatar, {
|
|
445
|
+
size: AVATAR_SIZES[size],
|
|
446
|
+
primaryColor: greenColor.v1.primary,
|
|
447
|
+
secondaryColor: greenColor.v1.secondary
|
|
378
448
|
});
|
|
379
449
|
},
|
|
380
|
-
|
|
450
|
+
getColor: function getColor() {
|
|
451
|
+
return fg('platform-dst-avatar-updated-geometry') ? greenColor.v2 : greenColor.v1;
|
|
452
|
+
}
|
|
381
453
|
},
|
|
382
454
|
autodev_template_code_accessibility_checker_agent: {
|
|
383
455
|
getRender: function getRender(size) {
|
|
384
|
-
return fg('platform-dst-avatar-updated-geometry') ?
|
|
456
|
+
return fg('platform-dst-avatar-updated-geometry') ? /*#__PURE__*/React.createElement(RefreshedHireWriterAvatar, {
|
|
385
457
|
size: AVATAR_SIZES[size],
|
|
386
|
-
primaryColor: greenColor.primary,
|
|
387
|
-
|
|
458
|
+
primaryColor: greenColor.v2.primary,
|
|
459
|
+
iconColor: greenColor.v2.iconColor
|
|
460
|
+
}) : /*#__PURE__*/React.createElement(HireWriterAvatar, {
|
|
461
|
+
size: AVATAR_SIZES[size],
|
|
462
|
+
primaryColor: greenColor.v1.primary,
|
|
463
|
+
secondaryColor: greenColor.v1.secondary
|
|
388
464
|
});
|
|
389
465
|
},
|
|
390
|
-
|
|
466
|
+
getColor: function getColor() {
|
|
467
|
+
return fg('platform-dst-avatar-updated-geometry') ? greenColor.v2 : greenColor.v1;
|
|
468
|
+
}
|
|
391
469
|
},
|
|
392
470
|
autodev_code_documentation_writer_agent: {
|
|
393
471
|
getRender: function getRender(size) {
|
|
394
|
-
return fg('platform-dst-avatar-updated-geometry') ?
|
|
472
|
+
return fg('platform-dst-avatar-updated-geometry') ? /*#__PURE__*/React.createElement(RefreshedSocialMediaScribeAvatar, {
|
|
473
|
+
size: AVATAR_SIZES[size],
|
|
474
|
+
primaryColor: greenColor.v2.primary,
|
|
475
|
+
iconColor: greenColor.v2.iconColor
|
|
476
|
+
}) : /*#__PURE__*/React.createElement(SocialMediaScribeAvatar, {
|
|
395
477
|
size: AVATAR_SIZES[size],
|
|
396
|
-
primaryColor: greenColor.primary,
|
|
397
|
-
secondaryColor: greenColor.secondary
|
|
478
|
+
primaryColor: greenColor.v1.primary,
|
|
479
|
+
secondaryColor: greenColor.v1.secondary
|
|
398
480
|
});
|
|
399
481
|
},
|
|
400
|
-
|
|
482
|
+
getColor: function getColor() {
|
|
483
|
+
return fg('platform-dst-avatar-updated-geometry') ? greenColor.v2 : greenColor.v1;
|
|
484
|
+
}
|
|
401
485
|
},
|
|
402
486
|
autodev_feature_flag_cleaner_agent: {
|
|
403
487
|
getRender: function getRender(size) {
|
|
404
|
-
return fg('platform-dst-avatar-updated-geometry') ?
|
|
488
|
+
return fg('platform-dst-avatar-updated-geometry') ? /*#__PURE__*/React.createElement(RefreshedFeatureFlagAvatar, {
|
|
489
|
+
size: AVATAR_SIZES[size],
|
|
490
|
+
primaryColor: greenColor.v2.primary,
|
|
491
|
+
iconColor: greenColor.v2.iconColor
|
|
492
|
+
}) : /*#__PURE__*/React.createElement(FeatureFlagAvatar, {
|
|
405
493
|
size: AVATAR_SIZES[size],
|
|
406
|
-
primaryColor: greenColor.primary,
|
|
407
|
-
secondaryColor: greenColor.secondary
|
|
494
|
+
primaryColor: greenColor.v1.primary,
|
|
495
|
+
secondaryColor: greenColor.v1.secondary
|
|
408
496
|
});
|
|
409
497
|
},
|
|
410
|
-
|
|
498
|
+
getColor: function getColor() {
|
|
499
|
+
return fg('platform-dst-avatar-updated-geometry') ? greenColor.v2 : greenColor.v1;
|
|
500
|
+
}
|
|
411
501
|
},
|
|
412
502
|
decision_director_agent: {
|
|
413
503
|
getRender: function getRender(size) {
|
|
414
|
-
return fg('platform-dst-avatar-updated-geometry') ?
|
|
504
|
+
return fg('platform-dst-avatar-updated-geometry') ? /*#__PURE__*/React.createElement(RefreshedDecisionDirectorAvatar, {
|
|
505
|
+
size: AVATAR_SIZES[size],
|
|
506
|
+
primaryColor: greenColor.v2.primary,
|
|
507
|
+
iconColor: greenColor.v2.iconColor
|
|
508
|
+
}) : /*#__PURE__*/React.createElement(DecisionDirectorAvatar, {
|
|
415
509
|
size: AVATAR_SIZES[size],
|
|
416
|
-
primaryColor: greenColor.primary,
|
|
417
|
-
secondaryColor: greenColor.secondary
|
|
510
|
+
primaryColor: greenColor.v1.primary,
|
|
511
|
+
secondaryColor: greenColor.v1.secondary
|
|
418
512
|
});
|
|
419
513
|
},
|
|
420
|
-
|
|
514
|
+
getColor: function getColor() {
|
|
515
|
+
return fg('platform-dst-avatar-updated-geometry') ? greenColor.v2 : greenColor.v1;
|
|
516
|
+
}
|
|
421
517
|
},
|
|
422
518
|
planner_agent: {
|
|
423
519
|
getRender: function getRender(size) {
|
|
424
|
-
return fg('platform-dst-avatar-updated-geometry') ?
|
|
520
|
+
return fg('platform-dst-avatar-updated-geometry') ? /*#__PURE__*/React.createElement(RefreshedOpsAgentAvatar, {
|
|
425
521
|
size: AVATAR_SIZES[size],
|
|
426
|
-
primaryColor: purpleColor.primary,
|
|
427
|
-
|
|
522
|
+
primaryColor: purpleColor.v2.primary,
|
|
523
|
+
iconColor: purpleColor.v2.iconColor
|
|
524
|
+
}) : /*#__PURE__*/React.createElement(OpsAgentAvatar, {
|
|
525
|
+
size: AVATAR_SIZES[size],
|
|
526
|
+
primaryColor: purpleColor.v1.primary,
|
|
527
|
+
secondaryColor: purpleColor.v1.secondary
|
|
428
528
|
});
|
|
429
529
|
},
|
|
430
|
-
|
|
530
|
+
getColor: function getColor() {
|
|
531
|
+
return fg('platform-dst-avatar-updated-geometry') ? purpleColor.v2 : purpleColor.v1;
|
|
532
|
+
}
|
|
431
533
|
},
|
|
432
534
|
tech_writer_agent: {
|
|
433
535
|
getRender: function getRender(size) {
|
|
434
|
-
return fg('platform-dst-avatar-updated-geometry') ?
|
|
536
|
+
return fg('platform-dst-avatar-updated-geometry') ? /*#__PURE__*/React.createElement(RefreshedSocialMediaScribeAvatar, {
|
|
435
537
|
size: AVATAR_SIZES[size],
|
|
436
|
-
primaryColor: blueColor.primary,
|
|
437
|
-
|
|
538
|
+
primaryColor: blueColor.v2.primary,
|
|
539
|
+
iconColor: blueColor.v2.iconColor
|
|
540
|
+
}) : /*#__PURE__*/React.createElement(SocialMediaScribeAvatar, {
|
|
541
|
+
size: AVATAR_SIZES[size],
|
|
542
|
+
primaryColor: blueColor.v1.primary,
|
|
543
|
+
secondaryColor: blueColor.v1.secondary
|
|
438
544
|
});
|
|
439
545
|
},
|
|
440
|
-
|
|
546
|
+
getColor: function getColor() {
|
|
547
|
+
return fg('platform-dst-avatar-updated-geometry') ? blueColor.v2 : blueColor.v1;
|
|
548
|
+
}
|
|
441
549
|
},
|
|
442
550
|
content_reviewer_agent: {
|
|
443
551
|
getRender: function getRender(size) {
|
|
@@ -447,131 +555,195 @@ var outOfTheBoxAgentAvatar = {
|
|
|
447
555
|
secondaryColor: ""
|
|
448
556
|
});
|
|
449
557
|
},
|
|
450
|
-
|
|
558
|
+
getColor: function getColor() {
|
|
559
|
+
return blueColor.v1;
|
|
560
|
+
}
|
|
451
561
|
},
|
|
452
562
|
user_manual_writer_agent: {
|
|
453
563
|
getRender: function getRender(size) {
|
|
454
|
-
return fg('platform-dst-avatar-updated-geometry') ?
|
|
564
|
+
return fg('platform-dst-avatar-updated-geometry') ? /*#__PURE__*/React.createElement(RefreshedMyUserManualAvatar, {
|
|
455
565
|
size: AVATAR_SIZES[size],
|
|
456
|
-
primaryColor: yellowColor.primary,
|
|
457
|
-
|
|
566
|
+
primaryColor: yellowColor.v2.primary,
|
|
567
|
+
iconColor: yellowColor.v2.iconColor
|
|
568
|
+
}) : /*#__PURE__*/React.createElement(MyUserManualAvatar, {
|
|
569
|
+
size: AVATAR_SIZES[size],
|
|
570
|
+
primaryColor: yellowColor.v1.primary,
|
|
571
|
+
secondaryColor: yellowColor.v1.secondary
|
|
458
572
|
});
|
|
459
573
|
},
|
|
460
|
-
|
|
574
|
+
getColor: function getColor() {
|
|
575
|
+
return fg('platform-dst-avatar-updated-geometry') ? yellowColor.v2 : yellowColor.v1;
|
|
576
|
+
}
|
|
461
577
|
},
|
|
462
578
|
product_requirements_expert_agent: {
|
|
463
579
|
getRender: function getRender(size) {
|
|
464
|
-
return fg('platform-dst-avatar-updated-geometry') ?
|
|
580
|
+
return fg('platform-dst-avatar-updated-geometry') ? /*#__PURE__*/React.createElement(RefreshedProductRequirementAvatar, {
|
|
465
581
|
size: AVATAR_SIZES[size],
|
|
466
|
-
primaryColor: yellowColor.primary,
|
|
467
|
-
|
|
582
|
+
primaryColor: yellowColor.v2.primary,
|
|
583
|
+
iconColor: yellowColor.v2.iconColor
|
|
584
|
+
}) : /*#__PURE__*/React.createElement(ProductRequirementAvatar, {
|
|
585
|
+
size: AVATAR_SIZES[size],
|
|
586
|
+
primaryColor: yellowColor.v1.primary,
|
|
587
|
+
secondaryColor: yellowColor.v1.secondary
|
|
468
588
|
});
|
|
469
589
|
},
|
|
470
|
-
|
|
590
|
+
getColor: function getColor() {
|
|
591
|
+
return fg('platform-dst-avatar-updated-geometry') ? yellowColor.v2 : yellowColor.v1;
|
|
592
|
+
}
|
|
471
593
|
},
|
|
472
594
|
document_writer: {
|
|
473
595
|
getRender: function getRender(size) {
|
|
474
596
|
return /*#__PURE__*/React.createElement(DocumentWriterAvatar, {
|
|
475
597
|
size: AVATAR_SIZES[size],
|
|
476
|
-
primaryColor: blueColor.primary,
|
|
477
|
-
secondaryColor: blueColor.secondary
|
|
598
|
+
primaryColor: blueColor.v1.primary,
|
|
599
|
+
secondaryColor: blueColor.v1.secondary
|
|
478
600
|
});
|
|
479
601
|
},
|
|
480
|
-
|
|
602
|
+
getColor: function getColor() {
|
|
603
|
+
return blueColor.v1;
|
|
604
|
+
}
|
|
481
605
|
},
|
|
482
606
|
issue_organizer_agent: {
|
|
483
607
|
getRender: function getRender(size) {
|
|
484
|
-
return fg('platform-dst-avatar-updated-geometry') ?
|
|
608
|
+
return fg('platform-dst-avatar-updated-geometry') ? /*#__PURE__*/React.createElement(RefreshedBacklogBuddyAvatar, {
|
|
485
609
|
size: AVATAR_SIZES[size],
|
|
486
|
-
primaryColor: greenColor.primary,
|
|
487
|
-
|
|
610
|
+
primaryColor: greenColor.v2.primary,
|
|
611
|
+
iconColor: greenColor.v2.iconColor
|
|
612
|
+
}) : /*#__PURE__*/React.createElement(BacklogBuddyAvatar, {
|
|
613
|
+
size: AVATAR_SIZES[size],
|
|
614
|
+
primaryColor: greenColor.v1.primary,
|
|
615
|
+
secondaryColor: greenColor.v1.secondary
|
|
488
616
|
});
|
|
489
617
|
},
|
|
490
|
-
|
|
618
|
+
getColor: function getColor() {
|
|
619
|
+
return fg('platform-dst-avatar-updated-geometry') ? greenColor.v2 : greenColor.v1;
|
|
620
|
+
}
|
|
491
621
|
},
|
|
492
622
|
ops_guide_agent: {
|
|
493
623
|
getRender: function getRender(size) {
|
|
494
|
-
return fg('platform-dst-avatar-updated-geometry') ?
|
|
624
|
+
return fg('platform-dst-avatar-updated-geometry') ? /*#__PURE__*/React.createElement(RefreshedOpsExpertAvatar, {
|
|
495
625
|
size: AVATAR_SIZES[size],
|
|
496
|
-
primaryColor: yellowColor.primary,
|
|
497
|
-
|
|
626
|
+
primaryColor: yellowColor.v2.primary,
|
|
627
|
+
iconColor: yellowColor.v2.iconColor
|
|
628
|
+
}) : /*#__PURE__*/React.createElement(OpsAgentAvatar, {
|
|
629
|
+
size: AVATAR_SIZES[size],
|
|
630
|
+
primaryColor: yellowColor.v1.primary,
|
|
631
|
+
secondaryColor: yellowColor.v1.secondary
|
|
498
632
|
});
|
|
499
633
|
},
|
|
500
|
-
|
|
634
|
+
getColor: function getColor() {
|
|
635
|
+
return fg('platform-dst-avatar-updated-geometry') ? yellowColor.v2 : yellowColor.v1;
|
|
636
|
+
}
|
|
501
637
|
},
|
|
502
638
|
discovery_and_feedback_agent: {
|
|
503
639
|
getRender: function getRender(size) {
|
|
504
|
-
return fg('platform-dst-avatar-updated-geometry') ?
|
|
640
|
+
return fg('platform-dst-avatar-updated-geometry') ? /*#__PURE__*/React.createElement(RefreshedCommsCrafterAvatar, {
|
|
641
|
+
size: AVATAR_SIZES[size],
|
|
642
|
+
primaryColor: greenColor.v2.primary,
|
|
643
|
+
iconColor: greenColor.v2.iconColor
|
|
644
|
+
}) : /*#__PURE__*/React.createElement(CommsCrafterAvatar, {
|
|
505
645
|
size: AVATAR_SIZES[size],
|
|
506
|
-
primaryColor: greenColor.primary,
|
|
507
|
-
secondaryColor: greenColor.secondary
|
|
646
|
+
primaryColor: greenColor.v1.primary,
|
|
647
|
+
secondaryColor: greenColor.v1.secondary
|
|
508
648
|
});
|
|
509
649
|
},
|
|
510
|
-
|
|
650
|
+
getColor: function getColor() {
|
|
651
|
+
return fg('platform-dst-avatar-updated-geometry') ? greenColor.v2 : greenColor.v1;
|
|
652
|
+
}
|
|
511
653
|
},
|
|
512
654
|
jira_workflow_builder_agent: {
|
|
513
655
|
getRender: function getRender(size) {
|
|
514
656
|
return /*#__PURE__*/React.createElement(WorkflowBuilderAvatar, {
|
|
515
657
|
size: AVATAR_SIZES[size],
|
|
516
|
-
primaryColor: blueColor.primary,
|
|
517
|
-
secondaryColor: blueColor.secondary
|
|
658
|
+
primaryColor: blueColor.v1.primary,
|
|
659
|
+
secondaryColor: blueColor.v1.secondary
|
|
518
660
|
});
|
|
519
661
|
},
|
|
520
|
-
|
|
662
|
+
getColor: function getColor() {
|
|
663
|
+
return blueColor.v1;
|
|
664
|
+
}
|
|
521
665
|
},
|
|
522
666
|
itops_rca_agent: {
|
|
523
667
|
getRender: function getRender(size) {
|
|
524
|
-
return fg('platform-dst-avatar-updated-geometry') ?
|
|
668
|
+
return fg('platform-dst-avatar-updated-geometry') ? /*#__PURE__*/React.createElement(RefreshedAutoReviewAvatar, {
|
|
525
669
|
size: AVATAR_SIZES[size],
|
|
526
|
-
primaryColor: yellowColor.primary,
|
|
527
|
-
|
|
670
|
+
primaryColor: yellowColor.v2.primary,
|
|
671
|
+
iconColor: yellowColor.v2.iconColor
|
|
672
|
+
}) : /*#__PURE__*/React.createElement(AutoReviewAvatar, {
|
|
673
|
+
size: AVATAR_SIZES[size],
|
|
674
|
+
primaryColor: yellowColor.v1.primary,
|
|
675
|
+
secondaryColor: yellowColor.v1.secondary
|
|
528
676
|
});
|
|
529
677
|
},
|
|
530
|
-
|
|
678
|
+
getColor: function getColor() {
|
|
679
|
+
return fg('platform-dst-avatar-updated-geometry') ? yellowColor.v2 : yellowColor.v1;
|
|
680
|
+
}
|
|
531
681
|
},
|
|
532
682
|
jira_trial_guide_agent: {
|
|
533
683
|
getRender: function getRender(size) {
|
|
534
684
|
return /*#__PURE__*/React.createElement(TrialGuideAvatar, {
|
|
535
685
|
size: AVATAR_SIZES[size],
|
|
536
|
-
primaryColor: blueColor.primary,
|
|
537
|
-
secondaryColor: blueColor.secondary
|
|
686
|
+
primaryColor: blueColor.v1.primary,
|
|
687
|
+
secondaryColor: blueColor.v1.secondary
|
|
538
688
|
});
|
|
539
689
|
},
|
|
540
|
-
|
|
690
|
+
getColor: function getColor() {
|
|
691
|
+
return blueColor.v1;
|
|
692
|
+
}
|
|
541
693
|
},
|
|
542
694
|
daily_brief_agent: {
|
|
543
695
|
getRender: function getRender(size) {
|
|
544
696
|
return /*#__PURE__*/React.createElement(TrialGuideAvatar, {
|
|
545
697
|
size: AVATAR_SIZES[size],
|
|
546
|
-
primaryColor: yellowColor.primary,
|
|
547
|
-
secondaryColor: yellowColor.secondary
|
|
698
|
+
primaryColor: yellowColor.v1.primary,
|
|
699
|
+
secondaryColor: yellowColor.v1.secondary
|
|
548
700
|
});
|
|
549
701
|
},
|
|
550
|
-
|
|
702
|
+
getColor: function getColor() {
|
|
703
|
+
return yellowColor.v1;
|
|
704
|
+
}
|
|
551
705
|
},
|
|
552
706
|
jira_admin_agent: {
|
|
553
707
|
getRender: function getRender(size) {
|
|
554
|
-
return /*#__PURE__*/React.createElement(
|
|
708
|
+
return fg('platform-dst-avatar-updated-geometry') ? /*#__PURE__*/React.createElement(RefreshedJiraAdminAgentAvatar, {
|
|
709
|
+
size: AVATAR_SIZES[size],
|
|
710
|
+
primaryColor: blueColor.v2.primary,
|
|
711
|
+
iconColor: blueColor.v2.iconColor
|
|
712
|
+
}) : /*#__PURE__*/React.createElement(JiraCodingAgentAvatar, {
|
|
555
713
|
size: AVATAR_SIZES[size],
|
|
556
|
-
primaryColor: blueColor.primary,
|
|
557
|
-
secondaryColor: blueColor.secondary
|
|
714
|
+
primaryColor: blueColor.v1.primary,
|
|
715
|
+
secondaryColor: blueColor.v1.secondary
|
|
558
716
|
});
|
|
559
717
|
},
|
|
560
|
-
|
|
718
|
+
getColor: function getColor() {
|
|
719
|
+
return fg('platform-dst-avatar-updated-geometry') ? blueColor.v2 : blueColor.v1;
|
|
720
|
+
}
|
|
561
721
|
},
|
|
562
722
|
jsm_rovo_service_agent: {
|
|
563
723
|
getRender: function getRender(size) {
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
724
|
+
if (fg('platform-dst-avatar-updated-geometry')) {
|
|
725
|
+
return /*#__PURE__*/React.createElement(RefreshedRequestResolverAvatar, {
|
|
726
|
+
size: AVATAR_SIZES[size],
|
|
727
|
+
primaryColor: yellowColor.v2.primary,
|
|
728
|
+
iconColor: yellowColor.v2.iconColor
|
|
729
|
+
});
|
|
730
|
+
}
|
|
731
|
+
if (fg('rename-rovo-service-to-request-resolver')) {
|
|
732
|
+
return /*#__PURE__*/React.createElement(JsmRequestResolverAgentAvatar, {
|
|
733
|
+
size: AVATAR_SIZES[size],
|
|
734
|
+
primaryColor: "",
|
|
735
|
+
secondaryColor: ""
|
|
736
|
+
});
|
|
737
|
+
}
|
|
738
|
+
return /*#__PURE__*/React.createElement(JsmRovoServiceAgentAvatar, {
|
|
569
739
|
size: AVATAR_SIZES[size],
|
|
570
740
|
primaryColor: "",
|
|
571
741
|
secondaryColor: ""
|
|
572
742
|
});
|
|
573
743
|
},
|
|
574
|
-
|
|
744
|
+
getColor: function getColor() {
|
|
745
|
+
return fg('platform-dst-avatar-updated-geometry') ? yellowColor.v2 : yellowColor.v1;
|
|
746
|
+
}
|
|
575
747
|
},
|
|
576
748
|
mcp_amplitude_agent: {
|
|
577
749
|
getRender: function getRender(size) {
|
|
@@ -585,7 +757,9 @@ var outOfTheBoxAgentAvatar = {
|
|
|
585
757
|
secondaryColor: ""
|
|
586
758
|
});
|
|
587
759
|
},
|
|
588
|
-
|
|
760
|
+
getColor: function getColor() {
|
|
761
|
+
return blueColor.v1;
|
|
762
|
+
}
|
|
589
763
|
},
|
|
590
764
|
mcp_box_agent: {
|
|
591
765
|
getRender: function getRender(size) {
|
|
@@ -595,7 +769,9 @@ var outOfTheBoxAgentAvatar = {
|
|
|
595
769
|
secondaryColor: ""
|
|
596
770
|
});
|
|
597
771
|
},
|
|
598
|
-
|
|
772
|
+
getColor: function getColor() {
|
|
773
|
+
return blueColor.v1;
|
|
774
|
+
}
|
|
599
775
|
},
|
|
600
776
|
mcp_canva_agent: {
|
|
601
777
|
getRender: function getRender(size) {
|
|
@@ -605,7 +781,9 @@ var outOfTheBoxAgentAvatar = {
|
|
|
605
781
|
secondaryColor: ""
|
|
606
782
|
});
|
|
607
783
|
},
|
|
608
|
-
|
|
784
|
+
getColor: function getColor() {
|
|
785
|
+
return blueColor.v1;
|
|
786
|
+
}
|
|
609
787
|
},
|
|
610
788
|
mcp_figma_agent: {
|
|
611
789
|
getRender: function getRender(size) {
|
|
@@ -615,7 +793,9 @@ var outOfTheBoxAgentAvatar = {
|
|
|
615
793
|
secondaryColor: ""
|
|
616
794
|
});
|
|
617
795
|
},
|
|
618
|
-
|
|
796
|
+
getColor: function getColor() {
|
|
797
|
+
return blueColor.v1;
|
|
798
|
+
}
|
|
619
799
|
},
|
|
620
800
|
mcp_hubspot_agent: {
|
|
621
801
|
getRender: function getRender(size) {
|
|
@@ -625,7 +805,9 @@ var outOfTheBoxAgentAvatar = {
|
|
|
625
805
|
secondaryColor: ""
|
|
626
806
|
});
|
|
627
807
|
},
|
|
628
|
-
|
|
808
|
+
getColor: function getColor() {
|
|
809
|
+
return blueColor.v1;
|
|
810
|
+
}
|
|
629
811
|
},
|
|
630
812
|
mcp_intercom_agent: {
|
|
631
813
|
getRender: function getRender(size) {
|
|
@@ -635,7 +817,9 @@ var outOfTheBoxAgentAvatar = {
|
|
|
635
817
|
secondaryColor: ""
|
|
636
818
|
});
|
|
637
819
|
},
|
|
638
|
-
|
|
820
|
+
getColor: function getColor() {
|
|
821
|
+
return blueColor.v1;
|
|
822
|
+
}
|
|
639
823
|
},
|
|
640
824
|
mcp_gamma_agent: {
|
|
641
825
|
getRender: function getRender(size) {
|
|
@@ -645,7 +829,9 @@ var outOfTheBoxAgentAvatar = {
|
|
|
645
829
|
secondaryColor: ""
|
|
646
830
|
});
|
|
647
831
|
},
|
|
648
|
-
|
|
832
|
+
getColor: function getColor() {
|
|
833
|
+
return blueColor.v1;
|
|
834
|
+
}
|
|
649
835
|
},
|
|
650
836
|
mcp_lovable_agent: {
|
|
651
837
|
getRender: function getRender(size) {
|
|
@@ -655,7 +841,9 @@ var outOfTheBoxAgentAvatar = {
|
|
|
655
841
|
secondaryColor: ""
|
|
656
842
|
});
|
|
657
843
|
},
|
|
658
|
-
|
|
844
|
+
getColor: function getColor() {
|
|
845
|
+
return blueColor.v1;
|
|
846
|
+
}
|
|
659
847
|
},
|
|
660
848
|
mcp_replit_agent: {
|
|
661
849
|
getRender: function getRender(size) {
|
|
@@ -665,7 +853,9 @@ var outOfTheBoxAgentAvatar = {
|
|
|
665
853
|
secondaryColor: ""
|
|
666
854
|
});
|
|
667
855
|
},
|
|
668
|
-
|
|
856
|
+
getColor: function getColor() {
|
|
857
|
+
return blueColor.v1;
|
|
858
|
+
}
|
|
669
859
|
},
|
|
670
860
|
rovo_agent: {
|
|
671
861
|
getRender: function getRender(size) {
|
|
@@ -675,7 +865,9 @@ var outOfTheBoxAgentAvatar = {
|
|
|
675
865
|
secondaryColor: ""
|
|
676
866
|
});
|
|
677
867
|
},
|
|
678
|
-
|
|
868
|
+
getColor: function getColor() {
|
|
869
|
+
return blueColor.v1;
|
|
870
|
+
}
|
|
679
871
|
},
|
|
680
872
|
jira_work_agent: {
|
|
681
873
|
getRender: function getRender(size) {
|
|
@@ -685,7 +877,9 @@ var outOfTheBoxAgentAvatar = {
|
|
|
685
877
|
secondaryColor: ""
|
|
686
878
|
});
|
|
687
879
|
},
|
|
688
|
-
|
|
880
|
+
getColor: function getColor() {
|
|
881
|
+
return blueColor.v1;
|
|
882
|
+
}
|
|
689
883
|
},
|
|
690
884
|
jira_task_planner_agent: {
|
|
691
885
|
getRender: function getRender(size) {
|
|
@@ -695,20 +889,26 @@ var outOfTheBoxAgentAvatar = {
|
|
|
695
889
|
secondaryColor: ""
|
|
696
890
|
});
|
|
697
891
|
},
|
|
698
|
-
|
|
892
|
+
getColor: function getColor() {
|
|
893
|
+
return blueColor.v1;
|
|
894
|
+
}
|
|
699
895
|
},
|
|
700
896
|
jira_intelligent_triage_agent: {
|
|
701
897
|
getRender: function getRender(size) {
|
|
702
|
-
return /*#__PURE__*/React.createElement(
|
|
898
|
+
return fg('platform-dst-avatar-updated-geometry') ? /*#__PURE__*/React.createElement(RefreshedJiraIntelligentTriageAgentAvatar, {
|
|
899
|
+
size: AVATAR_SIZES[size],
|
|
900
|
+
primaryColor: blueColor.v2.primary,
|
|
901
|
+
iconColor: blueColor.v2.iconColor
|
|
902
|
+
}) : /*#__PURE__*/React.createElement(JiraIntelligentTriageAgentAvatar, {
|
|
703
903
|
size: AVATAR_SIZES[size],
|
|
704
904
|
primaryColor: "",
|
|
705
905
|
secondaryColor: ""
|
|
706
906
|
});
|
|
707
907
|
},
|
|
708
|
-
|
|
908
|
+
getColor: function getColor() {
|
|
909
|
+
return fg('platform-dst-avatar-updated-geometry') ? blueColor.v2 : blueColor.v1;
|
|
910
|
+
}
|
|
709
911
|
},
|
|
710
|
-
// The "Request router" agent (previously named "Service triage"). The key is the agent's
|
|
711
|
-
// external_config_reference, which stays as `jsm_service_triage_agent` after the rename.
|
|
712
912
|
jsm_service_triage_agent: {
|
|
713
913
|
getRender: function getRender(size) {
|
|
714
914
|
return /*#__PURE__*/React.createElement(JsmServiceTriageAgentAvatar, {
|
|
@@ -717,17 +917,25 @@ var outOfTheBoxAgentAvatar = {
|
|
|
717
917
|
secondaryColor: ""
|
|
718
918
|
});
|
|
719
919
|
},
|
|
720
|
-
|
|
920
|
+
getColor: function getColor() {
|
|
921
|
+
return yellowColor.v1;
|
|
922
|
+
}
|
|
721
923
|
},
|
|
722
924
|
jira_coding_agent: {
|
|
723
925
|
getRender: function getRender(size) {
|
|
724
|
-
return /*#__PURE__*/React.createElement(
|
|
926
|
+
return fg('platform-dst-avatar-updated-geometry') ? /*#__PURE__*/React.createElement(RefreshedJiraCodingAgentAvatar, {
|
|
927
|
+
size: AVATAR_SIZES[size],
|
|
928
|
+
primaryColor: greenColor.v2.primary,
|
|
929
|
+
iconColor: greenColor.v2.iconColor
|
|
930
|
+
}) : /*#__PURE__*/React.createElement(JiraCodingAgentAvatar, {
|
|
725
931
|
size: AVATAR_SIZES[size],
|
|
726
932
|
primaryColor: "",
|
|
727
933
|
secondaryColor: ""
|
|
728
934
|
});
|
|
729
935
|
},
|
|
730
|
-
|
|
936
|
+
getColor: function getColor() {
|
|
937
|
+
return fg('platform-dst-avatar-updated-geometry') ? greenColor.v2 : blueColor.v1;
|
|
938
|
+
}
|
|
731
939
|
}
|
|
732
940
|
};
|
|
733
941
|
|
|
@@ -757,13 +965,6 @@ export var getNumberIdForAvatar = function getNumberIdForAvatar(_ref2) {
|
|
|
757
965
|
}
|
|
758
966
|
return null;
|
|
759
967
|
};
|
|
760
|
-
var renderRefreshedAvatar = function renderRefreshedAvatar(Avatar, color, size) {
|
|
761
|
-
return /*#__PURE__*/React.createElement(Avatar, {
|
|
762
|
-
size: AVATAR_SIZES[size],
|
|
763
|
-
primaryColor: color === blueColor ? refreshedBlueColor.primary : color.primary,
|
|
764
|
-
iconColor: color === blueColor ? '#FFFFFF' : '#101214'
|
|
765
|
-
});
|
|
766
|
-
};
|
|
767
968
|
var ROVO_DEV_AGENT_ID = '027f0676-e8e9-4939-8962-3850987d78bb';
|
|
768
969
|
var getAvatarRender = function getAvatarRender(_ref3) {
|
|
769
970
|
var agentNamedId = _ref3.agentNamedId,
|
|
@@ -778,7 +979,7 @@ var getAvatarRender = function getAvatarRender(_ref3) {
|
|
|
778
979
|
primaryColor: "",
|
|
779
980
|
secondaryColor: ""
|
|
780
981
|
}),
|
|
781
|
-
color: greenColor
|
|
982
|
+
color: greenColor.v1
|
|
782
983
|
};
|
|
783
984
|
}
|
|
784
985
|
|
|
@@ -791,14 +992,14 @@ var getAvatarRender = function getAvatarRender(_ref3) {
|
|
|
791
992
|
primaryColor: "",
|
|
792
993
|
secondaryColor: ""
|
|
793
994
|
}),
|
|
794
|
-
color: greenColor
|
|
995
|
+
color: greenColor.v1
|
|
795
996
|
};
|
|
796
997
|
}
|
|
797
998
|
if (typeof agentNamedId === 'string' && outOfTheBoxAgentAvatar[agentNamedId]) {
|
|
798
|
-
var
|
|
999
|
+
var avatar = outOfTheBoxAgentAvatar[agentNamedId];
|
|
799
1000
|
return {
|
|
800
|
-
render:
|
|
801
|
-
color:
|
|
1001
|
+
render: avatar.getRender(size),
|
|
1002
|
+
color: avatar.getColor()
|
|
802
1003
|
};
|
|
803
1004
|
}
|
|
804
1005
|
var numberId = getNumberIdForAvatar({
|
|
@@ -815,30 +1016,37 @@ var getAvatarRender = function getAvatarRender(_ref3) {
|
|
|
815
1016
|
var combinationIndex = numberId % totalCombinations;
|
|
816
1017
|
var avatarIndex = Math.floor(combinationIndex / colorList.length);
|
|
817
1018
|
var colorIndex = combinationIndex % colorList.length;
|
|
818
|
-
var
|
|
1019
|
+
var _avatar = avatarList[avatarIndex];
|
|
819
1020
|
var color = colorList[colorIndex];
|
|
820
1021
|
if (fg('platform-dst-avatar-updated-geometry')) {
|
|
1022
|
+
var _Avatar = _avatar.v2;
|
|
821
1023
|
return {
|
|
822
|
-
render:
|
|
823
|
-
|
|
1024
|
+
render: /*#__PURE__*/React.createElement(_Avatar, {
|
|
1025
|
+
size: AVATAR_SIZES[size],
|
|
1026
|
+
primaryColor: color.v2.primary,
|
|
1027
|
+
iconColor: color.v2.iconColor
|
|
1028
|
+
}),
|
|
1029
|
+
color: color.v2
|
|
824
1030
|
};
|
|
825
1031
|
}
|
|
1032
|
+
var Avatar = _avatar.v1;
|
|
826
1033
|
return {
|
|
827
1034
|
render: /*#__PURE__*/React.createElement(Avatar, {
|
|
828
1035
|
size: AVATAR_SIZES[size],
|
|
829
|
-
primaryColor: color.primary,
|
|
830
|
-
secondaryColor: color.secondary
|
|
1036
|
+
primaryColor: color.v1.primary,
|
|
1037
|
+
secondaryColor: color.v1.secondary
|
|
831
1038
|
}),
|
|
832
|
-
color: color
|
|
1039
|
+
color: color.v1
|
|
833
1040
|
};
|
|
834
1041
|
}
|
|
1042
|
+
var fallbackColor = fg('platform-dst-avatar-updated-geometry') ? blueColor.v2 : blueColor.v1;
|
|
835
1043
|
return {
|
|
836
1044
|
render: /*#__PURE__*/React.createElement(GenericAvatar, {
|
|
837
1045
|
size: AVATAR_SIZES[size],
|
|
838
|
-
primaryColor:
|
|
839
|
-
secondaryColor:
|
|
1046
|
+
primaryColor: fallbackColor.primary,
|
|
1047
|
+
secondaryColor: 'iconColor' in fallbackColor ? fallbackColor.iconColor : fallbackColor.secondary
|
|
840
1048
|
}),
|
|
841
|
-
color:
|
|
1049
|
+
color: fallbackColor
|
|
842
1050
|
};
|
|
843
1051
|
};
|
|
844
1052
|
export var getAgentAvatarColor = function getAgentAvatarColor(props) {
|