fix(space): silence microstep status toast
This commit is contained in:
@@ -38,7 +38,6 @@ export const spaceEn = {
|
||||
refocusApply: 'Apply',
|
||||
refocusApplyAndResume: 'Apply and resume',
|
||||
refocusApplying: 'Applying…',
|
||||
refocusSaved: 'The session direction is updated.',
|
||||
refocusOpenOnPause: 'If you paused, want to realign the next tiny piece before you continue?',
|
||||
pausePromptEyebrow: 'Paused',
|
||||
pausePromptTitle: 'You only need one line to restart.',
|
||||
@@ -74,7 +73,6 @@ export const spaceEn = {
|
||||
microStepPromptDefineHint: 'Capture the smallest next action you can immediately start.',
|
||||
microStepPromptFinish: 'Finish this goal here',
|
||||
microStepPromptFinishHint: 'Do not grow the next step. Close this block cleanly here.',
|
||||
microStepCleared: 'The microstep is cleared. The goal stays.',
|
||||
completeAction: 'END SESSION',
|
||||
},
|
||||
goalComplete: {
|
||||
|
||||
@@ -32,7 +32,6 @@ export const space = {
|
||||
refocusApply: '적용',
|
||||
refocusApplyAndResume: '적용하고 이어가기',
|
||||
refocusApplying: '적용 중…',
|
||||
refocusSaved: '이번 세션 방향을 다듬었어요.',
|
||||
refocusOpenOnPause: '잠시 멈춘 김에 다음 한 조각을 다시 맞춰볼까요?',
|
||||
pausePromptEyebrow: '잠깐 멈춤',
|
||||
pausePromptTitle: '다시 시작할 한 줄만 정하면 돼요.',
|
||||
@@ -68,7 +67,6 @@ export const space = {
|
||||
microStepPromptDefineHint: '바로 손을 움직일 수 있는 가장 작은 다음 행동을 한 줄로 남겨요.',
|
||||
microStepPromptFinish: '이 목표는 여기서 마무리하기',
|
||||
microStepPromptFinishHint: '다음 단계를 늘리지 않고, 지금 블록을 깔끔하게 닫습니다.',
|
||||
microStepCleared: '지금 할 한 조각을 비우고 목표만 유지해요.',
|
||||
completeAction: '이번 목표 완료',
|
||||
},
|
||||
goalComplete: {
|
||||
|
||||
@@ -118,15 +118,7 @@ export const SpaceFocusHudWidget = ({
|
||||
|
||||
setSavingIntent(true);
|
||||
try {
|
||||
const didUpdate = await onIntentUpdate({ microStep: nextStep });
|
||||
if (didUpdate) {
|
||||
if (nextStep) {
|
||||
onStatusMessage({ message: copy.space.focusHud.refocusSaved });
|
||||
} else {
|
||||
onStatusMessage({ message: copy.space.focusHud.microStepCleared });
|
||||
}
|
||||
}
|
||||
return didUpdate;
|
||||
return await onIntentUpdate({ microStep: nextStep });
|
||||
} finally {
|
||||
setSavingIntent(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user