Commit 31aeece
committed
fix(osd): show "No update is currently available" instead of a perpetual "Checking for updates…"
The Updates tab's idle status was "Checking for updates…", which never resolves: the update model
only tracks positive availability (UpdateState has no "check completed" signal), so on a device
already on the latest version it sat on "Checking…" indefinitely, implying a check that never
finishes. Show a resolved "No update is currently available." instead — the wording the design
already specifies (osd-menu-plan.md §5, "deliberately not a claim that a remote check established
'latest'").
- updateprompt.cpp: kCheckingStatus -> kNoUpdateStatus (both idle call sites).
- updateprompt.hpp: hidden_status_ defaults empty so it falls through to the single kNoUpdateStatus
source rather than duplicating the literal; ignored/requested states still set their own text.
- main.cpp: the notify-mode startup seed matches, so the seed and first live tick agree (no flicker).
A newer release still shows what's new and the Update-now/Ignore actions, unchanged. Launcher builds
clean, 21 unit tests pass, clang-format-18 clean; independently code-reviewed.1 parent 51d2902 commit 31aeece
4 files changed
Lines changed: 14 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
11 | 17 | | |
12 | 18 | | |
13 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
387 | | - | |
| 387 | + | |
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
| |||
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
401 | | - | |
| 401 | + | |
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
0 commit comments