fix(webui/updater): correct misleading improvements empty-state copy
'Checking for improvements… this usually takes a minute.' implied an active scan finishing imminently. The scan is periodic and runs in the background (CFG_UPDATER_SCAN_INTERVAL, default 30m), so reword to reflect that. Kept the cadence generic since the interval is admin-configurable and not exposed here. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: librelad <librelad@digitalangels.vip>
This commit is contained in:
parent
ce8170c6ad
commit
cc026d4d68
@ -345,7 +345,7 @@ class UpdaterPage {
|
|||||||
// No inline Check button on the empty state: the host auto-scan repopulates
|
// No inline Check button on the empty state: the host auto-scan repopulates
|
||||||
// this within a couple of minutes (and the embedding header already carries
|
// this within a couple of minutes (and the embedding header already carries
|
||||||
// a manual Check), so the message alone is the right, button-free empty UI.
|
// a manual Check), so the message alone is the right, button-free empty UI.
|
||||||
if (!this.artifacts) return this.empty('Checking for improvements… this usually takes a minute.');
|
if (!this.artifacts) return this.empty('Nothing here yet — LibrePortal checks for improvements automatically in the background.');
|
||||||
const list = Array.isArray(this.artifacts.artifacts) ? this.artifacts.artifacts : [];
|
const list = Array.isArray(this.artifacts.artifacts) ? this.artifacts.artifacts : [];
|
||||||
const signed = !!this.artifacts.signed;
|
const signed = !!this.artifacts.signed;
|
||||||
if (!list.length) return this.empty('No improvements available right now — you are all caught up. 🎉');
|
if (!list.length) return this.empty('No improvements available right now — you are all caught up. 🎉');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user