Skip to content

Fix dashboard credentials view stuck on "Loading credentials…"#104

Merged
gmpassos merged 1 commit into
masterfrom
fix/dashboard-credentials-loading-status
Jul 2, 2026
Merged

Fix dashboard credentials view stuck on "Loading credentials…"#104
gmpassos merged 1 commit into
masterfrom
fix/dashboard-credentials-loading-status

Conversation

@gmpassos

@gmpassos gmpassos commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes a bug where opening a node's git-credential view in the dashboard TUI left the status stuck on “Loading credentials…” forever when the node had no credentials registered (and, more generally, on any successful background load).

The background load cleared its status only on the error path; a successful load — including an empty list — never cleared the transient message, and since the load completes without a keypress, nothing else cleared it either. Now the success path clears the status, so the view shows the credentials (or the empty-state hint) with no lingering loading message.

Test plan

  • dart analyze + dart format --set-exit-if-changed . — clean.
  • New dashboard test: an empty credential list shows the empty-state hint and no longer shows a loading status.
  • Full suite green (666 unit + integration). Patch release 1.52.1.

🤖 Generated with Claude Code

The background credential load cleared its status message only on error. A
successful load — including an empty list (node has no credentials registered) —
left the transient "Loading credentials…" message lingering until the next
keypress, so the view looked stuck. Clear the status on the success path too.

Test: dashboard asserts an empty list shows the empty-state hint and no longer
shows a loading status.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@gmpassos gmpassos merged commit 1624cf8 into master Jul 2, 2026
5 checks passed
@gmpassos gmpassos deleted the fix/dashboard-credentials-loading-status branch July 2, 2026 03:41
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