refactor: swap keys for 'isAutoMarkParentAsDone' and 'isAutoAddWorkedOnToToday' in tasks settings

This commit is contained in:
Ivan Kalashnikov 2026-01-18 20:07:26 +07:00
parent f51edc4e9b
commit 814b1dd373

View file

@ -12,13 +12,6 @@ export const TASKS_SETTINGS_FORM_CFG: ConfigFormSection<TasksConfig> = {
label: T.GCF.TASKS.IS_CONFIRM_BEFORE_TASK_DELETE,
},
},
{
key: 'isAutoMarkParentAsDone',
type: 'checkbox',
templateOptions: {
label: T.GCF.TASKS.IS_AUTO_MARK_PARENT_AS_DONE,
},
},
{
key: 'isAutoAddWorkedOnToToday',
type: 'checkbox',
@ -26,6 +19,13 @@ export const TASKS_SETTINGS_FORM_CFG: ConfigFormSection<TasksConfig> = {
label: T.GCF.TASKS.IS_AUTO_ADD_WORKED_ON_TO_TODAY,
},
},
{
key: 'isAutoMarkParentAsDone',
type: 'checkbox',
templateOptions: {
label: T.GCF.TASKS.IS_AUTO_MARK_PARENT_AS_DONE,
},
},
{
key: 'isTrayShowCurrentTask',
type: 'checkbox',
@ -33,13 +33,6 @@ export const TASKS_SETTINGS_FORM_CFG: ConfigFormSection<TasksConfig> = {
label: T.GCF.TASKS.IS_TRAY_SHOW_CURRENT_TASK,
},
},
{
key: 'defaultProjectId',
type: 'project-select',
templateOptions: {
label: T.GCF.TASKS.DEFAULT_PROJECT,
},
},
{
key: 'isMarkdownFormattingInNotesEnabled',
type: 'checkbox',
@ -47,6 +40,13 @@ export const TASKS_SETTINGS_FORM_CFG: ConfigFormSection<TasksConfig> = {
label: T.GCF.TASKS.IS_MARKDOWN_FORMATTING_IN_NOTES_ENABLED,
},
},
{
key: 'defaultProjectId',
type: 'project-select',
templateOptions: {
label: T.GCF.TASKS.DEFAULT_PROJECT,
},
},
{
key: 'notesTemplate',
type: 'textarea',