tftsr-devops_investigation/src
Shaun Arman fb55601e3b
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
fix(kube): correct kubectl context, dialog close, icon visibility, cluster name
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.
2026-06-07 18:58:16 -05:00
..
components fix(kube): correct kubectl context, dialog close, icon visibility, cluster name 2026-06-07 18:58:16 -05:00
lib fix(classifier): fix 3 safety bugs, extract const arrays, make tier UI dynamic 2026-06-07 18:15:42 -05:00
pages fix(kube): correct kubectl context, dialog close, icon visibility, cluster name 2026-06-07 18:58:16 -05:00
stores fix(kubernetes): sync active kubeconfig to store's selectedClusterId 2026-06-07 12:29:39 -05:00
styles fix: dropdown text invisible on macOS + correct codesign order for DMG 2026-03-30 16:43:00 -05:00
App.tsx fix(kube): resolve automated PR review blockers and warnings 2026-06-06 23:55:44 -05:00
main.tsx feat: initial implementation of TFTSR IT Triage & RCA application 2026-03-14 22:36:25 -05:00
vite-env.d.ts docs: update documentation for Kubernetes Management UI 2026-06-07 11:09:22 -05:00