Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

fix(notifications): report switch only for scheduled runs, shared permission, clearer text

Bugfixer 281f2821c02e9
diff --git a/server/automation-reports.test.ts b/server/automation-reports.test.ts
index dd9f1e8289..14dfd6fc91 100644
--- a/server/automation-reports.test.ts
+++ b/server/automation-reports.test.ts
@@ -86,6 +86,7 @@ function fixture(options: { threadLanguage?: (threadId: string) => string | unde
const runs = new Map<string, RoutineRun>();
const busy = new Set<string>();
const notified: Array<{ kind: string; threadId: string; detail: string }> = [];
+ const notifiedRuns: string[] = [];
const wrote: string[] = [];
const routines = {
listRuns: () => [...runs.values()].map((run) => ({ ...run })).reverse(),
@@ -105,7 +106,7 @@ function fixture(options: { threadLanguage?: (threadId: string) => string | unde
const create = () => createAutomationReports({
store, routines: () => manager, busy: (_botId, threadId) => busy.has(threadId),
wrote: (_bot: BotRecord, threadId) => wrote.push(threadId),
- notify: (kind, _bot, threadId, detail) => notified.push({ kind, threadId, detail }),
+ notify: (kind, _bot, threadId, detail, run) => { notified.push({ kind, threadId, detail }); notifiedRuns.push(run.id); },
...(options.threadLanguage ? { threadLanguage: options.threadLanguage } : {}),
...(options.notes ? { notes: { has: (runId: string) => options.notes!.has(runId), take: (runId: string) => { const note = options.notes!.get(runId) ?? null; options.notes!.delete(runId); return note; } } } : {}),
});
@@ -129,7 +130,7 @@ function fixture(options: { threadLanguage?: (threadId: string) => string | unde
/** Everything written into the chat since the bot said hello. */
const added = () => store.messagesFor(main).filter((message) => !greeting.has(message.id));
return {
- store, bot, main, runs, busy, notified, wrote, reports, finished, lines, added, create,
+ store, bot, main, runs, busy, notified, notifiedRuns, wrote, reports, finished, lines, added, create,
offline: () => { manager = null; },
online: () => { manager = routines; },
};
@@ -153,6 +154,7 @@ describe("automation reports", () => {
expect(f.runs.get(run.id)!.report).toEqual({ state: "posted", threadId: f.main, messageId: f.lines()[0]!.id });
expect(f.wrote).toEqual([f.main]);
expect(f.notified).toEqual([{ kind: "done", threadId: f.main, detail: "Inbox brief: Acme replied about the order." }]);
+ expect(f.notifiedRuns, "the notice knows which run it reports on").toEqual([run.id]);
expect(f.store.messagesFor(f.main).some((message) => message.kind === "routine.run")).toBe(false);
});
diff --git a/server/automation-reports.ts b/server/automation-reports.ts
index 2162e9106e..bed0976fb6 100644
--- a/server/automation-reports.ts
+++ b/server/automation-reports.ts
@@ -109,7 +109,8 @@ export interface AutomationReportDeps {
busy(botId: string, threadId: string): boolean;
/** After a line this conversation's session did not write: it reaches the next turn. The chat is marked unread here. */
wrote(bot: BotRecord, threadId: string): void;
- notify(kind: "done" | "question", bot: BotRecord, threadId: string, detail: string): void;
+ /** `run`: the routine run this notice reports on. */
+ notify(kind: "done" | "question", bot: BotRecord, threadId: string, detail: string, run: RoutineRun): void;
/** A run that delivers to the brief completed: its answer is the brief's to read. */
brief?(run: RoutineRun, turnId?: string): void;
/** The language a line in this conversation is written in (server/server-lines.ts); absent, English. */
@@ -257,7 +258,7 @@ export function createAutomationReports(deps: AutomationReportDeps) {
deps.routines()?.noteReport(run.id, { state: "posted", threadId: target.threadId, messageId: posted.id });
deps.wrote(target.bot, target.threadId);
if (line.kind === "failure" || reply.question !== undefined || routineRunNeedsReview(run)) store.patchTask(target.bot.id, target.threadId, { unread: true });
- if (line.kind === "reply" && !recovered) deps.notify(reply.question ? "question" : "done", target.bot, target.threadId, `${run.routineName}: ${reply.question ?? reply.text}`);
+ if (line.kind === "reply" && !recovered) deps.notify(reply.question ? "question" : "done", target.bot, target.threadId, `${run.routineName}: ${reply.question ?? reply.text}`, run);
return true;
};
@@ -335,7 +336,7 @@ export function createAutomationReports(deps: AutomationReportDeps) {
else {
const noted = withNote(reply, deps.notes?.take(run.id, deps.threadLanguage?.(run.threadId)) ?? null);
if (noted.quiet) deps.routines()?.noteReport(run.id, { state: "quiet" });
- else if (bot) deps.notify("done", bot, run.threadId, noted.text);
+ else if (bot) deps.notify("done", bot, run.threadId, noted.text, run);
}
},
/** A run failed in a way the person is told about: one line says so where its reports go. */
diff --git a/server/index.ts b/server/index.ts
index c23c59498d..da34edda1b 100644
--- a/server/index.ts
+++ b/server/index.ts
@@ -456,7 +456,7 @@ import { chromeLauncher } from "./browser/chrome/launcher.ts";
import { botThreadLimitText, botThreadsHost, maxConcurrentBotThreads, maxConcurrentChildThreads } from "./bot-thread-limits.ts"; import { createBrowserSeats } from "./host/browser-seats.ts"; import { createBrowserHost } from "./host/browser.ts"; import { createCloudPlanTier } from "./host/cloud-plan-tier.ts";
import { createScreenFrameSource, rememberTurnFrame, type ScreenCapture } from "./screen-frame-source.ts";
import { screenFrameHash, screenSurfaceForTool, screenTouchingTool, settledFrameIsNews } from "./screen-frame-gate.ts";
-import { asSchedule, RoutineRequestService } from "./routine-requests.ts"; import { ownerSpokeOnly } from "./cloud-routine-level.ts"; import { routineRunCard, routineRunFallbackText } from "./routine-run-card.ts";
+import { asSchedule, RoutineRequestService } from "./routine-requests.ts"; import { ownerSpokeOnly } from "./cloud-routine-level.ts"; import { routineRunCard, routineRunFallbackText } from "./routine-run-card.ts"; import { isScheduledRun } from "./routine-occurrences.ts";
import { activeRoutinesContext } from "./active-routines-context.ts";
import { createRefusedHandoffs } from "./host/refused-handoffs.ts"; import { createRefusedLending } from "./host/refused-lending.ts"; import { automationContextText, createAutomationReports, newestAutomationLines, routineRunNeedsReview } from "./automation-reports.ts"; import { createAutomationDestinations } from "./automation-destinations.ts"; import { createTeamRoutines } from "./host/team-routines.ts"; import { botOwner } from "../shared/bot-owner.ts"; import { forgetMember } from "./bot-owners.ts"; import { createProactive } from "./host/proactive.ts"; import { createFirstHourHooks, startFirstHour, welcomeDonePatch } from "./host/first-hour-host.ts"; import { greetingMessage } from "./host/first-hour.ts"; import { READ_AND_DRAFT_PARTS, READ_AND_DRAFT_REFUSAL, READ_AND_DRAFT_TOOLS, recordsAnswer } from "./read-and-draft.ts"; import { createPresenceRoutes } from "./routes/presence.ts"; import { needsYouNow } from "./today.ts"; import { createTeamPresenceHost } from "./host/team-presence-host.ts";
import { engineLabel, LimitResetClock, nearLimitNote } from "./limit-resets.ts"; import { loadPlanUsage, planAccountsFromInstances } from "./plan-usage.ts"; import { LimitFailovers, limitBackupAllowed } from "./limit-failover.ts"; import { createLimitResetRoutes } from "./routes/limit-resets.ts";
@@ -5538,7 +5538,7 @@ const activityNotice = (threadId: string, text: string) => { store.appendMessage
const placeMoves = createPlaceMoves({ home: CLOUD_PERSONAL ? "my-cloud" : CLOUD_HOME ? "team-cloud" : null, folder: (botId, threadId) => messageFileRootsForThread(botId, threadId)[0], vps: (botId) => store.bot(botId)?.cloudBackend === "vps", language: threadLanguage, notice: activityNotice });
let routines: RoutineManager | null = null;
const automationReports = createAutomationReports({ store, routines: () => routines, busy: threadBusy, wrote: markTaskContextExternallyUpdated, brief: (run, turnId) => proactive.runSettled(run, turnId), threadLanguage, notes: { has: (id) => refusedLending.notes.has(id) || noTerminal.notes.has(id), take: (id, language) => [refusedLending.notes.take(id, language), noTerminal.notes.take(id, language)].filter(Boolean).join("\n\n") || null },
- notify: (kind, bot, threadId, detail) => notify(buildNotification(kind, bot, threadId, detail, { avatarUrl: bot.avatarUrl, routine: true }), { routine: true }) });
+ notify: (kind, bot, threadId, detail, run) => notify(buildNotification(kind, bot, threadId, detail, { avatarUrl: bot.avatarUrl, routine: isScheduledRun(run) }), { routine: true }) });
const proactive = createProactive({ store, cfg, composio, registry, dataDir: DATA_DIR, ideas: (botId) => memoryUpkeep.ideas(botId), ...firstHourHooks.proactive, team: Boolean(HOSTED_WORKSPACE || CLOUD_TEAM), frozen: moveFreeze.frozen, routines: () => routines, mainThread: botMainThread, threadBusy, notify, helpers: { decider, extractor }, cloud: Boolean(CLOUD_HOME || HOSTED_WORKSPACE || CLOUD_TEAM),
engineName: (instanceId) => engineName(instanceId), hostTimeZone: () => (CLOUD_HOME ? undefined : hostTimeZone()), decide: (row) => appendDecision(DATA_DIR, row), stale: shouldIgnoreProviderEvent, release: (threadId) => watchdog.setWaitingOnHuman(threadId, false),
owned: (routine) => { (cloudRoutineAuthors ?? phones.routineAuthors)?.record(routine.id, routine); if (CLOUD_OWNER_KEY) cloudRoutineAuthors?.wrote(routine.id, CLOUD_OWNER_KEY); }, needsYou: () => needsYouNow({ bots: store.bots, groups: store.groups, routines, parked: coordinator.active(), engines: registry.instances().map((instance) => ({ instanceId: instance.instanceId, snapshot: registry.lastSnapshot(instance.instanceId) })) }, { admin: true, thread: () => true, routine: () => true }) });
@@ -6748,7 +6748,7 @@ bus.subscribe((event: RuntimeEvent) => {
if (!routineReportThread && (!internal || reviewAnswer) && !checkWork.holds(event.threadId) && (!routineRun || routineRunNeedsReview(routineRun, reply) || personWaits.open(event.threadId))) store.patchTask(bot.id, event.threadId, { unread: true }, { turnEnd: true });
if (routineRun && routineReportThread !== event.threadId) automationReports.runSettled(routineRun, completedTurnId);
else if ((!routineRun || routineRun.status === "completed") && (!internal || reviewAnswer) && !computerSelectionTurns.get(event.threadId)?.selected && doneNotice.atTurnEnd({ botId: bot.id, threadId: event.threadId, review: reviewAnswer, ok: event.ok, routine: Boolean(routineRun) }) === "notify" && !personWaits.atTurnEnd(event.threadId, reply) && !unaskedBotThread(settledTask, store.activePath(event.threadId))) {
- notify(buildNotification("done", bot, event.threadId, routineRun ? reply || routineRun.output || routineRun.routineName : reply, { avatarUrl: bot.avatarUrl, routine: Boolean(routineRun) }), routineRun ? { routine: true } : reviewAnswer ? { summary: true } : undefined);
+ notify(buildNotification("done", bot, event.threadId, routineRun ? reply || routineRun.output || routineRun.routineName : reply, { avatarUrl: bot.avatarUrl, routine: Boolean(routineRun && isScheduledRun(routineRun)) }), routineRun ? { routine: true } : reviewAnswer ? { summary: true } : undefined);
}
if (screenPollers.has(event.threadId)) {
// Keep the thread busy until the final END-state capture: an accepted follow-up must not take the desktop first.
diff --git a/server/routine-occurrences.test.ts b/server/routine-occurrences.test.ts
new file mode 100644
index 0000000000..b46266921a
--- /dev/null
+++ b/server/routine-occurrences.test.ts
@@ -0,0 +1,18 @@
+import { describe, expect, it } from "vitest";
+import { isOccurrenceRun, isScheduledRun } from "./routine-occurrences.ts";
+
+describe("isScheduledRun", () => {
+ it("is true only for a run its schedule started, its checks included", () => {
+ expect(isScheduledRun({ manual: false })).toBe(true);
+ expect(isScheduledRun({ manual: false, triggerSource: "schedule" })).toBe(true);
+ expect(isScheduledRun({ manual: true })).toBe(false);
+ expect(isScheduledRun({ manual: false, triggerSource: "manual" })).toBe(false);
+ expect(isScheduledRun({ manual: false, triggerSource: "webhook" })).toBe(false);
+ expect(isScheduledRun({ manual: false, triggerSource: "startup" })).toBe(false);
+ });
+
+ it("keeps a check's run out of the schedule's occurrences", () => {
+ expect(isOccurrenceRun({ manual: false, triggerSource: "schedule", checkKey: "k" })).toBe(false);
+ expect(isScheduledRun({ manual: false, triggerSource: "schedule" })).toBe(true);
+ });
+});
diff --git a/server/routine-occurrences.ts b/server/routine-occurrences.ts
index 6037e92c63..c5cd853b92 100644
--- a/server/routine-occurrences.ts
+++ b/server/routine-occurrences.ts
@@ -25,9 +25,12 @@ type Row = Pick<RoutineRun, "id" | "routineId" | "scheduledFor" | "status" | "ma
"retried" | "skipped" | "error" | "errorCode" | "errorParams" | "attentionCode">;
type Scheduled = Pick<Routine, "id" | "enabled" | "nextRunAt" | "updatedAt">;
+/** A run its schedule started (its checks included): not one a person, a start-up or an outside event started. */
+export const isScheduledRun = (run: Pick<RoutineRun, "manual" | "triggerSource">): boolean => (run.triggerSource ?? (run.manual ? "manual" : "schedule")) === "schedule";
+
/** A run row made for a scheduled occurrence: not one a person, a start-up, an event or a routine's checks made. */
export const isOccurrenceRun = (run: Pick<RoutineRun, "manual" | "triggerSource" | "checkKey" | "webhookId">): boolean =>
- (run.triggerSource ?? (run.manual ? "manual" : "schedule")) === "schedule" && run.checkKey === undefined && run.webhookId === undefined;
+ isScheduledRun(run) && run.checkKey === undefined && run.webhookId === undefined;
const ACTIVE = new Set<RoutineRun["status"]>(["queued", "running", "waiting"]);
const signature = (run: Row) => [run.status, run.startedAt, run.finishedAt, run.attentionCode, run.errorCode, run.error === undefined ? "" : run.error.length, run.skipped?.count, run.skipped?.lastAt].join("|");
diff --git a/src/components/NotificationSettingsRows.test.ts b/src/components/NotificationSettingsRows.test.ts
index e4efd25603..7c19d1d012 100644
--- a/src/components/NotificationSettingsRows.test.ts
+++ b/src/components/NotificationSettingsRows.test.ts
@@ -122,3 +122,14 @@ it("turns scheduled report notices on and off by themselves, only once the brows
expect(toggle().disabled).toBe(true);
expect(requestPermission).not.toHaveBeenCalled();
});
+
+it("lets the report switch be used as soon as the device switch gets the browser's permission", async () => {
+ permission = "default";
+ await act(async () => root!.render(createElement(StrictMode, null, createElement("div", null, createElement(DeviceNotificationsRow), createElement(ReportNotificationsRow)))));
+ const [device, report] = container.querySelectorAll<HTMLButtonElement>('[role="switch"]');
+ expect(report.disabled).toBe(true);
+ await act(async () => device.click());
+ expect(requestPermission).toHaveBeenCalledOnce();
+ expect(report.disabled).toBe(false);
+ expect(report.getAttribute("aria-checked")).toBe("true");
+});
diff --git a/src/components/NotificationSettingsRows.tsx b/src/components/NotificationSettingsRows.tsx
index 0a7fd76263..89c1a38a5c 100644
--- a/src/components/NotificationSettingsRows.tsx
+++ b/src/components/NotificationSettingsRows.tsx
@@ -26,6 +26,12 @@ export function NotificationRows({ simple = false }: { simple?: boolean }) {
const currentPermission = (): NotificationPermission => (typeof Notification !== "undefined" ? Notification.permission : "default");
+/** Every mounted row, so a permission one row asked for reaches the others at once. */
+const permissionRows = new Set<(permission: NotificationPermission) => void>();
+const publishPermission = (permission: NotificationPermission) => {
+ for (const row of permissionRows) row(permission);
+};
+
/** The person may change the site permission elsewhere, so it is read again whenever the app comes back. */
function useNotificationPermission() {
const [permission, setPermission] = useState(currentPermission);
@@ -33,14 +39,16 @@ function useNotificationPermission() {
const refresh = () => {
if (document.visibilityState === "visible") setPermission(currentPermission());
};
+ permissionRows.add(setPermission);
window.addEventListener("focus", refresh);
document.addEventListener("visibilitychange", refresh);
return () => {
+ permissionRows.delete(setPermission);
window.removeEventListener("focus", refresh);
document.removeEventListener("visibilitychange", refresh);
};
}, []);
- return [permission, setPermission] as const;
+ return [permission, publishPermission] as const;
}
/** A browser shows nothing until it is asked from a click. */
diff --git a/src/locales/de.json b/src/locales/de.json
index ed700c6d5e..f392fe4809 100644
--- a/src/locales/de.json
+++ b/src/locales/de.json
@@ -4035,7 +4035,7 @@
"settings.newBotEffort.title": "Aufwand für neue Bots",
"settings.notificationFeed.show": "Mitteilungsfeed zeigen",
"settings.reportNotifications.title": "Benachrichtigungen zu geplanten Berichten",
- "settings.reportNotifications.subtitle": "Hier eine Benachrichtigung zeigen, wenn eine Routine einen geplanten Lauf beendet. Lass dies an und schalte den Schalter oben aus, um nur Berichte zu sehen.",
+ "settings.reportNotifications.subtitle": "Hier eine Benachrichtigung zeigen, wenn eine Routine einen geplanten Lauf beendet. Um nur Berichte zu sehen, schalte zuerst den Schalter oben aus und dann diesen ein.",
"settings.reportNotifications.show": "Bei geplanten Berichten benachrichtigen",
"settings.notificationFeed.title": "Mitteilungsfeed",
"settings.notificationSounds.play": "Mitteilungstöne",
diff --git a/src/locales/en.json b/src/locales/en.json
index a3b06eb3c8..07e60f7703 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -1975,7 +1975,7 @@
"settings.notificationFeed.subtitle": "Show a bell on the right edge of the window that keeps the last 500 notifications from every bot, read or not.",
"settings.notificationFeed.show": "Show the notification feed",
"settings.reportNotifications.title": "Scheduled report notifications",
- "settings.reportNotifications.subtitle": "Show a notification here when a routine finishes a scheduled run. Keep this on and turn the switch above off to hear only about reports.",
+ "settings.reportNotifications.subtitle": "Show a notification here when a routine finishes a scheduled run. To hear only about reports, turn the switch above off first, then turn this one on.",
"settings.reportNotifications.show": "Notify me about scheduled reports",
"notifications.title": "Notifications",
"notifications.railUnread": "Notifications, {count} unread",
diff --git a/src/locales/es.json b/src/locales/es.json
index 1631265ef5..e355c91303 100644
--- a/src/locales/es.json
+++ b/src/locales/es.json
@@ -1290,7 +1290,7 @@
"settings.notificationFeed.subtitle": "Muestra una campana en el borde derecho de la ventana que guarda las últimas 500 notificaciones de todos los bots, leídas o no.",
"settings.notificationFeed.show": "Mostrar el panel de notificaciones",
"settings.reportNotifications.title": "Notificaciones de informes programados",
- "settings.reportNotifications.subtitle": "Mostrar una notificación aquí cuando una rutina termina una ejecución programada. Deja esto activado y desactiva la opción de arriba para ver solo los informes.",
+ "settings.reportNotifications.subtitle": "Mostrar una notificación aquí cuando una rutina termina una ejecución programada. Para ver solo los informes, desactiva primero la opción de arriba y luego activa esta.",
"settings.reportNotifications.show": "Notificarme de informes programados",
"notifications.title": "Notificaciones",
"notifications.railUnread": "Notificaciones, {count} sin leer",
diff --git a/src/locales/fr.json b/src/locales/fr.json
index f9204863df..417e307a4f 100644
--- a/src/locales/fr.json
+++ b/src/locales/fr.json
@@ -3774,7 +3774,7 @@
"settings.newBotEffort.title": "Effort des nouveaux bots",
"settings.notificationFeed.show": "Afficher le fil de notifications",
"settings.reportNotifications.title": "Notifications des rapports planifiés",
- "settings.reportNotifications.subtitle": "Afficher une notification ici quand une routine termine une exécution planifiée. Laissez ceci activé et désactivez l'option du dessus pour ne voir que les rapports.",
+ "settings.reportNotifications.subtitle": "Afficher une notification ici quand une routine termine une exécution planifiée. Pour ne voir que les rapports, désactivez d'abord l'option du dessus, puis activez celle-ci.",
"settings.reportNotifications.show": "M'avertir des rapports planifiés",
"settings.notificationFeed.title": "Fil de notifications",
"settings.notificationSounds.play": "Sons de notification",
diff --git a/src/locales/hi.json b/src/locales/hi.json
index 2cbee9bfc3..01a4c5597d 100644
--- a/src/locales/hi.json
+++ b/src/locales/hi.json
@@ -3626,7 +3626,7 @@
"settings.newBotEffort.title": "नए बॉट्स के लिए प्रयास",
"settings.notificationFeed.show": "सूचना फ़ीड दिखाएँ",
"settings.reportNotifications.title": "निर्धारित रिपोर्ट की सूचनाएँ",
- "settings.reportNotifications.subtitle": "जब कोई रूटीन अपना निर्धारित रन पूरा करे, तो यहाँ सूचना दिखाएँ। सिर्फ़ रिपोर्ट के लिए इसे चालू रखें और ऊपर वाला स्विच बंद करें।",
+ "settings.reportNotifications.subtitle": "जब कोई रूटीन अपना निर्धारित रन पूरा करे, तो यहाँ सूचना दिखाएँ। सिर्फ़ रिपोर्ट के लिए पहले ऊपर वाला स्विच बंद करें, फिर इसे चालू करें।",
"settings.reportNotifications.show": "निर्धारित रिपोर्ट पर सूचित करें",
"settings.notificationFeed.title": "सूचना फ़ीड",
"settings.notificationSounds.play": "सूचना ध्वनियाँ",
diff --git a/src/locales/it.json b/src/locales/it.json
index 6a8219eb3d..903ae41097 100644
--- a/src/locales/it.json
+++ b/src/locales/it.json
@@ -1975,7 +1975,7 @@
"settings.notificationFeed.subtitle": "Mostra una campanella sul bordo destro della finestra con le ultime 500 notifiche di ogni bot, lette o no.",
"settings.notificationFeed.show": "Mostra l'elenco notifiche",
"settings.reportNotifications.title": "Notifiche dei report pianificati",
- "settings.reportNotifications.subtitle": "Mostra una notifica qui quando una routine termina un'esecuzione pianificata. Lascia questa attiva e disattiva l'opzione sopra per vedere solo i report.",
+ "settings.reportNotifications.subtitle": "Mostra una notifica qui quando una routine termina un'esecuzione pianificata. Per vedere solo i report, disattiva prima l'opzione sopra, poi attiva questa.",
"settings.reportNotifications.show": "Avvisami dei report pianificati",
"notifications.title": "Notifiche",
"notifications.railUnread": "Notifiche, {count} non lette",
diff --git a/src/locales/ja.json b/src/locales/ja.json
index 4cb5833b9a..0823f8ac95 100644
--- a/src/locales/ja.json
+++ b/src/locales/ja.json
@@ -1594,7 +1594,7 @@
"settings.notificationFeed.subtitle": "ウィンドウの右端にベルを表示し、すべてのボットの直近500件の通知を、既読・未読を問わず保持します。",
"settings.notificationFeed.show": "通知フィードを表示",
"settings.reportNotifications.title": "スケジュールされたレポートの通知",
- "settings.reportNotifications.subtitle": "ルーティンが予定された実行を終えたときに、ここに通知を表示します。これをオンにして上のスイッチをオフにすると、レポートだけ通知されます。",
+ "settings.reportNotifications.subtitle": "ルーティンが予定された実行を終えたときに、ここに通知を表示します。レポートだけ通知するには、先に上のスイッチをオフにしてから、これをオンにします。",
"settings.reportNotifications.show": "スケジュールされたレポートを通知する",
"notifications.title": "通知",
"notifications.railUnread": "通知、未読{count}件",
diff --git a/src/locales/ko.json b/src/locales/ko.json
index 34373a835f..f1f0dfceb2 100644
--- a/src/locales/ko.json
+++ b/src/locales/ko.json
@@ -1511,7 +1511,7 @@
"settings.notificationFeed.subtitle": "창 오른쪽 가장자리에 종 모양 아이콘을 보여 줘요. 읽었든 안 읽었든 모든 봇의 최근 알림 500개를 보관해요.",
"settings.notificationFeed.show": "알림 피드 표시",
"settings.reportNotifications.title": "예약된 보고서 알림",
- "settings.reportNotifications.subtitle": "루틴이 예약된 실행을 마치면 여기에 알림을 표시해요. 이 설정을 켜고 위 스위치를 끄면 보고서 알림만 받아요.",
+ "settings.reportNotifications.subtitle": "루틴이 예약된 실행을 마치면 여기에 알림을 표시해요. 보고서 알림만 받으려면 먼저 위 스위치를 끄고 이 설정을 켜세요.",
"settings.reportNotifications.show": "예약된 보고서 알림 받기",
"notifications.title": "알림",
"notifications.railUnread": "알림, 읽지 않음 {count}개",
diff --git a/src/locales/pl.json b/src/locales/pl.json
index 2505406d75..8aab6fb542 100644
--- a/src/locales/pl.json
+++ b/src/locales/pl.json
@@ -1442,7 +1442,7 @@
"settings.notificationFeed.subtitle": "Pokazuj dzwonek na prawej krawędzi okna, który przechowuje ostatnie 500 powiadomień od każdego bota, przeczytanych lub nie.",
"settings.notificationFeed.show": "Pokaż kanał powiadomień",
"settings.reportNotifications.title": "Powiadomienia o zaplanowanych raportach",
- "settings.reportNotifications.subtitle": "Pokazuj tu powiadomienie, gdy rutyna zakończy zaplanowane uruchomienie. Zostaw to włączone i wyłącz przełącznik powyżej, aby widzieć tylko raporty.",
+ "settings.reportNotifications.subtitle": "Pokazuj tu powiadomienie, gdy rutyna zakończy zaplanowane uruchomienie. Aby widzieć tylko raporty, najpierw wyłącz przełącznik powyżej, a potem włącz ten.",
"settings.reportNotifications.show": "Powiadamiaj o zaplanowanych raportach",
"notifications.title": "Powiadomienia",
"notifications.railUnread": "Powiadomienia, nieprzeczytane: {count}",
diff --git a/src/locales/pt-br.json b/src/locales/pt-br.json
index d9b1363ec9..381232c46b 100644
--- a/src/locales/pt-br.json
+++ b/src/locales/pt-br.json
@@ -1796,7 +1796,7 @@
"settings.notificationFeed.subtitle": "Mostra um sino na borda direita da janela com as últimas 500 notificações de todos os bots, lidas ou não.",
"settings.notificationFeed.show": "Mostrar o feed de notificações",
"settings.reportNotifications.title": "Notificações de relatórios agendados",
- "settings.reportNotifications.subtitle": "Mostrar uma notificação aqui quando uma rotina termina uma execução agendada. Deixe isto ligado e desligue a opção acima para ver só os relatórios.",
+ "settings.reportNotifications.subtitle": "Mostrar uma notificação aqui quando uma rotina termina uma execução agendada. Para ver só os relatórios, desligue primeiro a opção acima e depois ligue esta.",
"settings.reportNotifications.show": "Notificar sobre relatórios agendados",
"notifications.title": "Notificações",
"notifications.railUnread": "Notificações, não lidas: {count}",
diff --git a/src/locales/ru.json b/src/locales/ru.json
index 56a04f75a4..b3201bfaa3 100644
--- a/src/locales/ru.json
+++ b/src/locales/ru.json
@@ -1447,7 +1447,7 @@
"settings.notificationFeed.subtitle": "Показывать колокольчик у правого края окна, в котором хранятся последние 500 уведомлений от всех ботов, как прочитанные, так и непрочитанные.",
"settings.notificationFeed.show": "Показывать ленту уведомлений",
"settings.reportNotifications.title": "Уведомления о плановых отчётах",
- "settings.reportNotifications.subtitle": "Показывать здесь уведомление, когда процедура завершает плановый запуск. Оставьте это включённым и выключите переключатель выше, чтобы видеть только отчёты.",
+ "settings.reportNotifications.subtitle": "Показывать здесь уведомление, когда процедура завершает плановый запуск. Чтобы видеть только отчёты, сначала выключите переключатель выше, затем включите этот.",
"settings.reportNotifications.show": "Уведомлять о плановых отчётах",
"notifications.title": "Уведомления",
"notifications.railUnread": "Уведомления, {count} непрочитанных",
diff --git a/src/locales/tr.json b/src/locales/tr.json
index 2b086ff632..2d22f01d47 100644
--- a/src/locales/tr.json
+++ b/src/locales/tr.json
@@ -1000,7 +1000,7 @@
"settings.notificationFeed.subtitle": "Pencerenin sağ kenarında, okunmuş olsun olmasın her bottan gelen son 500 bildirimi tutan bir zil göster.",
"settings.notificationFeed.show": "Bildirim akışını göster",
"settings.reportNotifications.title": "Zamanlanmış rapor bildirimleri",
- "settings.reportNotifications.subtitle": "Bir rutin zamanlanmış çalışmasını bitirdiğinde burada bildirim göster. Yalnızca raporlar için bunu açık bırak ve üstteki anahtarı kapat.",
+ "settings.reportNotifications.subtitle": "Bir rutin zamanlanmış çalışmasını bitirdiğinde burada bildirim göster. Yalnızca raporlar için önce üstteki anahtarı kapat, sonra bunu aç.",
"settings.reportNotifications.show": "Zamanlanmış raporları bildir",
"notifications.title": "Bildirimler",
"notifications.railUnread": "Bildirimler, {count} okunmamış",
diff --git a/src/locales/uk.json b/src/locales/uk.json
index 9e546ecc7b..96f00c50a1 100644
--- a/src/locales/uk.json
+++ b/src/locales/uk.json
@@ -4057,7 +4057,7 @@
"settings.newBotEffort.title": "Зусилля для нових ботів",
"settings.notificationFeed.show": "Показувати стрічку сповіщень",
"settings.reportNotifications.title": "Сповіщення про планові звіти",
- "settings.reportNotifications.subtitle": "Показувати тут сповіщення, коли рутина завершує плановий запуск. Залиште це ввімкненим і вимкніть перемикач вище, щоб бачити лише звіти.",
+ "settings.reportNotifications.subtitle": "Показувати тут сповіщення, коли рутина завершує плановий запуск. Щоб бачити лише звіти, спершу вимкніть перемикач вище, а потім увімкніть цей.",
"settings.reportNotifications.show": "Сповіщати про планові звіти",
"settings.notificationFeed.title": "Стрічка сповіщень",
"settings.notificationSounds.play": "Звуки сповіщень",
diff --git a/src/locales/vi.json b/src/locales/vi.json
index d4bb3d548b..aff0f72c09 100644
--- a/src/locales/vi.json
+++ b/src/locales/vi.json
@@ -1000,7 +1000,7 @@
"settings.notificationFeed.subtitle": "Hiển thị biểu tượng chuông ở cạnh phải cửa sổ, lưu giữ 500 thông báo gần nhất từ mọi bot, dù đã đọc hay chưa.",
"settings.notificationFeed.show": "Hiển thị bảng tin thông báo",
"settings.reportNotifications.title": "Thông báo báo cáo theo lịch",
- "settings.reportNotifications.subtitle": "Hiện thông báo ở đây khi một tác vụ định kỳ chạy xong theo lịch. Bật mục này và tắt công tắc phía trên để chỉ nhận báo cáo.",
+ "settings.reportNotifications.subtitle": "Hiện thông báo ở đây khi một tác vụ định kỳ chạy xong theo lịch. Để chỉ nhận báo cáo, hãy tắt công tắc phía trên trước, rồi bật mục này.",
"settings.reportNotifications.show": "Thông báo cho tôi về báo cáo theo lịch",
"notifications.title": "Thông báo",
"notifications.railUnread": "Thông báo, {count} chưa đọc",
diff --git a/src/locales/zh-tw.json b/src/locales/zh-tw.json
index be84cfc638..3db3a9400a 100644
--- a/src/locales/zh-tw.json
+++ b/src/locales/zh-tw.json
@@ -1721,7 +1721,7 @@
"settings.notificationFeed.subtitle": "在視窗右側顯示一個鈴鐺,保留所有機器人最近 500 則通知,不論是否已讀。",
"settings.notificationFeed.show": "顯示通知動態",
"settings.reportNotifications.title": "排程報告通知",
- "settings.reportNotifications.subtitle": "例行工作完成一次排程執行時,在這裡顯示通知。保持此項開啟並關閉上面的開關,即可只收到報告。",
+ "settings.reportNotifications.subtitle": "例行工作完成一次排程執行時,在這裡顯示通知。若只想收到報告,請先關閉上面的開關,再開啟此項。",
"settings.reportNotifications.show": "排程報告時通知我",
"notifications.title": "通知",
"notifications.railUnread": "通知,{count} 則未讀",
diff --git a/src/locales/zh.json b/src/locales/zh.json
index 988e5cfa10..22163a3406 100644
--- a/src/locales/zh.json
+++ b/src/locales/zh.json
@@ -1834,7 +1834,7 @@
"settings.notificationFeed.subtitle": "在窗口右边缘显示一个铃铛,保留所有机器人的最近 500 条通知,无论是否已读。",
"settings.notificationFeed.show": "显示通知列表",
"settings.reportNotifications.title": "定时报告通知",
- "settings.reportNotifications.subtitle": "例行任务完成一次定时运行时,在这里显示通知。保持此项开启并关闭上面的开关,即可只收到报告。",
+ "settings.reportNotifications.subtitle": "例行任务完成一次定时运行时,在这里显示通知。若只想收到报告,请先关闭上面的开关,再开启此项。",
"settings.reportNotifications.show": "定时报告时通知我",
"notifications.title": "通知",
"notifications.railUnread": "通知,{count} 条未读",