From 8987bad24d6300a9d88e8d2f777f2a59855f5171 Mon Sep 17 00:00:00 2001 From: "i.seliverstov" Date: Sat, 15 Aug 2026 13:14:22 +0500 Subject: [PATCH] fix(tasks): clarify this vs subsequent reschedule copy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The cancel action only moves the current occurrence, so label it «Текущую» instead of «Оставить как есть». Co-authored-by: Cursor --- .../src/features/tasks/lib/use-recurring-reschedule.ts | 4 ++-- .../tests/features/tasks/lib/use-recurring-reschedule.spec.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/alfy-bot-frontend/src/features/tasks/lib/use-recurring-reschedule.ts b/alfy-bot-frontend/src/features/tasks/lib/use-recurring-reschedule.ts index f616a7d..ba0dca1 100644 --- a/alfy-bot-frontend/src/features/tasks/lib/use-recurring-reschedule.ts +++ b/alfy-bot-frontend/src/features/tasks/lib/use-recurring-reschedule.ts @@ -49,9 +49,9 @@ export function useRecurringReschedule(deps?: Partial) { ) const shiftSubsequent = await confirm({ title: 'Сместить расписание?', - message: 'Сместить все последующие или оставить как есть?', + message: 'Сместить все последующие или только текущую?', confirmText: 'Сместить все', - cancelText: 'Оставить как есть', + cancelText: 'Текущую', }) if (shiftSubsequent) { await updateTask(task.id, { rescheduleScope: 'subsequent' }, false) diff --git a/alfy-bot-frontend/tests/features/tasks/lib/use-recurring-reschedule.spec.ts b/alfy-bot-frontend/tests/features/tasks/lib/use-recurring-reschedule.spec.ts index 6c80fba..995a0de 100644 --- a/alfy-bot-frontend/tests/features/tasks/lib/use-recurring-reschedule.spec.ts +++ b/alfy-bot-frontend/tests/features/tasks/lib/use-recurring-reschedule.spec.ts @@ -89,7 +89,7 @@ describe('useRecurringReschedule', () => { expect(confirm).toHaveBeenCalledWith( expect.objectContaining({ confirmText: 'Сместить все', - cancelText: 'Оставить как есть', + cancelText: 'Текущую', }), ) expect(highlightedTaskId.value).toBeNull()