Skip to content

fix(connecting): drop redundant 'Loading…' under 'Connecting to cluster'#551

Merged
nadaverell merged 1 commit intomainfrom
fix/connecting-redundant-loading
Apr 27, 2026
Merged

fix(connecting): drop redundant 'Loading…' under 'Connecting to cluster'#551
nadaverell merged 1 commit intomainfrom
fix/connecting-redundant-loading

Conversation

@nadaverell
Copy link
Copy Markdown
Contributor

@nadaverell nadaverell commented Apr 27, 2026

When connection.context is empty (e.g. embedded in radar-hub-web, which doesn't pass a kubeconfig context name), the secondary line fell back to 'Loading…' — which paired with 'Connecting to cluster' above just repeated the same information.

Hide the secondary line when context is empty. In OSS Radar with a kubeconfig context, it still shows the context name as before.


Note

Low Risk
Low risk UI-only change that affects the connecting screen copy; no data flow or state management logic is modified.

Overview
Removes the redundant Loading… fallback in the connecting screen.

App.tsx now only renders the secondary line under Connecting to cluster when connection.context is present, avoiding an extra placeholder line when no context name is provided (e.g., embedded mode).

Reviewed by Cursor Bugbot for commit 2da5f4e. Bugbot is set up for automated code reviews on this repo. Configure here.

When connection.context is empty (e.g. hub-web embedding, no
kubeconfig context name), the secondary line fell back to 'Loading…'
which paired with 'Connecting to cluster' above it just repeated the
same information twice. Hide the secondary line when context is
empty; in OSS Radar with a kubeconfig context, it still shows the
cluster name.
@nadaverell nadaverell requested a review from hisco as a code owner April 27, 2026 23:05
@nadaverell nadaverell merged commit cf83904 into main Apr 27, 2026
7 checks passed
@nadaverell nadaverell deleted the fix/connecting-redundant-loading branch April 27, 2026 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant