diff --git a/CHANGELOG.md b/CHANGELOG.md index fe99dd7..30ec8ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ All notable changes to this project will be documented in this file. - Fixed popup preview authentication for background thumbnail capture. - Fixed thumbnails so they use the same popup-preview canvas and resolve API/RSS placeholders, fonts, styles, and cached images correctly. +- Fixed manual scheduled-task run notifications so they use task-neutral wording. ## 2.8.3 - 2026-08-17 diff --git a/src/web/public/js/settings/background-tasks.js b/src/web/public/js/settings/background-tasks.js index 55d87e9..f37eeb2 100644 --- a/src/web/public/js/settings/background-tasks.js +++ b/src/web/public/js/settings/background-tasks.js @@ -1,5 +1,6 @@ (function () { - if (window.location.pathname.replace(/\/$/, '') !== '/settings/tasks-background' && window.location.pathname.replace(/\/$/, '') !== '/settings/tasks-scheduled') { + var normalizedPathname = window.location.pathname.replace(/\/$/, ''); + if (normalizedPathname !== '/settings/tasks-background' && normalizedPathname !== '/settings/tasks-scheduled') { return; } diff --git a/src/web/routes/settings/background-tasks.js b/src/web/routes/settings/background-tasks.js index 49c6441..90f630d 100644 --- a/src/web/routes/settings/background-tasks.js +++ b/src/web/routes/settings/background-tasks.js @@ -138,7 +138,7 @@ module.exports = function registerSettingsRoutes(app, deps) { app.post('/settings/tasks-scheduled/recurring/:key/run', requireRecurringTaskAccess, async function (req, res, next) { try { const ran = await backgroundTaskQueue.runRecurringTask(String(req.params.key || '').trim()); - res.redirect('/settings/tasks-scheduled?message=' + encodeURIComponent(ran ? 'Scheduled refresh run queued.' : 'Unable to run that scheduled refresh.')); + res.redirect('/settings/tasks-scheduled?message=' + encodeURIComponent(ran ? 'Task run queued.' : 'Unable to run that task.')); } catch (error) { next(error); }