mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-08-03 04:52:12 +00:00
fix: Update "Repeat from Completion" text and logic for task repeat configurations
This commit is contained in:
parent
dd12140cb0
commit
78efc36f4e
2 changed files with 13 additions and 11 deletions
|
|
@ -156,15 +156,6 @@ export const TASK_REPEAT_CFG_FORM_CFG_BEFORE_TAGS: FormlyFieldConfig[] = [
|
|||
],
|
||||
},
|
||||
// REPEAT CFG END
|
||||
{
|
||||
key: 'repeatFromCompletionDate',
|
||||
type: 'checkbox',
|
||||
defaultValue: false,
|
||||
templateOptions: {
|
||||
label: T.F.TASK_REPEAT.F.REPEAT_FROM_COMPLETION_DATE,
|
||||
description: T.F.TASK_REPEAT.F.REPEAT_FROM_COMPLETION_DATE_DESCRIPTION,
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
fieldGroupClassName: 'formly-row',
|
||||
|
|
@ -250,4 +241,15 @@ export const TASK_REPEAT_CFG_ADVANCED_FORM_CFG: FormlyFieldConfig[] = [
|
|||
},
|
||||
className: 'sp-formly-child-option',
|
||||
},
|
||||
// Repeat from completion date instead of start date
|
||||
{
|
||||
key: 'repeatFromCompletionDate',
|
||||
type: 'checkbox',
|
||||
defaultValue: false,
|
||||
hideExpression: (model: any) => model.quickSetting !== 'CUSTOM',
|
||||
templateOptions: {
|
||||
label: T.F.TASK_REPEAT.F.REPEAT_FROM_COMPLETION_DATE,
|
||||
description: T.F.TASK_REPEAT.F.REPEAT_FROM_COMPLETION_DATE_DESCRIPTION,
|
||||
},
|
||||
},
|
||||
];
|
||||
|
|
|
|||
|
|
@ -1452,8 +1452,8 @@
|
|||
"WEDNESDAY": "Wednesday",
|
||||
"INHERIT_SUBTASKS": "Inherit subtasks",
|
||||
"INHERIT_SUBTASKS_DESCRIPTION": "When enabled, subtasks from the most recent task instance will be recreated with the repeating task",
|
||||
"REPEAT_FROM_COMPLETION_DATE": "Repeat from completion",
|
||||
"REPEAT_FROM_COMPLETION_DATE_DESCRIPTION": "When enabled, the next task will be created based on when you complete the current one. The start date will be updated to the completion date, rather than using the original fixed start date.",
|
||||
"REPEAT_FROM_COMPLETION_DATE": "Repeat, when done",
|
||||
"REPEAT_FROM_COMPLETION_DATE_DESCRIPTION": "The next task is created from your completion date, not from start date. (e.g., 'Every 7 days' = 7 days after completion)",
|
||||
"REMOVE_INSTANCE": "Remove today",
|
||||
"REMOVE_FOR_DATE": "Remove for {{date}}",
|
||||
"DISABLE_AUTO_UPDATE_SUBTASKS": "Disable auto-updating subtasks",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue