|
Some checks failed
Test / rust-tests (pull_request) Successful in 14m38s
PR Review Automation / review (pull_request) Has been cancelled
Test / frontend-tests (pull_request) Successful in 1m50s
Test / frontend-typecheck (pull_request) Successful in 1m56s
Test / rust-fmt-check (pull_request) Successful in 11m10s
Test / rust-clippy (pull_request) Successful in 12m54s
1. kubectl credentials error (41 places in kube.rs)
Every kubectl invocation used .env("KUBERNETES_CONTEXT", context) which
is not a real kubectl environment variable — kubectl silently ignores it
and falls back to whatever current-context is set in the kubeconfig YAML.
If that context has expired or wrong credentials the auth failure occurs.
Replaced all 41 instances with .arg("--context").arg(context) so kubectl
always uses the correct context from the stored kubeconfig.
2. Cluster name still showed UUID (two causes)
a) Hotbar read from kubernetesStore.clusters (ClusterInfo[]) which is never
populated by the kubeconfig-based flow — always empty, so selectedCluster
was always undefined. Removed the Zustand cluster lookup from Hotbar and
added a clusterName prop passed from KubernetesPage.tsx (selectedConfig?.name).
b) ClusterOverview fell back to showing raw clusterId UUID when clusterName
was undefined. Changed subtitle to render conditionally so UUID never shows.
3. Bell dialog had no way to close
Custom DialogContent had no X button and no backdrop-click handler.
Added X close button (top-right) and backdrop-click-to-close.
4. Hotbar icons invisible in dark mode
variant="ghost" only styles hover state with no baseline text color.
Added className="text-foreground" to all icon-only ghost buttons.
|
||
|---|---|---|
| .. | ||
| aiProvidersCustomRest.test.ts | ||
| aiProvidersOllamaDropdown.test.tsx | ||
| attachmentStore.test.ts | ||
| auditLog.test.tsx | ||
| autoTagWorkflowTrigger.test.ts.disabled | ||
| ciDockerBuilders.test.ts.disabled | ||
| ClusterDetails.test.tsx | ||
| ClusterOverview.test.tsx | ||
| CommandPalette.test.tsx | ||
| ConfigMapDetail.test.tsx | ||
| CreateResourceModal.test.tsx | ||
| dashboard.test.tsx | ||
| DeploymentDetail.test.tsx | ||
| detectToolCalling.test.ts | ||
| docEditor.test.tsx | ||
| domainPrompts.test.ts | ||
| EditResourceModal.test.tsx | ||
| exportDocument.test.ts | ||
| history.test.tsx | ||
| historyStore.test.ts | ||
| Hotbar.test.tsx | ||
| issueActions.test.ts | ||
| kubernetesCommands.test.ts | ||
| KubernetesPage.test.tsx | ||
| kubernetesStore.test.ts | ||
| MetricsChart.test.tsx | ||
| NewResourceTypes.test.tsx | ||
| pii.test.ts | ||
| PodDetail.test.tsx | ||
| RbacViewer.test.tsx | ||
| releaseWorkflowCrossPlatformArtifacts.test.ts.disabled | ||
| releaseWorkflowMacBundle.test.ts.disabled | ||
| resolution.test.tsx | ||
| SecretDetail.test.tsx | ||
| selectDropdownViewport.test.tsx | ||
| sessionStore.test.ts | ||
| settingsStore.test.ts | ||
| setup.ts | ||
| shellCommands.test.ts | ||
| Terminal.test.tsx | ||
| timelineEvents.test.ts | ||
| YamlEditor.test.tsx | ||