@activecollab/components 2.0.406 → 2.0.408
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/dist/cjs/components/Dot/Styles.js +1 -1
- package/dist/cjs/components/Dot/Styles.js.map +1 -1
- package/dist/cjs/presentation/shared/WebhookLogsDialog.js +170 -46
- package/dist/cjs/presentation/shared/WebhookLogsDialog.js.map +1 -1
- package/dist/esm/components/Dot/Styles.d.ts.map +1 -1
- package/dist/esm/components/Dot/Styles.js +1 -1
- package/dist/esm/components/Dot/Styles.js.map +1 -1
- package/dist/esm/presentation/shared/WebhookLogsDialog.d.ts +1 -3
- package/dist/esm/presentation/shared/WebhookLogsDialog.d.ts.map +1 -1
- package/dist/esm/presentation/shared/WebhookLogsDialog.js +164 -46
- package/dist/esm/presentation/shared/WebhookLogsDialog.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
9
9
|
var StyledDot = exports.StyledDot = _styledComponents.default.div.withConfig({
|
|
10
10
|
displayName: "Styles__StyledDot",
|
|
11
11
|
componentId: "sc-1hwsgu3-0"
|
|
12
|
-
})(["border-radius:100%;", " ", ""], function (props) {
|
|
12
|
+
})(["border-radius:100%;flex:none;aspect-ratio:1;", " ", ""], function (props) {
|
|
13
13
|
return props.$size && (0, _styledComponents.css)(["width:", "px;height:", "px;"], props.$size, props.$size);
|
|
14
14
|
}, function (props) {
|
|
15
15
|
return props.$color && (0, _styledComponents.css)(["background-color:", ";"], props.$color);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.js","names":["_styledComponents","_interopRequireWildcard","require","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","StyledDot","exports","styled","div","withConfig","displayName","componentId","props","$size","css","$color"],"sources":["../../../../src/components/Dot/Styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\ninterface StyledDotProps {\n $color: string;\n $size: number;\n}\n\nexport const StyledDot = styled.div<StyledDotProps>`\n border-radius: 100%;\n\n ${(props) =>\n props.$size &&\n css`\n width: ${props.$size}px;\n height: ${props.$size}px;\n `}\n\n ${(props) =>\n props.$color &&\n css`\n background-color: ${props.$color};\n `}\n`;\n"],"mappings":";;;;;;AAAA,IAAAA,iBAAA,GAAAC,uBAAA,CAAAC,OAAA;AAAgD,SAAAD,wBAAAE,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAJ,uBAAA,YAAAA,wBAAAE,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,cAAAM,EAAA,IAAAd,CAAA,gBAAAc,EAAA,OAAAC,cAAA,CAAAC,IAAA,CAAAhB,CAAA,EAAAc,EAAA,OAAAP,CAAA,IAAAD,CAAA,GAAAW,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAnB,CAAA,EAAAc,EAAA,OAAAP,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAM,EAAA,EAAAP,CAAA,IAAAC,CAAA,CAAAM,EAAA,IAAAd,CAAA,CAAAc,EAAA,WAAAN,CAAA,KAAAR,CAAA,EAAAC,CAAA;AAOzC,IAAMmB,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,yBAAM,CAACC,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"Styles.js","names":["_styledComponents","_interopRequireWildcard","require","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","StyledDot","exports","styled","div","withConfig","displayName","componentId","props","$size","css","$color"],"sources":["../../../../src/components/Dot/Styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\ninterface StyledDotProps {\n $color: string;\n $size: number;\n}\n\nexport const StyledDot = styled.div<StyledDotProps>`\n border-radius: 100%;\n flex: none;\n aspect-ratio: 1;\n\n ${(props) =>\n props.$size &&\n css`\n width: ${props.$size}px;\n height: ${props.$size}px;\n `}\n\n ${(props) =>\n props.$color &&\n css`\n background-color: ${props.$color};\n `}\n`;\n"],"mappings":";;;;;;AAAA,IAAAA,iBAAA,GAAAC,uBAAA,CAAAC,OAAA;AAAgD,SAAAD,wBAAAE,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAJ,uBAAA,YAAAA,wBAAAE,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,cAAAM,EAAA,IAAAd,CAAA,gBAAAc,EAAA,OAAAC,cAAA,CAAAC,IAAA,CAAAhB,CAAA,EAAAc,EAAA,OAAAP,CAAA,IAAAD,CAAA,GAAAW,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAnB,CAAA,EAAAc,EAAA,OAAAP,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAM,EAAA,EAAAP,CAAA,IAAAC,CAAA,CAAAM,EAAA,IAAAd,CAAA,CAAAc,EAAA,WAAAN,CAAA,KAAAR,CAAA,EAAAC,CAAA;AAOzC,IAAMmB,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,yBAAM,CAACC,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,8DAK/B,UAACC,KAAK;EAAA,OACNA,KAAK,CAACC,KAAK,QACXC,qBAAG,mCACQF,KAAK,CAACC,KAAK,EACVD,KAAK,CAACC,KAAK,CACtB;AAAA,GAED,UAACD,KAAK;EAAA,OACNA,KAAK,CAACG,MAAM,QACZD,qBAAG,8BACmBF,KAAK,CAACG,MAAM,CACjC;AAAA,EACJ","ignoreList":[]}
|
|
@@ -234,6 +234,60 @@ var StatusChip = function StatusChip(_ref) {
|
|
|
234
234
|
});
|
|
235
235
|
};
|
|
236
236
|
|
|
237
|
+
/* --- Relative "ago" time -------------------------------------------------- */
|
|
238
|
+
/* The Time column reads relative to a fixed "now" so the mock's examples stay */
|
|
239
|
+
/* stable across renders — a live clock would drift the buckets on every reload */
|
|
240
|
+
/* and the crafted "3 minutes ago" / "Yesterday" rows would lose their meaning. */
|
|
241
|
+
|
|
242
|
+
var NOW = new Date(2026, 7, 11, 15, 0, 0); // Tue, 11 Aug 2026, 15:00
|
|
243
|
+
var NOW_TS = Math.floor(NOW.getTime() / 1000);
|
|
244
|
+
var MONTHS = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
|
|
245
|
+
var pad2 = function pad2(value) {
|
|
246
|
+
return String(value).padStart(2, "0");
|
|
247
|
+
};
|
|
248
|
+
var startOfDay = function startOfDay(date) {
|
|
249
|
+
return new Date(date.getFullYear(), date.getMonth(), date.getDate()).getTime();
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* When a webhook was received, in the app's relative style:
|
|
254
|
+
* < 1 min → "Just now"
|
|
255
|
+
* < 1 hour → "N minutes ago"
|
|
256
|
+
* earlier today → "Today, HH:MM"
|
|
257
|
+
* yesterday → "Yesterday, HH:MM"
|
|
258
|
+
* older, this year → "MMM D"
|
|
259
|
+
* older, earlier years → "MMM D, YYYY"
|
|
260
|
+
*/
|
|
261
|
+
var formatReceivedAt = function formatReceivedAt(receivedAt) {
|
|
262
|
+
var now = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : NOW;
|
|
263
|
+
var then = new Date(receivedAt * 1000);
|
|
264
|
+
var diffMinutes = Math.floor((now.getTime() - then.getTime()) / 60000);
|
|
265
|
+
if (diffMinutes < 1) {
|
|
266
|
+
return "Just now";
|
|
267
|
+
}
|
|
268
|
+
if (diffMinutes < 60) {
|
|
269
|
+
return "".concat(diffMinutes, " ").concat(diffMinutes === 1 ? "minute" : "minutes", " ago");
|
|
270
|
+
}
|
|
271
|
+
var time = "".concat(pad2(then.getHours()), ":").concat(pad2(then.getMinutes()));
|
|
272
|
+
var dayDiff = Math.round((startOfDay(now) - startOfDay(then)) / 86400000);
|
|
273
|
+
if (dayDiff === 0) {
|
|
274
|
+
return "Today, ".concat(time);
|
|
275
|
+
}
|
|
276
|
+
if (dayDiff === 1) {
|
|
277
|
+
return "Yesterday, ".concat(time);
|
|
278
|
+
}
|
|
279
|
+
var date = "".concat(MONTHS[then.getMonth()], " ").concat(then.getDate());
|
|
280
|
+
return then.getFullYear() === now.getFullYear() ? date : "".concat(date, ", ").concat(then.getFullYear());
|
|
281
|
+
};
|
|
282
|
+
|
|
283
|
+
/* Timestamp helpers for the mock data below. */
|
|
284
|
+
var secondsAgo = function secondsAgo(seconds) {
|
|
285
|
+
return NOW_TS - seconds;
|
|
286
|
+
};
|
|
287
|
+
var at = function at(year, month, day, hour, minute) {
|
|
288
|
+
return Math.floor(new Date(year, month, day, hour, minute, 0).getTime() / 1000);
|
|
289
|
+
};
|
|
290
|
+
|
|
237
291
|
/* --- Mock log data (newest first is enforced by sorting on receivedAt) --- */
|
|
238
292
|
|
|
239
293
|
var PAYLOAD_ISSUE_OPENED = JSON.stringify({
|
|
@@ -301,8 +355,10 @@ var PAYLOAD_PUSH = JSON.stringify({
|
|
|
301
355
|
full_name: "activecollab/feather"
|
|
302
356
|
}
|
|
303
357
|
}, null, 2);
|
|
304
|
-
var WEBHOOK_LOGS = [
|
|
305
|
-
|
|
358
|
+
var WEBHOOK_LOGS = [
|
|
359
|
+
// Just now (< 1 minute)
|
|
360
|
+
{
|
|
361
|
+
id: "log-just-now",
|
|
306
362
|
connectionId: "gh-activecollab",
|
|
307
363
|
repositoryId: "ac-feather",
|
|
308
364
|
eventKind: "issue",
|
|
@@ -318,10 +374,11 @@ var WEBHOOK_LOGS = [{
|
|
|
318
374
|
}
|
|
319
375
|
}],
|
|
320
376
|
payload: PAYLOAD_ISSUE_OPENED,
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
377
|
+
receivedAt: secondsAgo(25)
|
|
378
|
+
},
|
|
379
|
+
// Minutes ago
|
|
380
|
+
{
|
|
381
|
+
id: "log-3m",
|
|
325
382
|
connectionId: "gl-content",
|
|
326
383
|
repositoryId: "co-handbook",
|
|
327
384
|
eventKind: "pull_request",
|
|
@@ -331,12 +388,11 @@ var WEBHOOK_LOGS = [{
|
|
|
331
388
|
summary: "Skipped: merge request has no linked issue"
|
|
332
389
|
}],
|
|
333
390
|
payload: PAYLOAD_MERGE_REQUEST,
|
|
334
|
-
|
|
335
|
-
receivedAt: 1751195280
|
|
391
|
+
receivedAt: secondsAgo(3 * 60)
|
|
336
392
|
}, {
|
|
337
|
-
id: "log-
|
|
338
|
-
connectionId: "gh-
|
|
339
|
-
repositoryId: "
|
|
393
|
+
id: "log-12m",
|
|
394
|
+
connectionId: "gh-abstergo",
|
|
395
|
+
repositoryId: "ab-animus",
|
|
340
396
|
eventKind: "issue",
|
|
341
397
|
status: "failed",
|
|
342
398
|
deliveryIdentifier: "9c1185a5-c5e9-4e3f-8a1b-7d6e5f4c3b2a",
|
|
@@ -344,12 +400,11 @@ var WEBHOOK_LOGS = [{
|
|
|
344
400
|
summary: "Failed at task creation: project not found"
|
|
345
401
|
}],
|
|
346
402
|
payload: PAYLOAD_ISSUE_OPENED,
|
|
347
|
-
|
|
348
|
-
receivedAt: 1751136840
|
|
403
|
+
receivedAt: secondsAgo(12 * 60)
|
|
349
404
|
}, {
|
|
350
|
-
id: "log-
|
|
351
|
-
connectionId: "gl-
|
|
352
|
-
repositoryId: "
|
|
405
|
+
id: "log-47m",
|
|
406
|
+
connectionId: "gl-platform",
|
|
407
|
+
repositoryId: "pl-gateway",
|
|
353
408
|
eventKind: "push",
|
|
354
409
|
status: "processed",
|
|
355
410
|
deliveryIdentifier: "f7c3bc1d-8c5a-4b2e-9f0a-1b2c3d4e5f60",
|
|
@@ -371,10 +426,11 @@ var WEBHOOK_LOGS = [{
|
|
|
371
426
|
}
|
|
372
427
|
}],
|
|
373
428
|
payload: PAYLOAD_PUSH,
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
429
|
+
receivedAt: secondsAgo(47 * 60)
|
|
430
|
+
},
|
|
431
|
+
// Earlier today
|
|
432
|
+
{
|
|
433
|
+
id: "log-today-1",
|
|
378
434
|
connectionId: "gh-activecollab",
|
|
379
435
|
repositoryId: "ac-feather",
|
|
380
436
|
eventKind: "other",
|
|
@@ -385,48 +441,109 @@ var WEBHOOK_LOGS = [{
|
|
|
385
441
|
zen: "Keep it logically awesome.",
|
|
386
442
|
hook_id: 552012
|
|
387
443
|
}, null, 2),
|
|
388
|
-
|
|
389
|
-
receivedAt: 1751040300
|
|
444
|
+
receivedAt: at(2026, 7, 11, 10, 0)
|
|
390
445
|
}, {
|
|
391
|
-
id: "log-2",
|
|
446
|
+
id: "log-today-2",
|
|
447
|
+
connectionId: "gh-binford",
|
|
448
|
+
repositoryId: "bi-tool-time",
|
|
449
|
+
eventKind: "pull_request_review",
|
|
450
|
+
status: "processed",
|
|
451
|
+
deliveryIdentifier: "5f2b1c8e-7a3d-4e6f-9b0c-1d2e3f4a5b6c",
|
|
452
|
+
outcomes: [{
|
|
453
|
+
summary: "Referenced task #1699 from pull request #58",
|
|
454
|
+
task: {
|
|
455
|
+
id: 1699,
|
|
456
|
+
name: "Refresh the Tool Time build badge",
|
|
457
|
+
projectName: "Tool Time",
|
|
458
|
+
description: "The build badge shows an old status. Update it when the pipeline finishes."
|
|
459
|
+
}
|
|
460
|
+
}],
|
|
461
|
+
payload: PAYLOAD_MERGE_REQUEST,
|
|
462
|
+
receivedAt: at(2026, 7, 11, 7, 12)
|
|
463
|
+
},
|
|
464
|
+
// Yesterday
|
|
465
|
+
{
|
|
466
|
+
id: "log-yesterday-1",
|
|
392
467
|
connectionId: "gl-content",
|
|
393
468
|
repositoryId: "co-marketing",
|
|
394
469
|
eventKind: "issue",
|
|
395
470
|
status: "received",
|
|
396
471
|
deliveryIdentifier: "0716d970-2b9e-4a1d-9c3f-5e6a7b8c9d01",
|
|
397
472
|
outcomes: [],
|
|
398
|
-
|
|
399
|
-
receivedAt: 1751013420
|
|
473
|
+
receivedAt: at(2026, 7, 10, 13, 20)
|
|
400
474
|
}, {
|
|
401
|
-
id: "log-
|
|
475
|
+
id: "log-yesterday-2",
|
|
402
476
|
connectionId: "gh-activecollab",
|
|
403
477
|
repositoryId: "ac-feather",
|
|
404
478
|
eventKind: "issue",
|
|
405
|
-
status: "
|
|
479
|
+
status: "duplicate",
|
|
406
480
|
deliveryIdentifier: "fa3ebd6742c360b2d9652b7f78d9bd7d",
|
|
481
|
+
outcomes: [],
|
|
482
|
+
payload: PAYLOAD_ISSUE_OPENED,
|
|
483
|
+
receivedAt: at(2026, 7, 10, 9, 5)
|
|
484
|
+
},
|
|
485
|
+
// Older, this year — date only
|
|
486
|
+
{
|
|
487
|
+
id: "log-aug-8",
|
|
488
|
+
connectionId: "gh-activecollab",
|
|
489
|
+
repositoryId: "ac-backend",
|
|
490
|
+
eventKind: "repository",
|
|
491
|
+
status: "skipped",
|
|
492
|
+
deliveryIdentifier: "2c9d0e1f-3a4b-4c5d-8e9f-0a1b2c3d4e5f",
|
|
493
|
+
outcomes: [{
|
|
494
|
+
summary: "Skipped: repository events are not processed"
|
|
495
|
+
}],
|
|
496
|
+
receivedAt: at(2026, 7, 8, 16, 42)
|
|
497
|
+
}, {
|
|
498
|
+
id: "log-jul-30",
|
|
499
|
+
connectionId: "gl-acme-ce",
|
|
500
|
+
repositoryId: "acme-ce",
|
|
501
|
+
eventKind: "push",
|
|
502
|
+
status: "failed",
|
|
503
|
+
deliveryIdentifier: "7d8e9f0a-1b2c-4d3e-9f0a-2b3c4d5e6f70",
|
|
504
|
+
outcomes: [{
|
|
505
|
+
summary: "Failed to match a repository for this push"
|
|
506
|
+
}],
|
|
507
|
+
payload: PAYLOAD_PUSH,
|
|
508
|
+
receivedAt: at(2026, 6, 30, 11, 9)
|
|
509
|
+
}, {
|
|
510
|
+
id: "log-jun-12",
|
|
511
|
+
connectionId: "gh-abstergo",
|
|
512
|
+
repositoryId: "ab-animus",
|
|
513
|
+
eventKind: "issue",
|
|
514
|
+
status: "processed",
|
|
515
|
+
deliveryIdentifier: "aa11bb22-cc33-4d44-9e55-6f7788990011",
|
|
407
516
|
outcomes: [{
|
|
408
|
-
summary: "Created task #
|
|
517
|
+
summary: "Created task #1720 from issue #204",
|
|
409
518
|
task: {
|
|
410
|
-
id:
|
|
411
|
-
name: "
|
|
412
|
-
projectName: "
|
|
413
|
-
description: "
|
|
519
|
+
id: 1720,
|
|
520
|
+
name: "Animus sync drops issue labels",
|
|
521
|
+
projectName: "Animus",
|
|
522
|
+
description: "Issue labels are lost when Animus syncs from GitHub. Map the incoming labels onto task labels."
|
|
414
523
|
}
|
|
415
524
|
}],
|
|
416
525
|
payload: PAYLOAD_ISSUE_OPENED,
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
526
|
+
receivedAt: at(2026, 5, 12, 8, 30)
|
|
527
|
+
},
|
|
528
|
+
// Older, earlier year — date with year
|
|
529
|
+
{
|
|
530
|
+
id: "log-mar-2025",
|
|
531
|
+
connectionId: "gl-platform",
|
|
532
|
+
repositoryId: "pl-gateway",
|
|
423
533
|
eventKind: "issue",
|
|
424
|
-
status: "
|
|
425
|
-
deliveryIdentifier: "
|
|
426
|
-
outcomes: [
|
|
534
|
+
status: "processed",
|
|
535
|
+
deliveryIdentifier: "bb22cc33-dd44-4e55-9f66-7a8899001122",
|
|
536
|
+
outcomes: [{
|
|
537
|
+
summary: "Created task #1533 from issue #88",
|
|
538
|
+
task: {
|
|
539
|
+
id: 1533,
|
|
540
|
+
name: "Gateway times out on large payloads",
|
|
541
|
+
projectName: "API Gateway",
|
|
542
|
+
description: "Large webhook payloads time out at the gateway. Raise the body limit or stream the request."
|
|
543
|
+
}
|
|
544
|
+
}],
|
|
427
545
|
payload: PAYLOAD_ISSUE_OPENED,
|
|
428
|
-
|
|
429
|
-
receivedAt: 1750943880
|
|
546
|
+
receivedAt: at(2025, 2, 3, 10, 15)
|
|
430
547
|
}];
|
|
431
548
|
|
|
432
549
|
/* --- Lightweight, Prism-style JSON syntax highlighter -------------------- */
|
|
@@ -501,7 +618,7 @@ var PayloadBlock = function PayloadBlock(_ref3) {
|
|
|
501
618
|
var LogRowWrap = _styledComponents.default.div.withConfig({
|
|
502
619
|
displayName: "WebhookLogsDialog__LogRowWrap",
|
|
503
620
|
componentId: "sc-6ol7f6-2"
|
|
504
|
-
})(["border-top:1px solid var(--color-theme-300);.lr-summary{box-sizing:border-box;display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:8px 8px 8px 12px;background:none;border:0;text-align:left;cursor:pointer;font-family:inherit;&:hover{background-color:var(--color-theme-200);}}.lr-expand{flex-shrink:0;fill:var(--color-theme-600);color:var(--color-theme-600);transform:rotate(180deg);transition:transform 200ms ease;}.lr-expand.open{transform:rotate(0deg);}.lr-conn{display:flex;align-items:center;gap:8px;width:180px;min-width:0;flex-shrink:0;}.lr-conn svg{width:20px;height:20px;flex-shrink:0;}.lr-conn .lr-conn-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}.lr-event{flex:1 1 0%;min-width:0;}.lr-status{flex-shrink:0;}.lr-outcomes{width:96px;flex-shrink:0;text-align:right;}.lr-detail{padding:4px 16px 20px 44px;display:flex;flex-direction:column;gap:16px;}.lr-field-label{display:block;margin-bottom:4px;}.lr-id{font-family:\"SFMono-Regular\",Consolas,\"Liberation Mono\",Menlo,monospace;word-break:break-all;}.lr-outcome-list{margin:0;padding-left:16px;display:flex;flex-direction:column;gap:6px;}.lr-outcome{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;}.lr-open-task{padding:0;border:0;background:none;font:inherit;font-size:13px;line-height:18px;color:var(--color-theme-600);text-decoration:underline;cursor:pointer;white-space:nowrap;}.lr-open-task:hover{color:var(--color-theme-800);}"]);
|
|
621
|
+
})(["border-top:1px solid var(--color-theme-300);.lr-summary{box-sizing:border-box;display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:8px 8px 8px 12px;background:none;border:0;text-align:left;cursor:pointer;font-family:inherit;&:hover{background-color:var(--color-theme-200);}}.lr-expand{flex-shrink:0;fill:var(--color-theme-600);color:var(--color-theme-600);transform:rotate(180deg);transition:transform 200ms ease;}.lr-expand.open{transform:rotate(0deg);}.lr-conn{display:flex;align-items:center;gap:8px;width:180px;min-width:0;flex-shrink:0;}.lr-conn svg{width:20px;height:20px;flex-shrink:0;}.lr-conn .lr-conn-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}.lr-event{flex:1 1 0%;min-width:0;}.lr-time{width:120px;flex-shrink:0;text-align:right;white-space:nowrap;}.lr-status{width:110px;flex-shrink:0;display:flex;}.lr-outcomes{width:96px;flex-shrink:0;text-align:right;}.lr-detail{padding:4px 16px 20px 44px;display:flex;flex-direction:column;gap:16px;}.lr-field-label{display:block;margin-bottom:4px;}.lr-id{font-family:\"SFMono-Regular\",Consolas,\"Liberation Mono\",Menlo,monospace;word-break:break-all;}.lr-outcome-list{margin:0;padding-left:16px;display:flex;flex-direction:column;gap:6px;}.lr-outcome{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;}.lr-open-task{padding:0;border:0;background:none;font:inherit;font-size:13px;line-height:18px;color:var(--color-theme-600);text-decoration:underline;cursor:pointer;white-space:nowrap;}.lr-open-task:hover{color:var(--color-theme-800);}"]);
|
|
505
622
|
var LogRow = function LogRow(_ref4) {
|
|
506
623
|
var _connection$name;
|
|
507
624
|
var log = _ref4.log,
|
|
@@ -531,7 +648,10 @@ var LogRow = function LogRow(_ref4) {
|
|
|
531
648
|
}, (_connection$name = connection === null || connection === void 0 ? void 0 : connection.name) !== null && _connection$name !== void 0 ? _connection$name : "Unknown")), /*#__PURE__*/_react.default.createElement(_Typography.Body2, {
|
|
532
649
|
className: "lr-event",
|
|
533
650
|
color: "tertiary"
|
|
534
|
-
}, EVENT_KIND_LABELS[log.eventKind]), /*#__PURE__*/_react.default.createElement(
|
|
651
|
+
}, EVENT_KIND_LABELS[log.eventKind]), /*#__PURE__*/_react.default.createElement(_Typography.Caption1, {
|
|
652
|
+
className: "lr-time",
|
|
653
|
+
color: "tertiary"
|
|
654
|
+
}, formatReceivedAt(log.receivedAt)), /*#__PURE__*/_react.default.createElement("span", {
|
|
535
655
|
className: "lr-status"
|
|
536
656
|
}, /*#__PURE__*/_react.default.createElement(StatusChip, {
|
|
537
657
|
status: log.status
|
|
@@ -673,7 +793,7 @@ var DialogTitleBar = _styledComponents.default.div.withConfig({
|
|
|
673
793
|
var LogListHeader = _styledComponents.default.div.withConfig({
|
|
674
794
|
displayName: "WebhookLogsDialog__LogListHeader",
|
|
675
795
|
componentId: "sc-6ol7f6-8"
|
|
676
|
-
})(["box-sizing:border-box;display:flex;align-items:center;gap:12px;padding:0 8px 8px 44px;.lh-conn{width:180px;flex-shrink:0;}.lh-event{flex:1 1 0%;min-width:0;}.lh-
|
|
796
|
+
})(["box-sizing:border-box;display:flex;align-items:center;gap:12px;padding:0 8px 8px 44px;.lh-conn{width:180px;flex-shrink:0;}.lh-event{flex:1 1 0%;min-width:0;}.lh-time{width:120px;flex-shrink:0;text-align:right;}.lh-status{width:110px;flex-shrink:0;text-align:left;}.lh-outcomes{width:96px;flex-shrink:0;text-align:right;}"]);
|
|
677
797
|
var EmptyLogs = _styledComponents.default.div.withConfig({
|
|
678
798
|
displayName: "WebhookLogsDialog__EmptyLogs",
|
|
679
799
|
componentId: "sc-6ol7f6-9"
|
|
@@ -855,6 +975,10 @@ var WebhookLogsDialog = exports.WebhookLogsDialog = function WebhookLogsDialog(_
|
|
|
855
975
|
color: "secondary",
|
|
856
976
|
weight: "bold"
|
|
857
977
|
}, "EVENT TYPE"), /*#__PURE__*/_react.default.createElement(_Typography.Caption2, {
|
|
978
|
+
className: "lh-time",
|
|
979
|
+
color: "secondary",
|
|
980
|
+
weight: "bold"
|
|
981
|
+
}, "TIME"), /*#__PURE__*/_react.default.createElement(_Typography.Caption2, {
|
|
858
982
|
className: "lh-status",
|
|
859
983
|
color: "secondary",
|
|
860
984
|
weight: "bold"
|