@skyhook-io/radar-app 1.18.1 → 1.18.2
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/package.json +1 -1
- package/src/App.tsx +23 -8
- package/src/api/client.deleteResource.test.tsx +111 -0
- package/src/api/client.resourceAudit.test.tsx +57 -0
- package/src/api/client.resourcePath.test.ts +107 -0
- package/src/api/client.ts +136 -37
- package/src/components/capacity/CapacityDemand.tsx +6 -3
- package/src/components/capacity/CapacityOverview.tsx +14 -7
- package/src/components/capacity/CapacityPoolDetail.tsx +7 -5
- package/src/components/capacity/ClusterSchedulingCard.tsx +3 -3
- package/src/components/capacity/shared.tsx +9 -5
- package/src/components/cnpg/CNPGOverview.tsx +4 -1
- package/src/components/cnpg/actions/useCNPGWriteGuard.tsx +1 -0
- package/src/components/diagnose/ApplyDialog.test.tsx +10 -0
- package/src/components/diagnose/ApplyDialog.tsx +8 -1
- package/src/components/diagnose/AssessmentCard.tsx +60 -0
- package/src/components/diagnose/DiagnoseSurface.tsx +5 -0
- package/src/components/diagnose/InvestigationEvidencePane.test.tsx +62 -2
- package/src/components/diagnose/InvestigationEvidenceSections.tsx +6 -5
- package/src/components/diagnose/InvestigationView.tsx +47 -13
- package/src/components/diagnose/assessmentCopy.ts +11 -0
- package/src/components/diagnose/investigationEvidence/adapters/changes.ts +36 -1
- package/src/components/diagnose/investigationEvidence/adapters/crossplane.test.tsx +85 -0
- package/src/components/diagnose/investigationEvidence/adapters/issues.ts +1 -0
- package/src/components/diagnose/investigationEvidence/adapters/prometheus.test.ts +2 -1
- package/src/components/diagnose/investigationEvidence/adapters/prometheus.ts +2 -1
- package/src/components/diagnose/investigationEvidence/adapters/testdata/crossplane-paused-get-resource.json +28 -0
- package/src/components/diagnose/investigationEvidence/bodies/index.tsx +2 -0
- package/src/components/diagnose/investigationEvidence/bodies/workload.tsx +5 -1
- package/src/components/diagnose/investigationEvidence/builder.ts +3 -1
- package/src/components/diagnose/investigationEvidence/cardParts.tsx +7 -2
- package/src/components/diagnose/investigationEvidence/identity.test.ts +1 -1
- package/src/components/diagnose/investigationEvidence/observations.ts +7 -3
- package/src/components/diagnose/investigationEvidence/projection.test.ts +57 -3
- package/src/components/diagnose/investigationEvidencePresentation.test.ts +36 -2
- package/src/components/diagnose/investigationEvidencePresentation.ts +33 -8
- package/src/components/diagnose/storyParts.test.tsx +53 -0
- package/src/components/helm/ChartBrowser.tsx +4 -4
- package/src/components/helm/HelmReleaseDrawer.tsx +6 -2
- package/src/components/helm/HelmView.tsx +34 -23
- package/src/components/helm/InstallWizard.tsx +6 -2
- package/src/components/helm/ValuesViewer.test.tsx +1 -0
- package/src/components/helm/ValuesViewer.tsx +4 -2
- package/src/components/home/ClusterHealthCard.tsx +28 -21
- package/src/components/home/MCPSetupDialog.test.tsx +27 -2
- package/src/components/home/MCPSetupDialog.tsx +14 -2
- package/src/components/home/mcpToolCatalog.ts +29 -2
- package/src/components/issues/IssuesPane.render.test.tsx +5 -5
- package/src/components/nav/PrimaryNavRail.tsx +34 -2
- package/src/components/product-hunt/ProductHuntNotice.render.test.tsx +120 -0
- package/src/components/product-hunt/ProductHuntNotice.test.ts +121 -0
- package/src/components/product-hunt/ProductHuntNotice.tsx +202 -0
- package/src/components/product-hunt/launchWindow.ts +78 -0
- package/src/components/product-hunt/useProductHuntRailEntry.test.tsx +76 -0
- package/src/components/product-hunt/useProductHuntRailEntry.ts +27 -0
- package/src/components/resources/CompositeRenderer.tsx +4 -0
- package/src/components/resources/ResourcesView.tsx +1 -1
- package/src/components/settings/LocalConnectionSettings.tsx +1 -0
- package/src/components/ui/RadarOmnibar.test.tsx +18 -0
- package/src/components/ui/RadarOmnibar.tsx +1 -0
- package/src/components/ui/SearchSyntaxHelp.test.tsx +39 -0
- package/src/components/ui/SearchSyntaxHelp.tsx +23 -2
- package/src/components/ui/UpdateNotification.test.tsx +2 -0
- package/src/components/ui/UpdateNotification.tsx +32 -5
- package/src/components/usage-data/UsageDataPrompt.tsx +19 -1
- package/src/components/workload/WorkloadView.tsx +10 -4
- package/src/components/workspace/layout.tsx +2 -1
- package/src/contexts/CapabilitiesContext.tsx +1 -0
- package/src/hooks/useGitOpsWriteGuard.test.tsx +126 -2
- package/src/hooks/useGitOpsWriteGuard.ts +25 -3
- package/src/hooks/useResolvedGitOpsOwner.ts +14 -9
- package/src/index.css +85 -0
package/src/index.css
CHANGED
|
@@ -419,6 +419,91 @@ body {
|
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
421
|
|
|
422
|
+
/* Product Hunt launch card: a green light travels around the border and spills
|
|
423
|
+
a soft glow outward, brightening and fading on a cycle longer than the lap so
|
|
424
|
+
the brightest point lands somewhere new each time; the rocket drifts gently
|
|
425
|
+
while the card is open. --launch-angle is registered so the conic gradient
|
|
426
|
+
itself rotates; browsers without @property show the light standing still. */
|
|
427
|
+
@property --launch-angle {
|
|
428
|
+
syntax: "<angle>";
|
|
429
|
+
initial-value: 0deg;
|
|
430
|
+
inherits: false;
|
|
431
|
+
}
|
|
432
|
+
@keyframes launch-border-spin {
|
|
433
|
+
to {
|
|
434
|
+
--launch-angle: 360deg;
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
@keyframes launch-border-fade {
|
|
438
|
+
0%,
|
|
439
|
+
100% {
|
|
440
|
+
opacity: 0.15;
|
|
441
|
+
}
|
|
442
|
+
50% {
|
|
443
|
+
opacity: 1;
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
.launch-border {
|
|
447
|
+
/* A deeper green on light surfaces, where the paler one washes out. */
|
|
448
|
+
--launch-glow: 5, 150, 105;
|
|
449
|
+
}
|
|
450
|
+
.dark .launch-border {
|
|
451
|
+
--launch-glow: 52, 211, 153;
|
|
452
|
+
}
|
|
453
|
+
.launch-border::before,
|
|
454
|
+
.launch-border::after {
|
|
455
|
+
content: "";
|
|
456
|
+
position: absolute;
|
|
457
|
+
pointer-events: none;
|
|
458
|
+
border-radius: inherit;
|
|
459
|
+
background: conic-gradient(
|
|
460
|
+
from var(--launch-angle),
|
|
461
|
+
transparent 0deg,
|
|
462
|
+
rgba(var(--launch-glow), 0) 30deg,
|
|
463
|
+
rgba(var(--launch-glow), 0.95) 80deg,
|
|
464
|
+
rgba(var(--launch-glow), 0) 130deg,
|
|
465
|
+
transparent 360deg
|
|
466
|
+
);
|
|
467
|
+
animation:
|
|
468
|
+
launch-border-spin 5s linear infinite,
|
|
469
|
+
launch-border-fade 6.85s ease-in-out infinite;
|
|
470
|
+
}
|
|
471
|
+
/* The ring: the gradient masked down to a 1.5px border on top of the card. */
|
|
472
|
+
.launch-border::before {
|
|
473
|
+
inset: -1px;
|
|
474
|
+
padding: 1.5px;
|
|
475
|
+
z-index: 1;
|
|
476
|
+
-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
|
|
477
|
+
-webkit-mask-composite: xor;
|
|
478
|
+
mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
|
|
479
|
+
mask-composite: exclude;
|
|
480
|
+
}
|
|
481
|
+
/* The glow: the same gradient blurred behind the card, so light spills outward. */
|
|
482
|
+
.launch-border::after {
|
|
483
|
+
inset: -4px;
|
|
484
|
+
z-index: -1;
|
|
485
|
+
filter: blur(12px);
|
|
486
|
+
}
|
|
487
|
+
@keyframes launch-rocket {
|
|
488
|
+
0%,
|
|
489
|
+
100% {
|
|
490
|
+
transform: translate(0, 0) rotate(0deg);
|
|
491
|
+
}
|
|
492
|
+
50% {
|
|
493
|
+
transform: translate(1.5px, -2.5px) rotate(-6deg);
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
.animate-launch-rocket {
|
|
497
|
+
animation: launch-rocket 3s ease-in-out infinite;
|
|
498
|
+
}
|
|
499
|
+
@media (prefers-reduced-motion: reduce) {
|
|
500
|
+
.launch-border::before,
|
|
501
|
+
.launch-border::after,
|
|
502
|
+
.animate-launch-rocket {
|
|
503
|
+
animation: none;
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
|
|
422
507
|
/* Gentle colorize when syntax-highlighted code swaps in over plain text — opacity
|
|
423
508
|
only (no transform → no layout shift) and floored at 0.5 so it never blanks. */
|
|
424
509
|
@keyframes code-colorize {
|