mxLore icon indicating copy to clipboard operation
mxLore copied to clipboard

Fehlendes Feedback bei "Check for Update"

Open sakura1977 opened this issue 7 months ago • 1 comments

Wenn man in der Admin-UI in Settings auf "Check for Update" geht, ist ein kurzes Feedback nötig, auch wenn kein Update vorliegt. Ansonsten ist es ungewiss, ob der Check funktioniert hat. Derzeit, wenn man nochmal draufklickt, wird lediglich die Information angezeigt, dass der nächste Check erst in 60 Sekunden möglich ist.

Ein kurzer Hinweis: Es liegen keine Updates vor, Sie nutzen die aktuellste Version.

sakura1977 avatar Apr 15 '26 09:04 sakura1977

Thanks for the report — you're right, the button gave no confirmation when no update was available.

Root cause: admin/www/js/self-update.js treated state=idle the same way for both the automatic page-load check and an explicit user click, silently hiding the banner in both cases. The 60-second cooldown message on the second click was the only indirect confirmation that the first check had actually run.

Fix (coded + tested locally): The handler now distinguishes between the two triggers. Pressing "Check for Update" with no update available now shows a green banner:

No updates available — running the latest version (Build N).

It auto-hides after 10 seconds or can be dismissed manually. The automatic page-load check stays silent as before (no noise).

Three small patches in self-update.js: new renderUpToDate() render function, handleStatusResponse(data, fromRecheck) gets a new parameter, checkStatus(force) propagates the flag. Frontend-only — no server rebuild needed, a browser hard-reload picks it up. Will ship in the next build.


Kurz auf Deutsch: Fix ist geschrieben und lokal getestet. Beim expliziten Klick auf "Check for Update" erscheint jetzt ein grüner Hinweis "No updates available — running the latest version (Build N).", der nach 10 Sekunden automatisch verschwindet. Kommt im nächsten Build.

MicrotronX avatar Apr 15 '26 09:04 MicrotronX