@skyhook-io/radar-app 1.23.0 → 1.23.1
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 +14 -3
- package/src/api/client.ts +29 -3
- package/src/api/client.updateResource.secretExpiry.test.tsx +47 -0
- package/src/api/poll.ts +78 -0
- package/src/api/radarFeatures.ts +3 -0
- package/src/components/CloudFunnelButton.tsx +1 -0
- package/src/components/helm/HelmDrawerRouting.test.tsx +34 -1
- package/src/components/helm/HelmReleaseDrawer.tsx +6 -4
- package/src/components/helm/HelmView.tsx +4 -3
- package/src/components/helm/ObservedHelmNotice.tsx +39 -17
- package/src/components/helm/ObservedHelmRelease.test.tsx +62 -3
- package/src/components/helm/ObservedHelmReleaseDrawer.test.tsx +18 -0
- package/src/components/helm/ObservedHelmReleaseDrawer.tsx +4 -2
- package/src/components/issues/uncheckedSources.test.ts +8 -0
- package/src/components/issues/uncheckedSources.ts +3 -0
- package/src/components/nudges/activeNudges.test.ts +39 -0
- package/src/components/nudges/activeNudges.ts +76 -0
- package/src/components/poll/OssPoll.tsx +871 -0
- package/src/components/poll/mount.test.ts +12 -0
- package/src/components/poll/pollCloud.test.ts +23 -0
- package/src/components/poll/pollCloud.ts +6 -0
- package/src/components/poll/pollDefinition.ts +93 -0
- package/src/components/poll/pollFlow.test.ts +140 -0
- package/src/components/poll/pollFlow.ts +137 -0
- package/src/components/poll/pollSender.test.ts +137 -0
- package/src/components/poll/pollSender.ts +76 -0
- package/src/components/poll/pollStorage.test.ts +53 -0
- package/src/components/poll/pollStorage.ts +77 -0
- package/src/components/poll/round.json +350 -0
- package/src/components/product-hunt/ProductHuntNotice.tsx +2 -0
- package/src/components/resources/ImageFilesystemModal.test.tsx +21 -1
- package/src/components/resources/ImageFilesystemModal.tsx +42 -3
- package/src/components/resources/ResourcesView.tsx +22 -5
- package/src/components/ui/UpdateNotification.tsx +2 -0
- package/src/components/usage-data/UsageDataPrompt.tsx +2 -0
- package/src/components/whats-new/WhatsNew.tsx +2 -0
- package/src/components/whats-new/releaseNotes.ts +75 -1
|
@@ -18,6 +18,7 @@ import { useAnimatedUnmount } from '../../hooks/useAnimatedUnmount'
|
|
|
18
18
|
import { IN_CLUSTER_UPGRADE_URL } from '../../utils/version'
|
|
19
19
|
import { LAUNCH_NOTICE_DISMISSED_EVENT, launchNoticeHoldsCorner, launchPhase, resolveLaunch } from '../product-hunt/launchWindow'
|
|
20
20
|
import { USAGE_PROMPT_VISIBILITY_EVENT, usagePromptOnScreen } from '../usage-data/UsageDataPrompt'
|
|
21
|
+
import { useNudgeVisible } from '../nudges/activeNudges'
|
|
21
22
|
|
|
22
23
|
const DISMISSED_KEY = 'radar-update-dismissed'
|
|
23
24
|
|
|
@@ -194,6 +195,7 @@ export function UpdateNotification({ placement = 'floating' }: { placement?: 'fl
|
|
|
194
195
|
const show = available && deploymentMode !== 'in-cluster' && (inSettings ? expanded : !dismissed && !launchHoldsCorner && !usagePromptShowing)
|
|
195
196
|
// Presence outlives `show` by the menu exit so a dismiss fades the chip out
|
|
196
197
|
// instead of snapping it away; the enter runs the same transition in reverse.
|
|
198
|
+
useNudgeVisible('update-notice', show)
|
|
197
199
|
const { shouldRender, isOpen } = useAnimatedUnmount(show, overlayExitMs('menu'))
|
|
198
200
|
if ((!inSettings && !shouldRender) || (inSettings && !available) || !versionInfo) {
|
|
199
201
|
return null
|
|
@@ -8,6 +8,7 @@ import { launchNoticeHoldsCorner, resolveLaunch } from '../product-hunt/launchWi
|
|
|
8
8
|
import { UsageDataAnswered, UsageDataBlurb } from './UsageDataAsk'
|
|
9
9
|
import { useAnimatedUnmount } from '../../hooks/useAnimatedUnmount'
|
|
10
10
|
import { TRANSITION_MENU, overlayExitMs, overlayTransitionStyle } from '../../utils/animation'
|
|
11
|
+
import { useNudgeVisible } from '../nudges/activeNudges'
|
|
11
12
|
|
|
12
13
|
// Long enough that the first thing a new user sees is their cluster, not a
|
|
13
14
|
// question about it.
|
|
@@ -90,6 +91,7 @@ export function UsageDataPrompt({ status }: { status: UsageDataStatus | undefine
|
|
|
90
91
|
}, [answer])
|
|
91
92
|
|
|
92
93
|
const show = latched && !dismissed && cardStillAsking(status, answer)
|
|
94
|
+
useNudgeVisible('usage-prompt', show)
|
|
93
95
|
useEffect(() => {
|
|
94
96
|
if (!show) return
|
|
95
97
|
promptOnScreen = true
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
} from './releaseNotes'
|
|
24
24
|
import type { UsageDataStatus } from '../../api/usage-data'
|
|
25
25
|
import { UsageDataAsk } from '../usage-data/UsageDataAsk'
|
|
26
|
+
import { useNudgeVisible } from '../nudges/activeNudges'
|
|
26
27
|
|
|
27
28
|
const LAST_SEEN_KEY = 'radar-whats-new-seen'
|
|
28
29
|
const PREVIEW_PARAM = 'whats-new'
|
|
@@ -162,6 +163,7 @@ export function WhatsNew({ onNavigate, usageData }: WhatsNewProps) {
|
|
|
162
163
|
const decidedRef = useRef(false)
|
|
163
164
|
const { pathname } = useLocation()
|
|
164
165
|
const titleId = useId()
|
|
166
|
+
useNudgeVisible('whats-new', open)
|
|
165
167
|
|
|
166
168
|
const currentVersion = state?.currentVersion
|
|
167
169
|
const previewParam = searchParams.get(PREVIEW_PARAM)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LucideIcon } from 'lucide-react'
|
|
2
|
-
import { Activity, BellOff, Bot, Boxes, Braces, Bug, ChartLine, Database, Download, GitBranch, GitCompareArrows, HardDrive, History, Hourglass, Layers, MessageCircleQuestionMark, Network, RefreshCcw, Scale, ScanSearch, ScrollText, Search, ShieldAlert, SlidersHorizontal, Undo2, Zap } from 'lucide-react'
|
|
2
|
+
import { Activity, BellOff, Bot, Boxes, Braces, Bug, ChartLine, Database, Download, GitBranch, GitCommitHorizontal, GitCompareArrows, HardDrive, History, Hourglass, Layers, Link2, MessageCircleQuestionMark, Network, RefreshCcw, Scale, ScanSearch, ScrollText, Search, ShieldAlert, SlidersHorizontal, Undo2, Zap } from 'lucide-react'
|
|
3
3
|
import { compareVersions } from '../../utils/version'
|
|
4
4
|
|
|
5
5
|
export interface ReleaseHighlight {
|
|
@@ -48,6 +48,80 @@ export const CHANGELOG_URL = 'https://radarhq.io/changelog'
|
|
|
48
48
|
// major release must have its own entry: scripts/check-whats-new.sh refuses to
|
|
49
49
|
// release one without it.
|
|
50
50
|
export const RELEASE_NOTES: ReleaseNotes[] = [
|
|
51
|
+
{
|
|
52
|
+
version: 'v1.23.0',
|
|
53
|
+
highlights: [
|
|
54
|
+
{
|
|
55
|
+
id: 'running-code',
|
|
56
|
+
icon: GitCommitHorizontal,
|
|
57
|
+
title: 'See which commit each workload runs',
|
|
58
|
+
description: 'Workloads name the commit each image runs and how Radar knows. Applications compare commits across environments; Deploys mark code changes.',
|
|
59
|
+
leadDescription: "A new Source section names the repository and commit each container runs when its image records them, says how Radar knows, and shows the revision Argo CD or Flux last deployed beside it. Applications compare running commits across environments, Deploys and Timeline mark code changes and, when Radar can tell, which client set the image, and MCP agents can read the same evidence. When an image doesn't record its commit, Radar says so and shows how to add it.",
|
|
60
|
+
importance: 8,
|
|
61
|
+
path: '/applications',
|
|
62
|
+
cta: 'Open Applications',
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
id: 'agent-runtime-workspaces',
|
|
66
|
+
icon: Bot,
|
|
67
|
+
title: 'Workspaces for kagent, Agent Sandbox and Agent Substrate',
|
|
68
|
+
description: "See which kagent Agents can't start and why, which Sandboxes and claims are broken, and, with Substrate API access, where each actor runs.",
|
|
69
|
+
importance: 7,
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
id: 'vulnerability-pod-risk',
|
|
73
|
+
icon: ShieldAlert,
|
|
74
|
+
title: 'Prioritize CVEs by Pod risk',
|
|
75
|
+
description: 'Filter Vulnerabilities by Pod risk, such as privileged or running as root, or by OS end of life, and see who owns affected workloads.',
|
|
76
|
+
importance: 7,
|
|
77
|
+
path: '/checks/vulnerabilities',
|
|
78
|
+
cta: 'Open Vulnerabilities',
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
id: 'issues-new-and-grouped',
|
|
82
|
+
icon: Activity,
|
|
83
|
+
title: 'New issues marked, repeat issues grouped',
|
|
84
|
+
description: 'Issues marks what started since your last visit. A missing node label blocking many workloads, or a Job created on every run, is one issue.',
|
|
85
|
+
importance: 6,
|
|
86
|
+
path: '/issues',
|
|
87
|
+
cta: 'Open Issues',
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
id: 'calico-live-traffic',
|
|
91
|
+
icon: Network,
|
|
92
|
+
title: 'Calico in Live Traffic',
|
|
93
|
+
description: 'With Calico 3.30+ and Goldmane running, Live Traffic shows bytes each way, the Service used, and the policy that denied a connection.',
|
|
94
|
+
importance: 6,
|
|
95
|
+
path: '/traffic',
|
|
96
|
+
cta: 'Open Live Traffic',
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
id: 'reviewed-actions-evict',
|
|
100
|
+
icon: ScanSearch,
|
|
101
|
+
title: 'Know what manages a workload before you change it, and evict Pods',
|
|
102
|
+
description: 'Scale names the HPA or KEDA object in charge; restart, rollback and CronJob changes name Argo CD or Flux. Pods get Evict, through the eviction API.',
|
|
103
|
+
importance: 6,
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
id: 'custom-relationship-rules',
|
|
107
|
+
icon: Link2,
|
|
108
|
+
title: 'Link your own CRDs with relationship rules',
|
|
109
|
+
description: 'Say which field of your CRD names another object, and Radar shows the link in Related Resources, Topology and MCP.',
|
|
110
|
+
importance: 6,
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
improvements: [
|
|
114
|
+
// The grid fills row by row: pair lines of similar length.
|
|
115
|
+
'MCP: get_cluster_overview replaces get_dashboard and reads its problems from Issues',
|
|
116
|
+
'Codex can apply a confirmed Diagnose fix, and AI answers no longer load remote images',
|
|
117
|
+
'Topology routes edges around cards with readable labels, and shows ReplicaSets that nothing owns',
|
|
118
|
+
'Radar says when the API server stops answering, and ends logs and terminals whose connection closed',
|
|
119
|
+
'NetworkPolicy drawers show one card per rule; Reachability names the policy that refused its probe Pod',
|
|
120
|
+
'Fewer false alarms for CoreDNS rewrite and template rules and for Pod volumes no container mounts',
|
|
121
|
+
'Copy a link to any resource or open issue from its header',
|
|
122
|
+
'Caretta Live Traffic shows bytes for the selected time range',
|
|
123
|
+
],
|
|
124
|
+
},
|
|
51
125
|
{
|
|
52
126
|
version: 'v1.22.0',
|
|
53
127
|
highlights: [
|