Commit 28a3a96
Dashboard: hide [F] immediately after press and after fix confirmed (win.20)
The [F] Fix IPFS key was sticking around in the help bar after the
user pressed it, because the hide condition only checked
"IPFS is already announcing directly". Between pressing F and the
next poll confirming the fix, the key remained visible and could be
pressed again uselessly.
Tighten the showFixKey condition to also hide it when
_ipfsAnnounceFixApplied is true. So [F] disappears:
- Immediately after press (fix in flight / awaiting IPFS restart)
- Permanently once the direct address is seen in /id
- Any time the fixable condition isn't currently present
The hint line above the separator still communicates what's happening
("Waiting for IPFS Desktop restart..."), so the user knows the action
is in progress even though the hotkey is gone.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 6525900 commit 28a3a96
2 files changed
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
525 | | - | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
526 | 531 | | |
527 | 532 | | |
528 | 533 | | |
529 | | - | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
530 | 538 | | |
531 | 539 | | |
532 | 540 | | |
| |||
0 commit comments