From b697740e2c7729e4cd270c85886b2d9e3715a98f Mon Sep 17 00:00:00 2001 From: Masha_Rudenko Date: Tue, 17 Feb 2026 18:20:21 +0300 Subject: [PATCH 01/13] [dev] fix internal links for methods' pages --- docs/api/methods/addproject_method.md | 2 +- docs/api/methods/addtask_method.md | 4 ++-- docs/api/methods/assignuser_method.md | 2 +- docs/api/methods/checktask_method.md | 6 +++--- docs/api/methods/closeinlineeditor_method.md | 2 +- docs/api/methods/collapsetask_method.md | 2 +- docs/api/methods/copytask_method.md | 2 +- docs/api/methods/deleteproject_method.md | 2 +- docs/api/methods/deletetask_method.md | 4 ++-- docs/api/methods/eachselected_method.md | 2 +- docs/api/methods/existsproject_method.md | 2 +- docs/api/methods/existstask_method.md | 2 +- docs/api/methods/expandtask_method.md | 2 +- docs/api/methods/getchildrenids_method.md | 2 +- docs/api/methods/getparentids_method.md | 2 +- docs/api/methods/getproject_method.md | 2 +- docs/api/methods/getselection_method.md | 4 ++-- docs/api/methods/gettask_method.md | 2 +- docs/api/methods/haschildren_method.md | 2 +- docs/api/methods/hidecompletedtasks_method.md | 2 +- docs/api/methods/indenttask_method.md | 4 ++-- docs/api/methods/movetask_method.md | 4 ++-- docs/api/methods/openinlineeditor_method.md | 2 +- docs/api/methods/parse_method.md | 12 ++++++------ docs/api/methods/pastetask_method.md | 4 ++-- docs/api/methods/redo_method.md | 6 +++--- docs/api/methods/selecttask_method.md | 4 ++-- docs/api/methods/serialize_method.md | 2 +- docs/api/methods/setconfig_method.md | 6 +++--- docs/api/methods/setfilter_method.md | 2 +- docs/api/methods/setlocale_method.md | 4 ++-- docs/api/methods/setproject_method.md | 2 +- docs/api/methods/setsort_method.md | 4 ++-- docs/api/methods/showcompletedtasks_method.md | 2 +- docs/api/methods/unassignuser_method.md | 2 +- docs/api/methods/unchecktask_method.md | 6 +++--- docs/api/methods/undo_method.md | 6 +++--- docs/api/methods/unindenttask_method.md | 4 ++-- docs/api/methods/unselecttask_method.md | 4 ++-- docs/api/methods/updateproject_method.md | 2 +- docs/api/methods/updatetask_method.md | 4 ++-- docs/api/rest_api/routes/get_routes/get_tags.md | 6 +++--- 42 files changed, 71 insertions(+), 71 deletions(-) diff --git a/docs/api/methods/addproject_method.md b/docs/api/methods/addproject_method.md index 461ad6f..c8b9f1f 100644 --- a/docs/api/methods/addproject_method.md +++ b/docs/api/methods/addproject_method.md @@ -51,4 +51,4 @@ list.addProject({ }); ~~~ -**Related article:** [Operations with projects](guides/project_operations.md) \ No newline at end of file +**Related article:** [Operations with projects](../../../guides/project_operations/) \ No newline at end of file diff --git a/docs/api/methods/addtask_method.md b/docs/api/methods/addtask_method.md index 3f04305..5a1cd4a 100644 --- a/docs/api/methods/addtask_method.md +++ b/docs/api/methods/addtask_method.md @@ -33,7 +33,7 @@ In case the active project is specified but you need to add a task into the *No ::: - `targetId` - (optional) the ID of the future target task where the new task will be added - `reverse` - (optional) defines the position where the new task will be added: **before** or **after** the target task -- `task` - (required) the data object of the new task. The full list of the task parameters can be found [here](api/configs/tasks_config.md) +- `task` - (required) the data object of the new task. The full list of the task parameters can be found [here](../../../api/configs/tasks_config/) :::info If you specify the **id**, **parent**, **project** parameters of the method, you don't need to specify them in the task object @@ -75,4 +75,4 @@ list.addTask({ }); ~~~ -**Related article:** [Operations with tasks](guides/task_operations.md) \ No newline at end of file +**Related article:** [Operations with tasks](../../../guides/task_operations.md) \ No newline at end of file diff --git a/docs/api/methods/assignuser_method.md b/docs/api/methods/assignuser_method.md index 913954b..4b2c555 100644 --- a/docs/api/methods/assignuser_method.md +++ b/docs/api/methods/assignuser_method.md @@ -54,4 +54,4 @@ list.assignUser({ }); ~~~ -**Related article:** [Task assignees](guides/task_users.md) \ No newline at end of file +**Related article:** [Task assignees](../../../guides/task_users.md) \ No newline at end of file diff --git a/docs/api/methods/checktask_method.md b/docs/api/methods/checktask_method.md index 92d3968..b002f21 100644 --- a/docs/api/methods/checktask_method.md +++ b/docs/api/methods/checktask_method.md @@ -22,7 +22,7 @@ checkTask({ ### Parameters - `id` - (required) the id of a task -- `manual` - (optional) if `true`, marks the task in the "manual" mode. If `false`, the result of applying the method depends on the value which is specified for the **behavior** attribute of the **completed** parameter of the [taskShape](api/configs/taskshape_config.md) property +- `manual` - (optional) if `true`, marks the task in the "manual" mode. If `false`, the result of applying the method depends on the value which is specified for the **behavior** attribute of the **completed** parameter of the [taskShape](../../../api/configs/taskshape_config.md) property ### Example @@ -71,5 +71,5 @@ list.eachSelected(id => { ~~~ **Related articles:** -- [Operations with tasks](guides/task_operations.md) -- [Multiple select and bulk operations](guides/multiselection.md) \ No newline at end of file +- [Operations with tasks](../../../guides/task_operations.md) +- [Multiple select and bulk operations](../../../guides/multiselection.md) \ No newline at end of file diff --git a/docs/api/methods/closeinlineeditor_method.md b/docs/api/methods/closeinlineeditor_method.md index 00c562e..db617b7 100644 --- a/docs/api/methods/closeinlineeditor_method.md +++ b/docs/api/methods/closeinlineeditor_method.md @@ -49,4 +49,4 @@ list.closeInlineEditor({ }); ~~~ -**Related article:** [Inline editing](guides/inline_editing.md) \ No newline at end of file +**Related article:** [Inline editing](../../../guides/inline_editing.md) \ No newline at end of file diff --git a/docs/api/methods/collapsetask_method.md b/docs/api/methods/collapsetask_method.md index 3905a5c..888877f 100644 --- a/docs/api/methods/collapsetask_method.md +++ b/docs/api/methods/collapsetask_method.md @@ -46,4 +46,4 @@ list.collapseTask({ }); ~~~ -**Related article:** [Operations with tasks](guides/task_operations.md) \ No newline at end of file +**Related article:** [Operations with tasks](../../../guides/task_operations.md) \ No newline at end of file diff --git a/docs/api/methods/copytask_method.md b/docs/api/methods/copytask_method.md index ffc931b..b6bd661 100644 --- a/docs/api/methods/copytask_method.md +++ b/docs/api/methods/copytask_method.md @@ -114,5 +114,5 @@ list.unselectTask({ id: null }); **Change log:** The `join` parameter was added in v1.1 -**Related article:** [Operations with tasks](guides/task_operations.md) +**Related article:** [Operations with tasks](../../../guides/task_operations.md) diff --git a/docs/api/methods/deleteproject_method.md b/docs/api/methods/deleteproject_method.md index f1fe1b1..b4af799 100644 --- a/docs/api/methods/deleteproject_method.md +++ b/docs/api/methods/deleteproject_method.md @@ -47,4 +47,4 @@ const toolbar = new Toolbar("#toolbar", { list.deleteProject({ id: "first" }); ~~~ -**Related article:** [Operations with projects](guides/project_operations.md) \ No newline at end of file +**Related article:** [Operations with projects](../../../guides/project_operations.md) \ No newline at end of file diff --git a/docs/api/methods/deletetask_method.md b/docs/api/methods/deletetask_method.md index 305706d..00f4218 100644 --- a/docs/api/methods/deletetask_method.md +++ b/docs/api/methods/deletetask_method.md @@ -72,5 +72,5 @@ list.eachSelected(id => { ~~~ **Related articles:** -- [Operations with tasks](guides/task_operations.md) -- [Multiple select and bulk operations](guides/multiselection.md) \ No newline at end of file +- [Operations with tasks](../../../guides/task_operations.md) +- [Multiple select and bulk operations](../../../guides/multiselection.md) \ No newline at end of file diff --git a/docs/api/methods/eachselected_method.md b/docs/api/methods/eachselected_method.md index d07615e..88d7685 100644 --- a/docs/api/methods/eachselected_method.md +++ b/docs/api/methods/eachselected_method.md @@ -74,4 +74,4 @@ list.eachSelected(id => { **Change log:** Added in v1.1 -**Related article:** [Multiple select and bulk operations](guides/multiselection.md) \ No newline at end of file +**Related article:** [Multiple select and bulk operations](../../../guides/multiselection.md) \ No newline at end of file diff --git a/docs/api/methods/existsproject_method.md b/docs/api/methods/existsproject_method.md index 2b7f9cf..44dc77a 100644 --- a/docs/api/methods/existsproject_method.md +++ b/docs/api/methods/existsproject_method.md @@ -47,4 +47,4 @@ list.existsProject({ id: 1 }); // -> false list.existsProject({ id: "first" }); // -> true ~~~ -**Related article:** [Project object](guides/project_object_operations.md) \ No newline at end of file +**Related article:** [Project object](../../../guides/project_object_operations.md) \ No newline at end of file diff --git a/docs/api/methods/existstask_method.md b/docs/api/methods/existstask_method.md index cb5c28d..a1d6b12 100644 --- a/docs/api/methods/existstask_method.md +++ b/docs/api/methods/existstask_method.md @@ -50,4 +50,4 @@ list.existsTask({ id: "2" }); // -> false list.existsTask({ id: "1.2" }); // -> true ~~~ -**Related article:** [Task object/Id](guides/task_object.md) \ No newline at end of file +**Related article:** [Task object/Id](../../../guides/task_object.md) \ No newline at end of file diff --git a/docs/api/methods/expandtask_method.md b/docs/api/methods/expandtask_method.md index 114d6e5..4affbe9 100644 --- a/docs/api/methods/expandtask_method.md +++ b/docs/api/methods/expandtask_method.md @@ -51,4 +51,4 @@ list.expandTask({ }); ~~~ -**Related article:** [Operations with tasks](guides/task_operations.md) \ No newline at end of file +**Related article:** [Operations with tasks](../../../guides/task_operations.md) \ No newline at end of file diff --git a/docs/api/methods/getchildrenids_method.md b/docs/api/methods/getchildrenids_method.md index bb9701d..74e94c4 100644 --- a/docs/api/methods/getchildrenids_method.md +++ b/docs/api/methods/getchildrenids_method.md @@ -75,4 +75,4 @@ console.log(list.getChildrenIds({ id: "1", filtered: true, hideCompleted: true } **Change log:** The `hideCompleted` parameter was added in v1.1 -**Related article:** [Task object/Id](guides/task_object.md) \ No newline at end of file +**Related article:** [Task object/Id](../../../guides/task_object.md) \ No newline at end of file diff --git a/docs/api/methods/getparentids_method.md b/docs/api/methods/getparentids_method.md index c0fb803..8858d0d 100644 --- a/docs/api/methods/getparentids_method.md +++ b/docs/api/methods/getparentids_method.md @@ -52,4 +52,4 @@ const toolbar = new Toolbar("#toolbar", { console.log(list.getParentIds({ id: "1.1.1" })); //  ['1.1', '1'] ~~~ -**Related article:** [Task object/Id](guides/task_object.md) \ No newline at end of file +**Related article:** [Task object/Id](../../../guides/task_object.md) \ No newline at end of file diff --git a/docs/api/methods/getproject_method.md b/docs/api/methods/getproject_method.md index 62c468f..187d942 100644 --- a/docs/api/methods/getproject_method.md +++ b/docs/api/methods/getproject_method.md @@ -48,4 +48,4 @@ const toolbar = new Toolbar("#toolbar", { list.getProject({ id: "first" }); // -> {id: 'first', label: 'First project'} ~~~ -**Related article:** [Project object](guides/project_object_operations.md) \ No newline at end of file +**Related article:** [Project object](../../../guides/project_object_operations.md) \ No newline at end of file diff --git a/docs/api/methods/getselection_method.md b/docs/api/methods/getselection_method.md index bb742e5..c9b28f4 100644 --- a/docs/api/methods/getselection_method.md +++ b/docs/api/methods/getselection_method.md @@ -57,5 +57,5 @@ console.log(list.getSelection({ sorted: true })); // ["1.1", "1.2", "2.1", "2.2" **Change log:** The `sorted` parameter was added in v1.1 **Related article:** -- [Task object/Id](guides/task_object.md) -- [Multiple select and bulk operations](guides/multiselection.md) \ No newline at end of file +- [Task object/Id](../../../guides/task_object.md) +- [Multiple select and bulk operations](../../../guides/multiselection.md) \ No newline at end of file diff --git a/docs/api/methods/gettask_method.md b/docs/api/methods/gettask_method.md index 668f200..4f695ca 100644 --- a/docs/api/methods/gettask_method.md +++ b/docs/api/methods/gettask_method.md @@ -48,4 +48,4 @@ const toolbar = new Toolbar("#toolbar", { list.getTask({ id: "1.2" }); // -> {id: '1.2', text: 'Task 1.2', parent: '1'} ~~~ -**Related article:** [Task object/Id](guides/task_object.md) \ No newline at end of file +**Related article:** [Task object/Id](../../../guides/task_object.md) \ No newline at end of file diff --git a/docs/api/methods/haschildren_method.md b/docs/api/methods/haschildren_method.md index 6ab1123..2cf4cb8 100644 --- a/docs/api/methods/haschildren_method.md +++ b/docs/api/methods/haschildren_method.md @@ -70,4 +70,4 @@ console.log(list.hasChildren({ id: "1.1", filtered: true })); // -> false **Change log:** The `hideCompleted` parameter was added in v1.1 -**Related article:** [Task object/Id](guides/task_object.md) \ No newline at end of file +**Related article:** [Task object/Id](../../../guides/task_object.md) \ No newline at end of file diff --git a/docs/api/methods/hidecompletedtasks_method.md b/docs/api/methods/hidecompletedtasks_method.md index 1d946e4..ccc6b68 100644 --- a/docs/api/methods/hidecompletedtasks_method.md +++ b/docs/api/methods/hidecompletedtasks_method.md @@ -37,4 +37,4 @@ list.hideCompletedTasks(); **Change log:** Added in v1.1 -**Related article:** [Show/hide completed tasks](guides/hide_completed_tasks.md) \ No newline at end of file +**Related article:** [Show/hide completed tasks](../../../guides/hide_completed_tasks.md) \ No newline at end of file diff --git a/docs/api/methods/indenttask_method.md b/docs/api/methods/indenttask_method.md index 8f55424..f781d62 100644 --- a/docs/api/methods/indenttask_method.md +++ b/docs/api/methods/indenttask_method.md @@ -70,5 +70,5 @@ list.eachSelected(id => { ~~~ **Related articles:** -- [Operations with tasks](guides/task_operations.md) -- [Multiple select and bulk operations](guides/multiselection.md) \ No newline at end of file +- [Operations with tasks](../../../guides/task_operations.md) +- [Multiple select and bulk operations](../../../guides/multiselection.md) \ No newline at end of file diff --git a/docs/api/methods/movetask_method.md b/docs/api/methods/movetask_method.md index cb434f1..97b9f4f 100644 --- a/docs/api/methods/movetask_method.md +++ b/docs/api/methods/movetask_method.md @@ -131,5 +131,5 @@ list.eachSelected(id => { ~~~ **Related articles:** -- [Operations with tasks](guides/task_operations.md) -- [Multiple select and bulk operations](guides/multiselection.md) \ No newline at end of file +- [Operations with tasks](../../../guides/task_operations.md) +- [Multiple select and bulk operations](../../../guides/multiselection.md) \ No newline at end of file diff --git a/docs/api/methods/openinlineeditor_method.md b/docs/api/methods/openinlineeditor_method.md index 5580a5f..bb004ca 100644 --- a/docs/api/methods/openinlineeditor_method.md +++ b/docs/api/methods/openinlineeditor_method.md @@ -48,4 +48,4 @@ list.openInlineEditor({ }); ~~~ -**Related article:** [Inline editing](guides/inline_editing.md) \ No newline at end of file +**Related article:** [Inline editing](../../../guides/inline_editing.md) \ No newline at end of file diff --git a/docs/api/methods/parse_method.md b/docs/api/methods/parse_method.md index 55fe55c..397bb1d 100644 --- a/docs/api/methods/parse_method.md +++ b/docs/api/methods/parse_method.md @@ -24,11 +24,11 @@ parse({ ### Parameters -- [`tasks`](api/configs/tasks_config.md) - (optional) an array of objects with tasks data -- [`users`](api/configs/users_config.md) - (optional) an array of objects with users data -- [`projects`](api/configs/projects_config.md) - (optional) an array of objects with projects data -- [`tags`](api/configs/tags_config.md) - (optional) an array with a list of tags -- [`activeProject`](api/configs/activeproject_config.md) - (optional) the ID of the active project +- [`tasks`](../../../api/configs/tasks_config.md) - (optional) an array of objects with tasks data +- [`users`](../../../api/configs/users_config.md) - (optional) an array of objects with users data +- [`projects`](../../../api/configs/projects_config.md) - (optional) an array of objects with projects data +- [`tags`](../../../api/configs/tags_config.md) - (optional) an array with a list of tags +- [`activeProject`](../../../api/configs/activeproject_config.md) - (optional) the ID of the active project ### Example @@ -49,4 +49,4 @@ list.parse({ }); ~~~ -**Related article:** [Loading and storing data](guides/loading_data.md) +**Related article:** [Loading and storing data](../../../guides/loading_data.md) diff --git a/docs/api/methods/pastetask_method.md b/docs/api/methods/pastetask_method.md index e607e31..f00438a 100644 --- a/docs/api/methods/pastetask_method.md +++ b/docs/api/methods/pastetask_method.md @@ -58,6 +58,6 @@ list.pasteTask({ }); ~~~ -**Related API:** [copyTask()](api/methods/copytask_method.md) +**Related API:** [copyTask()](../../../api/methods/copytask_method.md) -**Related article:** [Operations with tasks](guides/task_operations.md) \ No newline at end of file +**Related article:** [Operations with tasks](../../../guides/task_operations.md) \ No newline at end of file diff --git a/docs/api/methods/redo_method.md b/docs/api/methods/redo_method.md index beb5537..4902ca0 100644 --- a/docs/api/methods/redo_method.md +++ b/docs/api/methods/redo_method.md @@ -11,7 +11,7 @@ description: You can learn about the redo method in the documentation of the DHT @short: Repeats the action that was reverted by the undo action :::info -If you set the [`history.projects`](api/configs/history_config.md) parameter to `true`, you will be able to manage the history of changes for each project separately; otherwise, you will be able to manage the history of changes for the whole app. +If you set the [`history.projects`](../../../api/configs/history_config.md) parameter to `true`, you will be able to manage the history of changes for each project separately; otherwise, you will be able to manage the history of changes for the whole app. ::: ### Usage @@ -43,5 +43,5 @@ list.redo(); **Change log:** The `redo()` method was added in v1.3 **Related API:** - - [`history`](api/configs/history_config.md) - - [`undo`](api/methods/undo_method.md) + - [`history`](../../../api/configs/history_config.md) + - [`undo`](../../../api/methods/undo_method.md) diff --git a/docs/api/methods/selecttask_method.md b/docs/api/methods/selecttask_method.md index 32c4968..7ffb831 100644 --- a/docs/api/methods/selecttask_method.md +++ b/docs/api/methods/selecttask_method.md @@ -25,7 +25,7 @@ selectTask({ - `join` - (optional) if **true**, adds the specified task to the collection of selected tasks, saving the IDs of previously selected tasks :::info -Calling the method with `join: false` invokes the [`unselect-task`](api/events/unselecttask_event.md) event for previously selected tasks +Calling the method with `join: false` invokes the [`unselect-task`](../../../api/events/unselecttask_event.md) event for previously selected tasks ::: ### Example @@ -59,4 +59,4 @@ console.log(list.getSelection()); // -> ['1.1', '1.1.1'] **Change log:** The `join` parameter was added in v1.1 -**Related article:** [Multiple select and bulk operations](guides/multiselection.md) \ No newline at end of file +**Related article:** [Multiple select and bulk operations](../../../guides/multiselection.md) \ No newline at end of file diff --git a/docs/api/methods/serialize_method.md b/docs/api/methods/serialize_method.md index ca1f5ef..20e33b1 100644 --- a/docs/api/methods/serialize_method.md +++ b/docs/api/methods/serialize_method.md @@ -47,4 +47,4 @@ const list = new ToDo("#root", { list.serialize(); ~~~ -**Related article:** [Loading and storing data](guides/loading_data.md) +**Related article:** [Loading and storing data](../../../guides/loading_data.md) diff --git a/docs/api/methods/setconfig_method.md b/docs/api/methods/setconfig_method.md index d6cc9ce..0056fbd 100644 --- a/docs/api/methods/setconfig_method.md +++ b/docs/api/methods/setconfig_method.md @@ -18,14 +18,14 @@ setConfig(config: object): void; ### Parameters -- `config` - (required) an object with new configuration of To Do List. See the full list of properties [here](api/api_overview.md#to-do-list-properties) +- `config` - (required) an object with new configuration of To Do List. See the full list of properties [here](../../../api/api_overview.md#to-do-list-properties) :::tip -The method changes only the parameters you passed. It is also possible to load data into the To Do List via the method, but we recommend that you use the [`parse()`](api/methods/parse_method.md) method for this purpose. +The method changes only the parameters you passed. It is also possible to load data into the To Do List via the method, but we recommend that you use the [`parse()`](../../../api/methods/parse_method.md) method for this purpose. ::: :::important -The `setConfig()` method destroys the current component and initialize a new one. If you use the component with **Toolbar**, you need to call the [`setConfig()`](api/toolbar_api/methods/setconfig_method.md) method of **Toolbar**, because it uses the internal API of To Do List. See the example below! +The `setConfig()` method destroys the current component and initialize a new one. If you use the component with **Toolbar**, you need to call the [`setConfig()`](../../../api/toolbar_../../../api/methods/setconfig_method.md) method of **Toolbar**, because it uses the internal API of To Do List. See the example below! ::: ### Example diff --git a/docs/api/methods/setfilter_method.md b/docs/api/methods/setfilter_method.md index 9e39899..7083990 100644 --- a/docs/api/methods/setfilter_method.md +++ b/docs/api/methods/setfilter_method.md @@ -56,4 +56,4 @@ list.setFilter({ list.setFilter({ match: null }); ~~~ -**Related article:** [Sorting and filtering tasks](guides/sorting_filtering_tasks.md) \ No newline at end of file +**Related article:** [Sorting and filtering tasks](../../../guides/sorting_filtering_tasks.md) \ No newline at end of file diff --git a/docs/api/methods/setlocale_method.md b/docs/api/methods/setlocale_method.md index 99b701f..35f3114 100644 --- a/docs/api/methods/setlocale_method.md +++ b/docs/api/methods/setlocale_method.md @@ -23,7 +23,7 @@ setLocale( - `locale` - (required) an object of the locale :::important -The `setLocale()` method destroys the current component and initialize a new one. If you use the component with **Toolbar**, you need to call the [`setLocale()`](api/toolbar_api/methods/setlocale_method.md) method of **Toolbar**, to change its locale. See the example below! +The `setLocale()` method destroys the current component and initialize a new one. If you use the component with **Toolbar**, you need to call the [`setLocale()`](../../../api/toolbar_../../../api/methods/setlocale_method.md) method of **Toolbar**, to change its locale. See the example below! ::: ### Example @@ -132,4 +132,4 @@ list.setLocale(de); toolbar.setLocale(de, list.api); ~~~ -**Related article:** [Localization](guides/localization.md) \ No newline at end of file +**Related article:** [Localization](../../../guides/localization.md) \ No newline at end of file diff --git a/docs/api/methods/setproject_method.md b/docs/api/methods/setproject_method.md index 0edf774..e415ec6 100644 --- a/docs/api/methods/setproject_method.md +++ b/docs/api/methods/setproject_method.md @@ -46,4 +46,4 @@ list.setProject({ }); ~~~ -**Related article:** [Operations with projects](guides/project_operations.md) \ No newline at end of file +**Related article:** [Operations with projects](../../../guides/project_operations.md) \ No newline at end of file diff --git a/docs/api/methods/setsort_method.md b/docs/api/methods/setsort_method.md index 98778bb..eb48da5 100644 --- a/docs/api/methods/setsort_method.md +++ b/docs/api/methods/setsort_method.md @@ -22,7 +22,7 @@ setSort({ ### Parameters -- `by` - (optional) the search criterion (either the key of the [task attribute](api/configs/tasks_config.md#parameters) or a search function which returns a string) +- `by` - (optional) the search criterion (either the key of the [task attribute](../../../api/configs/tasks_config.md#parameters) or a search function which returns a string) - `dir` - (optional) the direction of sorting: "asc" or "desc" - `tree` - (optional) enables/disables sorting for child tasks; **false** by default @@ -58,4 +58,4 @@ list.setSort({ **Change log:** Added in v1.1 -**Related article:** [Sorting and filtering tasks](guides/sorting_filtering_tasks.md) \ No newline at end of file +**Related article:** [Sorting and filtering tasks](../../../guides/sorting_filtering_tasks.md) \ No newline at end of file diff --git a/docs/api/methods/showcompletedtasks_method.md b/docs/api/methods/showcompletedtasks_method.md index cc5ef31..de878f8 100644 --- a/docs/api/methods/showcompletedtasks_method.md +++ b/docs/api/methods/showcompletedtasks_method.md @@ -37,4 +37,4 @@ list.showCompletedTasks(); **Change log:** Added in v1.1 -**Related article:** [Show/hide completed tasks](guides/hide_completed_tasks.md) \ No newline at end of file +**Related article:** [Show/hide completed tasks](../../../guides/hide_completed_tasks.md) \ No newline at end of file diff --git a/docs/api/methods/unassignuser_method.md b/docs/api/methods/unassignuser_method.md index 5b17904..d8e37ce 100644 --- a/docs/api/methods/unassignuser_method.md +++ b/docs/api/methods/unassignuser_method.md @@ -54,4 +54,4 @@ list.unassignUser({ }); ~~~ -**Related article:** [Task assignees](guides/task_users.md) \ No newline at end of file +**Related article:** [Task assignees](../../../guides/task_users.md) \ No newline at end of file diff --git a/docs/api/methods/unchecktask_method.md b/docs/api/methods/unchecktask_method.md index 94ca617..5f58285 100644 --- a/docs/api/methods/unchecktask_method.md +++ b/docs/api/methods/unchecktask_method.md @@ -22,7 +22,7 @@ uncheckTask({ ### Parameters - `id` - (required) the id of a task -- `manual` - (optional) if `true`, marks the task in the "manual" mode. If `false`, the result of applying the method depends on the value which is specified for the **behavior** attribute of the **completed** parameter of the [taskShape](api/configs/taskshape_config.md) property +- `manual` - (optional) if `true`, marks the task in the "manual" mode. If `false`, the result of applying the method depends on the value which is specified for the **behavior** attribute of the **completed** parameter of the [taskShape](../../../api/configs/taskshape_config.md) property ### Example @@ -76,5 +76,5 @@ list.eachSelected(id => { ~~~ **Related articles:** -- [Operations with tasks](guides/task_operations.md) -- [Multiple select and bulk operations](guides/multiselection.md) \ No newline at end of file +- [Operations with tasks](../../../guides/task_operations.md) +- [Multiple select and bulk operations](../../../guides/multiselection.md) \ No newline at end of file diff --git a/docs/api/methods/undo_method.md b/docs/api/methods/undo_method.md index ac129b2..e63b3b0 100644 --- a/docs/api/methods/undo_method.md +++ b/docs/api/methods/undo_method.md @@ -11,7 +11,7 @@ description: You can learn about the undo method in the documentation of the DHT @short: Reverts the last operation in To Do List :::info -If you set the [`history.projects`](api/configs/history_config.md) parameter to `true`, you will be able to manage the history of changes for each project separately; otherwise, you will be able to manage the history of changes for the whole app. +If you set the [`history.projects`](../../../api/configs/history_config.md) parameter to `true`, you will be able to manage the history of changes for each project separately; otherwise, you will be able to manage the history of changes for the whole app. ::: ### Usage @@ -42,5 +42,5 @@ list.undo(); **Change log:** The `undo()` method was added in v1.3 **Related API:** - - [`history`](api/configs/history_config.md) - - [`redo`](api/methods/redo_method.md) + - [`history`](../../../api/configs/history_config.md) + - [`redo`](../../../api/methods/redo_method.md) diff --git a/docs/api/methods/unindenttask_method.md b/docs/api/methods/unindenttask_method.md index 8ddc4d6..b61170b 100644 --- a/docs/api/methods/unindenttask_method.md +++ b/docs/api/methods/unindenttask_method.md @@ -70,5 +70,5 @@ list.eachSelected(id => { ~~~ **Related articles:** -- [Operations with tasks](guides/task_operations.md) -- [Multiple select and bulk operations](guides/multiselection.md) \ No newline at end of file +- [Operations with tasks](../../../guides/task_operations.md) +- [Multiple select and bulk operations](../../../guides/multiselection.md) \ No newline at end of file diff --git a/docs/api/methods/unselecttask_method.md b/docs/api/methods/unselecttask_method.md index 69f9925..bf0aaf1 100644 --- a/docs/api/methods/unselecttask_method.md +++ b/docs/api/methods/unselecttask_method.md @@ -23,7 +23,7 @@ unselectTask({ - `id` - (required) the id of the task to be unselected :::info -Passing `id: null` to the method unselects all selected tasks and invokes the [`unselect-task`](api/events/unselecttask_event.md) event for each of them +Passing `id: null` to the method unselects all selected tasks and invokes the [`unselect-task`](../../../api/events/unselecttask_event.md) event for each of them ::: @@ -54,4 +54,4 @@ list.unselectTask({ id: "1.1" }); **Change log:** The ability to pass `id: null` to the method was added in v1.1 -**Related article:** [Multiple select and bulk operations](guides/multiselection.md) \ No newline at end of file +**Related article:** [Multiple select and bulk operations](../../../guides/multiselection.md) \ No newline at end of file diff --git a/docs/api/methods/updateproject_method.md b/docs/api/methods/updateproject_method.md index 49e0757..a62b355 100644 --- a/docs/api/methods/updateproject_method.md +++ b/docs/api/methods/updateproject_method.md @@ -51,4 +51,4 @@ list.updateProject({ }); ~~~ -**Related article:** [Operations with projects](guides/project_operations.md) +**Related article:** [Operations with projects](../../../guides/project_operations.md) diff --git a/docs/api/methods/updatetask_method.md b/docs/api/methods/updatetask_method.md index b3dd066..9217861 100644 --- a/docs/api/methods/updatetask_method.md +++ b/docs/api/methods/updatetask_method.md @@ -22,7 +22,7 @@ updateTask({ ### Parameters - `id` - (required) the id of the task to be updated -- `task` - (required) an object with a hash of task's properties which need to be updated. The full list of the task parameters can be found [here](api/configs/tasks_config.md) +- `task` - (required) an object with a hash of task's properties which need to be updated. The full list of the task parameters can be found [here](../../../api/configs/tasks_config.md) ### Example @@ -51,4 +51,4 @@ list.updateTask({ }); ~~~ -**Related article:** [Operations with tasks](guides/task_operations.md) \ No newline at end of file +**Related article:** [Operations with tasks](../../../guides/task_operations.md) \ No newline at end of file diff --git a/docs/api/rest_api/routes/get_routes/get_tags.md b/docs/api/rest_api/routes/get_routes/get_tags.md index dac131a..9d57a65 100644 --- a/docs/api/rest_api/routes/get_routes/get_tags.md +++ b/docs/api/rest_api/routes/get_routes/get_tags.md @@ -32,7 +32,7 @@ No payload is required. ### Response The route returns a json object with an array of all default tags. -You can find an example of the object that is returned in the [**tags**](api/configs/tags_config.md) section. +You can find an example of the object that is returned in the [**tags**](../../../../../api/configs/tags_config) section. The HTTP status code shows whether the request succeeds (response.status == 200) or fails (response.status == 500). @@ -40,5 +40,5 @@ The HTTP status code shows whether the request succeeds (response.status == 200) **Related articles**: -- [getTags()](api/rest_api/methods/gettags_method.md) -- [Working with Server](guides/working_with_server.md) +- [getTags()](../../../../../api/rest_api/methods/gettags_method) +- [Working with Server](../../../../../guides/working_with_server) From f261dce60c08b1dad67c1b8d35927932898ebc08 Mon Sep 17 00:00:00 2001 From: Masha_Rudenko Date: Wed, 18 Feb 2026 12:18:18 +0300 Subject: [PATCH 02/13] [dev] fix internal links to guides for events' pages --- docs/api/events/addproject_event.md | 4 ++-- docs/api/events/addtask_event.md | 4 ++-- docs/api/events/assignuser_event.md | 4 ++-- docs/api/events/checktask_event.md | 4 ++-- docs/api/events/clonetask_event.md | 6 +++--- docs/api/events/closeinlineeditor_event.md | 4 ++-- docs/api/events/collapsetask_event.md | 4 ++-- docs/api/events/copytask_event.md | 4 ++-- docs/api/events/deleteproject_event.md | 4 ++-- docs/api/events/deletetask_event.md | 4 ++-- docs/api/events/drag_event.md | 4 ++-- docs/api/events/edititem_event.md | 4 ++-- docs/api/events/enddrag_event.md | 4 ++-- docs/api/events/expandtask_event.md | 4 ++-- docs/api/events/hidecompletedtasks_event.md | 4 ++-- docs/api/events/indenttask_event.md | 4 ++-- docs/api/events/keypressontodo_event.md | 12 ++++++------ docs/api/events/movetask_event.md | 6 +++--- docs/api/events/openinlineeditor_event.md | 4 ++-- docs/api/events/pastetask_event.md | 4 ++-- docs/api/events/selecttask_event.md | 6 +++--- docs/api/events/setfilter_event.md | 4 ++-- docs/api/events/setproject_event.md | 4 ++-- docs/api/events/setsort_event.md | 6 +++--- docs/api/events/showcompletedtasks_event.md | 4 ++-- docs/api/events/startdrag_event.md | 4 ++-- docs/api/events/unassignuser_event.md | 4 ++-- docs/api/events/unchecktask_event.md | 4 ++-- docs/api/events/unindenttask_event.md | 4 ++-- docs/api/events/unselecttask_event.md | 6 +++--- docs/api/events/updateproject_event.md | 4 ++-- docs/api/events/updatetask_event.md | 6 +++--- 32 files changed, 74 insertions(+), 74 deletions(-) diff --git a/docs/api/events/addproject_event.md b/docs/api/events/addproject_event.md index 0719ec4..9c5c91e 100644 --- a/docs/api/events/addproject_event.md +++ b/docs/api/events/addproject_event.md @@ -28,7 +28,7 @@ The callback of the **add-project** event can take an object with the following - `label` - (optional) the name of the project :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -53,4 +53,4 @@ list.api.on("add-project", ({id, project}) => { }); ~~~ -**Related article:** [Operations with projects](guides/project_operations.md#adding-a-new-project) \ No newline at end of file +**Related article:** [Operations with projects](../../../guides/project_operations/#adding-a-new-project) \ No newline at end of file diff --git a/docs/api/events/addtask_event.md b/docs/api/events/addtask_event.md index 902c40d..e79072d 100644 --- a/docs/api/events/addtask_event.md +++ b/docs/api/events/addtask_event.md @@ -35,7 +35,7 @@ The callback of the **add-task** event can take an object with the following par - `task` - (required) the object of the added task :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](../../../category/event-bus-methods/) ::: ### Example @@ -60,4 +60,4 @@ list.api.on("add-task", (obj) => { }); ~~~ -**Related article:** [Operations with tasks](guides/task_operations.md#adding-a-new-task) \ No newline at end of file +**Related article:** [Operations with tasks](../../../guides/task_operations/#adding-a-new-task) \ No newline at end of file diff --git a/docs/api/events/assignuser_event.md b/docs/api/events/assignuser_event.md index 47e0bed..219ba98 100644 --- a/docs/api/events/assignuser_event.md +++ b/docs/api/events/assignuser_event.md @@ -27,7 +27,7 @@ The callback of the **assign-user** event can take an object with the following - `userId` - (required) the id of the user assigned to the task :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -52,4 +52,4 @@ list.api.on("assign-user", ({id, userId}) => { }); ~~~ -**Related article:** [Task users](guides/task_users.md) \ No newline at end of file +**Related article:** [Task users](../../../guides/task_users/) \ No newline at end of file diff --git a/docs/api/events/checktask_event.md b/docs/api/events/checktask_event.md index f9e698e..a67c1aa 100644 --- a/docs/api/events/checktask_event.md +++ b/docs/api/events/checktask_event.md @@ -27,7 +27,7 @@ The callback of the **check-task** event can take an object with the following p - `manual` - (optional) **true** if the task is marked as completed in the "manual" mode :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -52,4 +52,4 @@ list.api.on("check-task", ({id}) => { }); ~~~ -**Related article:** [Operations with tasks](guides/task_operations.md#marking-a-task-completeincomplete) \ No newline at end of file +**Related article:** [Operations with tasks](../../../guides/task_operations/#marking-a-task-completeincomplete) \ No newline at end of file diff --git a/docs/api/events/clonetask_event.md b/docs/api/events/clonetask_event.md index 9f41948..d52f49b 100644 --- a/docs/api/events/clonetask_event.md +++ b/docs/api/events/clonetask_event.md @@ -10,7 +10,7 @@ description: You can learn about the clone-task event in the documentation of th @short: Fires when a task is pasted from the clipboard into the specified position -The event fires after the [paste-task](api/events/pastetask_event.md) event +The event fires after the [paste-task](api/events/pastetask_event/) event ### Usage @@ -33,7 +33,7 @@ The callback of the **clone-task** event can take an object with the following p - `batch` - (required) an array of objects that were created on copying and then pasted :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -58,4 +58,4 @@ list.api.on("clone-task", (obj) => { }); ~~~ -**Related article:** [Operations with tasks](guides/task_operations.md#copyingpasting-a-task) \ No newline at end of file +**Related article:** [Operations with tasks](../../../guides/task_operations/#copyingpasting-a-task) \ No newline at end of file diff --git a/docs/api/events/closeinlineeditor_event.md b/docs/api/events/closeinlineeditor_event.md index 620b762..8383701 100644 --- a/docs/api/events/closeinlineeditor_event.md +++ b/docs/api/events/closeinlineeditor_event.md @@ -27,7 +27,7 @@ The callback of the **close-inline-editor** event can take an object with the fo - `save` - (required) **true** if the made changes have been saved after closing the editor; otherwise, **false** :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -52,4 +52,4 @@ list.api.on("close-inline-editor", ({id, save}) => { }); ~~~ -**Related article:** [Inline editing](guides/inline_editing.md#working-with-editor) \ No newline at end of file +**Related article:** [Inline editing](../../../guides/inline_editing/#working-with-editor) \ No newline at end of file diff --git a/docs/api/events/collapsetask_event.md b/docs/api/events/collapsetask_event.md index db5e9e8..de666f9 100644 --- a/docs/api/events/collapsetask_event.md +++ b/docs/api/events/collapsetask_event.md @@ -25,7 +25,7 @@ The callback of the **collapse-task** event can take an object with the followin - `id` - (required) the id of a task :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -50,4 +50,4 @@ list.api.on("collapse-task", ({id}) => { }); ~~~ -**Related article:** [Operations with tasks](guides/task_operations.md#expandingcollapsing-a-task) \ No newline at end of file +**Related article:** [Operations with tasks](../../../guides/task_operations/#expandingcollapsing-a-task) \ No newline at end of file diff --git a/docs/api/events/copytask_event.md b/docs/api/events/copytask_event.md index b86bd6b..a0156be 100644 --- a/docs/api/events/copytask_event.md +++ b/docs/api/events/copytask_event.md @@ -40,7 +40,7 @@ In case the copied task is also pasted from the clipboard into another position, - `reverse` - (optional) **true**, if the copied task is pasted before the target task; otherwise, **false** :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -67,4 +67,4 @@ list.api.on("copy-task", ({id}) => { **Change log:** The `join` parameter was added in v1.1 -**Related article:** [Operations with tasks](guides/task_operations.md#copyingpasting-a-task) \ No newline at end of file +**Related article:** [Operations with tasks](../../../guides/task_operations/#copyingpasting-a-task) \ No newline at end of file diff --git a/docs/api/events/deleteproject_event.md b/docs/api/events/deleteproject_event.md index 48720fa..15459c0 100644 --- a/docs/api/events/deleteproject_event.md +++ b/docs/api/events/deleteproject_event.md @@ -25,7 +25,7 @@ The callback of the **delete-project** event can take an object with the followi - `id` - (required) the ID of a project :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -50,4 +50,4 @@ list.api.on("delete-project", ({id}) => { }); ~~~ -**Related article:** [Operations with projects](guides/project_operations.md#deleting-a-project) \ No newline at end of file +**Related article:** [Operations with projects](../../../guides/project_operations/#deleting-a-project) \ No newline at end of file diff --git a/docs/api/events/deletetask_event.md b/docs/api/events/deletetask_event.md index dbcca64..db2ba80 100644 --- a/docs/api/events/deletetask_event.md +++ b/docs/api/events/deletetask_event.md @@ -25,7 +25,7 @@ The callback of the **delete-task** event can take an object with the following - `id` - (required) the ID of a removed task :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -50,4 +50,4 @@ list.api.on("delete-task", ({id}) => { }); ~~~ -**Related article:** [Operations with tasks](guides/task_operations.md#deleting-a-task) \ No newline at end of file +**Related article:** [Operations with tasks](../../../guides/task_operations/#deleting-a-task) \ No newline at end of file diff --git a/docs/api/events/drag_event.md b/docs/api/events/drag_event.md index 95665c5..b228501 100644 --- a/docs/api/events/drag_event.md +++ b/docs/api/events/drag_event.md @@ -29,7 +29,7 @@ The callback of the **drag** event can take an object with the following paramet - `target` - (required) the ID of a potential target task :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -56,4 +56,4 @@ list.api.on("drag", ({start, source, target}) => { **Change log:** Added in v1.1 -**Related article:** [Drag-n-drop](guides/configuration.md#drag-n-drop) \ No newline at end of file +**Related article:** [Drag-n-drop](../../../guides/configuration/#drag-n-drop) \ No newline at end of file diff --git a/docs/api/events/edititem_event.md b/docs/api/events/edititem_event.md index 0e60c3e..487ec3c 100644 --- a/docs/api/events/edititem_event.md +++ b/docs/api/events/edititem_event.md @@ -27,7 +27,7 @@ The callback of the **edit-item** event can take an object with the following pa - `currentValue` - (required) the current (but not saved) value of the task/project :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -52,4 +52,4 @@ list.api.on("edit-item", ({id, currentValue}) => { }); ~~~ -**Related article:** [Inline editing](guides/inline_editing.md) \ No newline at end of file +**Related article:** [Inline editing](../../../guides/inline_editing/) \ No newline at end of file diff --git a/docs/api/events/enddrag_event.md b/docs/api/events/enddrag_event.md index 85b7c97..66ef61e 100644 --- a/docs/api/events/enddrag_event.md +++ b/docs/api/events/enddrag_event.md @@ -34,7 +34,7 @@ The callback of the **end-drag** event can take an object with the following par - `copy` - the copy mode :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -61,4 +61,4 @@ list.api.on("drag", ({ target, dropPosition, mode }) => { **Change log:** Added in v1.1 -**Related article:** [Drag-n-drop](guides/configuration.md#drag-n-drop) +**Related article:** [Drag-n-drop](../../../guides/configuration/#drag-n-drop) diff --git a/docs/api/events/expandtask_event.md b/docs/api/events/expandtask_event.md index bbd277b..37706df 100644 --- a/docs/api/events/expandtask_event.md +++ b/docs/api/events/expandtask_event.md @@ -25,7 +25,7 @@ The callback of the **expand-task** event can take an object with the following - `id` - (required) the id of a task :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -50,4 +50,4 @@ list.api.on("expand-task", ({id}) => { }); ~~~ -**Related article:** [Operations with tasks](guides/task_operations.md#expandingcollapsing-a-task) \ No newline at end of file +**Related article:** [Operations with tasks](../../../guides/task_operations/#expandingcollapsing-a-task) \ No newline at end of file diff --git a/docs/api/events/hidecompletedtasks_event.md b/docs/api/events/hidecompletedtasks_event.md index d0a61c3..169c704 100644 --- a/docs/api/events/hidecompletedtasks_event.md +++ b/docs/api/events/hidecompletedtasks_event.md @@ -17,7 +17,7 @@ description: You can learn about the hide-completed-tasks event in the documenta ~~~ :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -44,5 +44,5 @@ list.api.on("hide-completed-tasks", () => { **Change log:** Added in v1.1 -**Related article:** [Show/hide completed tasks](guides/hide_completed_tasks.md) +**Related article:** [Show/hide completed tasks](../../../guides/hide_completed_tasks/) diff --git a/docs/api/events/indenttask_event.md b/docs/api/events/indenttask_event.md index 22d3944..616591b 100644 --- a/docs/api/events/indenttask_event.md +++ b/docs/api/events/indenttask_event.md @@ -25,7 +25,7 @@ The callback of the **indent-task** event can take an object with the following - `id` - (required) the id of a task :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -50,4 +50,4 @@ list.api.on("indent-task", ({id}) => { }); ~~~ -**Related article:** [Operations with tasks](guides/task_operations.md#changing-the-indent-level-of-a-task) \ No newline at end of file +**Related article:** [Operations with tasks](../../../guides/task_operations/#changing-the-indent-level-of-a-task) \ No newline at end of file diff --git a/docs/api/events/keypressontodo_event.md b/docs/api/events/keypressontodo_event.md index 17d3eff..4496e1d 100644 --- a/docs/api/events/keypressontodo_event.md +++ b/docs/api/events/keypressontodo_event.md @@ -27,7 +27,7 @@ The callback of the **keypress-on-todo** event can take an object with the follo - `event` - (required) a native [event object](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent) :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -71,8 +71,8 @@ The key codes described below are not available if focus is set on the Search ba | **Enter** |enter| Creates a new task on the same level as the selected one, moves selection to the created task and opens the editor | | **ArrowUp** |arrowup| Moves the selection up to the previous task | | **ArrowDown** |arrowdown| Moves the selection down to the next task | -| **Ctrl(Cmd)+Enter** |ctrl+enter| Opens the editor of the selected task | -|**Ctrl(Cmd)+Click** /
**Ctrl(Cmd)+Shift+Click**
added in v1.1|ctrl /
ctrl+shift|Selects multiple tasks with all their children.
If the task is currently selected - unselects it, moreover:
- If the task has parents which are also selected - unselects the task together with its parents.
- If the task has children which are also selected - unselects only the task itself.| +| **Ctrl(/)+Enter** |ctrl+enter| Opens the editor of the selected task | +|**Ctrl(/)+Click** /
**Ctrl(/)+Shift+Click**
added in v1.1|ctrl /
ctrl+shift|Selects multiple tasks with all their children.
If the task is currently selected - unselects it, moreover:
- If the task has parents which are also selected - unselects the task together with its parents.
- If the task has children which are also selected - unselects only the task itself.| |**Shift+Click**
added in v1.1|shift|Selects a range of tasks| |**Shift+ArrowUp**
added in v1.1|shift+arrowup|Selects a task above the current one.
If the task above is currently selected - unselects it| |**Shift+ArrowDown**
added in v1.1|shift+arrowdown|Selects a task (and all its children) below the current one.
If the task below is currently selected - unselects it| @@ -84,9 +84,9 @@ The key codes described below are not available if focus is set on the Search ba | **ArrowLeft** |arrowleft| Collapses the expanded parent task. If the task is already collapsed or does not have child tasks, moves selection to the parent task | | **Tab** |tab| Demotes the nesting level of the task to one lower level | | **Shift+Tab** |shift+tab| Promotes the nesting level of the task to one higher level| -| **Ctrl(Cmd)+D** |ctrl+d| Duplicates the selected task at the same level | -| **Ctrl(Cmd)+C** |ctrl+c| Copies the selected task into the clipboard, including all child tasks | -| **Ctrl(Cmd)+V** |ctrl+v| Pastes the copied task to the same level as the currently selected task. It is possible to paste a copied task to any level, the structure of the copied task is saved | +| **Ctrl(/)+D** |ctrl+d| Duplicates the selected task at the same level | +| **Ctrl(/)+C** |ctrl+c| Copies the selected task into the clipboard, including all child tasks | +| **Ctrl(/)+V** |ctrl+v| Pastes the copied task to the same level as the currently selected task. It is possible to paste a copied task to any level, the structure of the copied task is saved | 2\. Keyboard shortcuts **in the editing mode** diff --git a/docs/api/events/movetask_event.md b/docs/api/events/movetask_event.md index b564da8..ca5cf93 100644 --- a/docs/api/events/movetask_event.md +++ b/docs/api/events/movetask_event.md @@ -33,7 +33,7 @@ The callback of the **move-task** event can take an object with the following pa - `project` - (optional) the ID of the project - `targetId` - (optional) the ID of the target task - `reverse` - (optional) **true**, if the task is pasted before the target task; otherwise, **false** -- Additional parameters that can be applied to the [RestDataProvider](guides/working_with_server.md) work: +- Additional parameters that can be applied to the [RestDataProvider](../../../guides/working_with_server/) work: - `operation` - (optional) an operation type performed on a task; values: - **indent** - demoting the task nesting level by one - **unindent** - promoting the task nesting level by one @@ -42,7 +42,7 @@ The callback of the **move-task** event can take an object with the following pa - `batch` - (optional) an array of IDs of the tasks on which an operation is perfromed :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -67,4 +67,4 @@ list.api.on("move-task", ({id}) => { }); ~~~ -**Related article:** [Operations with tasks](guides/task_operations.md#moving-a-task) \ No newline at end of file +**Related article:** [Operations with tasks](../../../guides/task_operations/#moving-a-task) \ No newline at end of file diff --git a/docs/api/events/openinlineeditor_event.md b/docs/api/events/openinlineeditor_event.md index 40569e1..709816d 100644 --- a/docs/api/events/openinlineeditor_event.md +++ b/docs/api/events/openinlineeditor_event.md @@ -27,7 +27,7 @@ The callback of the **open-inline-editor** event can take an object with the fol - `type` - (required) the type of the item: "task" or "project" :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -52,4 +52,4 @@ list.api.on("open-inline-editor", ({id, type}) => { }); ~~~ -**Related article:** [Inline editing](guides/inline_editing.md#working-with-editor) \ No newline at end of file +**Related article:** [Inline editing](../../../guides/inline_editing/#working-with-editor) \ No newline at end of file diff --git a/docs/api/events/pastetask_event.md b/docs/api/events/pastetask_event.md index d380768..e6644c0 100644 --- a/docs/api/events/pastetask_event.md +++ b/docs/api/events/pastetask_event.md @@ -31,7 +31,7 @@ The callback of the **paste-task** event can take an object with the following p - `reverse` - (optional) **true**, if the task is pasted before the target task; otherwise, **false** :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -56,4 +56,4 @@ list.api.on("paste-task", (obj) => { }); ~~~ -**Related article:** [Operations with tasks](guides/task_operations.md#copyingpasting-a-task) \ No newline at end of file +**Related article:** [Operations with tasks](../../../guides/task_operations/#copyingpasting-a-task) \ No newline at end of file diff --git a/docs/api/events/selecttask_event.md b/docs/api/events/selecttask_event.md index 1623319..3958191 100644 --- a/docs/api/events/selecttask_event.md +++ b/docs/api/events/selecttask_event.md @@ -29,7 +29,7 @@ The callback of the **select-task** event can take an object with the following - **false** - single selection mode :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -58,5 +58,5 @@ list.api.on("select-task", ({id, join}) => { **Change log:** The `join` parameter was added in v1.1 **Related articles:** -- [Operations with tasks](guides/task_operations.md) -- [Multiple select and bulk operations](guides/multiselection.md) +- [Operations with tasks](../../../guides/task_operations/) +- [Multiple select and bulk operations](../../../guides/multiselection/) diff --git a/docs/api/events/setfilter_event.md b/docs/api/events/setfilter_event.md index c59b773..ef15b59 100644 --- a/docs/api/events/setfilter_event.md +++ b/docs/api/events/setfilter_event.md @@ -31,7 +31,7 @@ The callback of the **set-filter** event can take an object with the following p - `strict` - (optional) **true**, if the *strict* mode of filtering is enabled; otherwise, **false** :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -56,5 +56,5 @@ list.api.on("set-filter", (obj) => { }); ~~~ -**Related article:** [Sorting and filtering tasks](guides/sorting_filtering_tasks.md) +**Related article:** [Sorting and filtering tasks](../../../guides/sorting_filtering_tasks/) diff --git a/docs/api/events/setproject_event.md b/docs/api/events/setproject_event.md index 026032f..7038137 100644 --- a/docs/api/events/setproject_event.md +++ b/docs/api/events/setproject_event.md @@ -29,7 +29,7 @@ The callback of the **set-project** event can take an object with the following - `id` - (required) the ID of a newly active project :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -54,4 +54,4 @@ list.api.on("set-project", ({id}) => { }); ~~~ -**Related article:** [Operations with projects](guides/project_operations.md#changing-the-active-project) \ No newline at end of file +**Related article:** [Operations with projects](../../../guides/project_operations/#changing-the-active-project) \ No newline at end of file diff --git a/docs/api/events/setsort_event.md b/docs/api/events/setsort_event.md index 0914135..61ff606 100644 --- a/docs/api/events/setsort_event.md +++ b/docs/api/events/setsort_event.md @@ -24,12 +24,12 @@ description: You can learn about the set-sort event in the documentation of the The callback of the **set-sort** event can take an object with the following parameters: -- `by` - (optional) the search criterion (either the key of the [task attribute](api/configs/tasks_config.md#parameters) or a search function which returns a string) +- `by` - (optional) the search criterion (either the key of the [task attribute](api/configs/tasks_config/#parameters) or a search function which returns a string) - `dir` - (optional) the direction of sorting: "asc" or "desc" - `tree` - (optional) defines whether sorting for child tasks is enabled :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -54,4 +54,4 @@ list.api.on("set-sort", ({ by, dir, tree }) => { }); ~~~ -**Related article:** [Sorting and filtering tasks](guides/sorting_filtering_tasks.md) \ No newline at end of file +**Related article:** [Sorting and filtering tasks](../../../guides/sorting_filtering_tasks/) \ No newline at end of file diff --git a/docs/api/events/showcompletedtasks_event.md b/docs/api/events/showcompletedtasks_event.md index 3261b9c..ffea896 100644 --- a/docs/api/events/showcompletedtasks_event.md +++ b/docs/api/events/showcompletedtasks_event.md @@ -17,7 +17,7 @@ description: You can learn about the show-completed-tasks event in the documenta ~~~ :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -44,4 +44,4 @@ list.api.on("show-completed-tasks", () => { **Change log:** Added in v1.1 -**Related article:** [Show/hide completed tasks](guides/hide_completed_tasks.md) \ No newline at end of file +**Related article:** [Show/hide completed tasks](../../../guides/hide_completed_tasks/) \ No newline at end of file diff --git a/docs/api/events/startdrag_event.md b/docs/api/events/startdrag_event.md index f2e5b58..e82fceb 100644 --- a/docs/api/events/startdrag_event.md +++ b/docs/api/events/startdrag_event.md @@ -29,7 +29,7 @@ The callback of the **start-drag** event can take an object with the following p - `copy` - the copy mode :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -56,4 +56,4 @@ list.api.on("start-drag", ({ start, mode }) => { **Change log:** Added in v1.1 -**Related article:** [Drag-n-drop](guides/configuration.md#drag-n-drop) \ No newline at end of file +**Related article:** [Drag-n-drop](../../../guides/configuration/#drag-n-drop) \ No newline at end of file diff --git a/docs/api/events/unassignuser_event.md b/docs/api/events/unassignuser_event.md index 1a4331c..2204d93 100644 --- a/docs/api/events/unassignuser_event.md +++ b/docs/api/events/unassignuser_event.md @@ -27,7 +27,7 @@ The callback of the **unassign-user** event can take an object with the followin - `userId` - (required) the id of the user unassigned from the task :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -52,4 +52,4 @@ list.api.on("unassign-user", ({id, userId}) => { }); ~~~ -**Related article:** [Task users](guides/task_users.md) \ No newline at end of file +**Related article:** [Task users](../../../guides/task_users/) \ No newline at end of file diff --git a/docs/api/events/unchecktask_event.md b/docs/api/events/unchecktask_event.md index 8cac311..d7916c2 100644 --- a/docs/api/events/unchecktask_event.md +++ b/docs/api/events/unchecktask_event.md @@ -27,7 +27,7 @@ The callback of the **uncheck-task** event can take an object with the following - `manual` - (optional) **true** if the task is marked as uncompleted in the "manual" mode :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -52,4 +52,4 @@ list.api.on("uncheck-task", ({id}) => { }); ~~~ -**Related article:** [Operations with tasks](guides/task_operations.md#marking-a-task-completeincomplete) \ No newline at end of file +**Related article:** [Operations with tasks](../../../guides/task_operations/#marking-a-task-completeincomplete) \ No newline at end of file diff --git a/docs/api/events/unindenttask_event.md b/docs/api/events/unindenttask_event.md index 3eb0f28..de925b2 100644 --- a/docs/api/events/unindenttask_event.md +++ b/docs/api/events/unindenttask_event.md @@ -25,7 +25,7 @@ The callback of the **unindent-task** event can take an object with the followin - `id` - (required) the id of a task :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -50,4 +50,4 @@ list.api.on("unindent-task", ({id}) => { }); ~~~ -**Related article:** [Operations with tasks](guides/task_operations.md#changing-the-indent-level-of-a-task) \ No newline at end of file +**Related article:** [Operations with tasks](../../../guides/task_operations/#changing-the-indent-level-of-a-task) \ No newline at end of file diff --git a/docs/api/events/unselecttask_event.md b/docs/api/events/unselecttask_event.md index dd23bc2..da55dac 100644 --- a/docs/api/events/unselecttask_event.md +++ b/docs/api/events/unselecttask_event.md @@ -24,7 +24,7 @@ The callback of the **unselect-task** event can take an object with the followin - `id` - (required) the id of a task :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -50,5 +50,5 @@ list.api.on("unselect-task", ({id}) => { ~~~ **Related articles:** -- [Operations with tasks](guides/task_operations.md) -- [Multiple select and bulk operations](guides/multiselection.md) \ No newline at end of file +- [Operations with tasks](../../../guides/task_operations/) +- [Multiple select and bulk operations](../../../guides/multiselection/) \ No newline at end of file diff --git a/docs/api/events/updateproject_event.md b/docs/api/events/updateproject_event.md index d393f77..7adad83 100644 --- a/docs/api/events/updateproject_event.md +++ b/docs/api/events/updateproject_event.md @@ -28,7 +28,7 @@ The callback of the **update-project** event can take an object with the followi - `label` - (optional) the name of the project :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -53,4 +53,4 @@ list.api.on("update-project", ({id, project}) => { }); ~~~ -**Related article:** [Operations with projects](guides/project_operations.md#updating-a-project) \ No newline at end of file +**Related article:** [Operations with projects](../../../guides/project_operations/#updating-a-project) \ No newline at end of file diff --git a/docs/api/events/updatetask_event.md b/docs/api/events/updatetask_event.md index 10fa8fa..02726fc 100644 --- a/docs/api/events/updatetask_event.md +++ b/docs/api/events/updatetask_event.md @@ -27,12 +27,12 @@ The callback of the **update-task** event can take an object with the following - `id` - (required) the id of the updated task - `task` - (required) the object of the updated task -- Additional parameters that can be applied to the [RestDataProvider](guides/working_with_server.md) work: +- Additional parameters that can be applied to the [RestDataProvider](../../../guides/working_with_server/) work: - `skipProvider` - (optional) allows skipping events sent to RestDataProvider; if **false (default)**, RestDataProvider works with the event, **true** - RestDataProvider skips the event - `batch` - (optional) an array of updated tasks objects :::info -To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods.md) +To handle the inner events, you can use the [**Event Bus methods**](category/event-bus-methods/) ::: ### Example @@ -58,4 +58,4 @@ list.api.on("update-task", ({id, task}) => { ~~~ -**Related article:** [Operations with tasks](guides/task_operations.md#updating-a-task) \ No newline at end of file +**Related article:** [Operations with tasks](../../../guides/task_operations/#updating-a-task) \ No newline at end of file From 4803be31babf565e34ddc07ea7d30298782648fd Mon Sep 17 00:00:00 2001 From: Masha_Rudenko Date: Wed, 18 Feb 2026 12:35:18 +0300 Subject: [PATCH 03/13] [dev] fix internal links for configs' pages --- docs/api/configs/activeproject_config.md | 2 +- docs/api/configs/drag_config.md | 2 +- docs/api/configs/history_config.md | 6 +++--- docs/api/configs/locale_config.md | 8 ++++---- docs/api/configs/priorities_config.md | 2 +- docs/api/configs/projects_config.md | 6 +++--- docs/api/configs/readonly_config.md | 2 +- docs/api/configs/selected_config.md | 2 +- docs/api/configs/tags_config.md | 4 ++-- docs/api/configs/tasks_config.md | 10 +++++----- docs/api/configs/taskshape_config.md | 8 ++++---- docs/api/configs/users_config.md | 4 ++-- 12 files changed, 28 insertions(+), 28 deletions(-) diff --git a/docs/api/configs/activeproject_config.md b/docs/api/configs/activeproject_config.md index a863c8d..bcc9cad 100644 --- a/docs/api/configs/activeproject_config.md +++ b/docs/api/configs/activeproject_config.md @@ -50,4 +50,4 @@ const toolbar = new Toolbar("#toolbar", { }); ~~~ -**Related article:** [Managing projects](guides/project_index.md) \ No newline at end of file +**Related article:** [Managing projects](../../../guides/project_index/) \ No newline at end of file diff --git a/docs/api/configs/drag_config.md b/docs/api/configs/drag_config.md index fb1febf..8966f98 100644 --- a/docs/api/configs/drag_config.md +++ b/docs/api/configs/drag_config.md @@ -70,4 +70,4 @@ const toolbar = new Toolbar("#toolbar", { **Change log:** Added in v1.1 -**Related article:** [Configuration](guides/configuration.md#drag-n-drop) \ No newline at end of file +**Related article:** [Configuration](../../../guides/configuration/#drag-n-drop) \ No newline at end of file diff --git a/docs/api/configs/history_config.md b/docs/api/configs/history_config.md index 1767154..8ed64e3 100644 --- a/docs/api/configs/history_config.md +++ b/docs/api/configs/history_config.md @@ -11,7 +11,7 @@ description: You can learn about the history config in the documentation of the @short: Optional. Enables/disables managing the history of changes :::info -Using the `history` property you can enable/disable managing the history of changes in To Do List. If you set the `history` property to `false`, you will not be able to manage the history of changes using [`undo()`](api/methods/undo_method.md)/[`redo()`](api/methods/redo_method.md) methods and controls on Toolbar. +Using the `history` property you can enable/disable managing the history of changes in To Do List. If you set the `history` property to `false`, you will not be able to manage the history of changes using [`undo()`](../../../api/methods/undo_method/)/[`redo()`](../../../api/methods/redo_method/) methods and controls on Toolbar. ::: ### Usage @@ -67,5 +67,5 @@ new ToDo("#root", { **Change log:** The `history` config was added in v1.3 **Related API:** - - [`redo`](api/methods/redo_method.md) - - [`undo`](api/methods/undo_method.md) + - [`redo`](../../../api/methods/redo_method/) + - [`undo`](../../../api/methods/undo_method/) diff --git a/docs/api/configs/locale_config.md b/docs/api/configs/locale_config.md index 47c0bca..c6208d8 100644 --- a/docs/api/configs/locale_config.md +++ b/docs/api/configs/locale_config.md @@ -18,7 +18,7 @@ locale?: object; ### Default config -By default, DHTMLX To Do List uses [English locale](guides/localization.md#default-locale). +By default, DHTMLX To Do List uses [English locale](../../../guides/localization/#default-locale). ~~~js locale: en @@ -45,13 +45,13 @@ const toolbar = new Toolbar("#toolbar", { :::info -The Toolbar is a separate component of To Do List . Thus, you also need to apply the necessary locale to the **Toolbar** via the related [`locale`](api/toolbar_api/configs/locale_config.md) property +The Toolbar is a separate component of To Do List . Thus, you also need to apply the necessary locale to the **Toolbar** via the related [`locale`](../../../api/toolbar_../../../api/configs/locale_config/) property ::: :::tip -To change the locale dynamically, use the [`setLocale()`](api/methods/setlocale_method.md) method +To change the locale dynamically, use the [`setLocale()`](../../../api/methods/setlocale_method/) method ::: -**Related article:** [Localization](guides/localization.md) +**Related article:** [Localization](../../../guides/localization/) **Related sample:** [To do list. Localization](https://snippet.dhtmlx.com/kzjwvuq5) \ No newline at end of file diff --git a/docs/api/configs/priorities_config.md b/docs/api/configs/priorities_config.md index 7313777..d5973b0 100644 --- a/docs/api/configs/priorities_config.md +++ b/docs/api/configs/priorities_config.md @@ -119,6 +119,6 @@ document.addEventListener("keydown", event => { ~~~ **Related articles:** -- [Loading and storing data](guides/loading_data.md) +- [Loading and storing data](../../../guides/loading_data/) **Related sample:** [To do list. Custom hotkeys for setting priorities](https://snippet.dhtmlx.com/5cymicwt?tag=todolist) diff --git a/docs/api/configs/projects_config.md b/docs/api/configs/projects_config.md index cd7cf04..ad1ed87 100644 --- a/docs/api/configs/projects_config.md +++ b/docs/api/configs/projects_config.md @@ -52,9 +52,9 @@ const toolbar = new Toolbar("#toolbar", { ~~~ :::tip -By default, the first project from the list of project objects will be loaded as an active project. To specify any other project as an active one, use the [`activeProject`](api/configs/activeproject_config.md) property +By default, the first project from the list of project objects will be loaded as an active project. To specify any other project as an active one, use the [`activeProject`](../../../api/configs/activeproject_config/) property ::: **Related articles:** -- [Loading and storing data](guides/loading_data.md) -- [Managing projects](guides/project_index.md) \ No newline at end of file +- [Loading and storing data](../../../guides/loading_data/) +- [Managing projects](../../../guides/project_index/) \ No newline at end of file diff --git a/docs/api/configs/readonly_config.md b/docs/api/configs/readonly_config.md index edf059f..6f3bb46 100644 --- a/docs/api/configs/readonly_config.md +++ b/docs/api/configs/readonly_config.md @@ -47,4 +47,4 @@ const toolbar = new Toolbar("#toolbar", { }); ~~~ -**Related article:** [Read-only mode](guides/readonly_mode.md) \ No newline at end of file +**Related article:** [Read-only mode](../../../guides/readonly_mode/) \ No newline at end of file diff --git a/docs/api/configs/selected_config.md b/docs/api/configs/selected_config.md index ece9401..c457a9f 100644 --- a/docs/api/configs/selected_config.md +++ b/docs/api/configs/selected_config.md @@ -39,4 +39,4 @@ const toolbar = new Toolbar("#toolbar", { **Change log:** Added in v1.1 -**Related article:** [Multiple select and bulk operations](guides/multiselection.md) \ No newline at end of file +**Related article:** [Multiple select and bulk operations](../../../guides/multiselection/) \ No newline at end of file diff --git a/docs/api/configs/tags_config.md b/docs/api/configs/tags_config.md index d690c59..ac73e96 100644 --- a/docs/api/configs/tags_config.md +++ b/docs/api/configs/tags_config.md @@ -43,5 +43,5 @@ const toolbar = new Toolbar("#toolbar", { ~~~ **Related articles:** -- [Loading and storing data](guides/loading_data.md) -- [Inline editing](guides/inline_editing.md) +- [Loading and storing data](../../../guides/loading_data/) +- [Inline editing](../../../guides/inline_editing/) diff --git a/docs/api/configs/tasks_config.md b/docs/api/configs/tasks_config.md index 9cd40f2..cf875de 100644 --- a/docs/api/configs/tasks_config.md +++ b/docs/api/configs/tasks_config.md @@ -39,7 +39,7 @@ The **tasks** property presents an array of task objects. Each object includes t - `id` - (optional) the id of a task - `parent` - (optional) the id of the parent task. The value of the parameter is **null | undefined** for root tasks -- `project` - (optional) the id of the project where the task should be rendered. To initialize the projects, use the [projects](api/configs/projects_config.md) property. +- `project` - (optional) the id of the project where the task should be rendered. To initialize the projects, use the [projects](../../../api/configs/projects_config/) property. :::info If there are projects initialized, specify the ID of the necessary project for the root task to display it in this project. @@ -50,12 +50,12 @@ If you don't specify the project ID for the root task or set it to *null* or *un - `text` - (optional) the text of the task - `checked` - (optional) marks the task as completed - `collapsed` - (optional) defines whether the task is collapsed initially (in case the task has subtasks) -- `assigned` - (optional) an array with ID(s) of the people assigned to the task. To initialize the list of assignees, use the [users](api/configs/users_config.md) property. +- `assigned` - (optional) an array with ID(s) of the people assigned to the task. To initialize the list of assignees, use the [users](../../../api/configs/users_config/) property. - `due_date` - (optional) the date when the task must be completed - `creation_date` - (optional) the date of the task creation (auto-generated) - `completion_date` - (optional) the date of the task completion (auto-generated when you mark a task as complete; auto-removed when you mark a task as incomplete) - `edited_date` - (optional) the date of the task editing (auto-generated when you change the text of the task) -- `priority` - (optional) the priority of the task. To set the priorities, use the [priorities](api/configs/priorities_config.md) property +- `priority` - (optional) the priority of the task. To set the priorities, use the [priorities](../../../api/configs/priorities_config/) property - `[key: string]`- (optional) a set of custom properties ### Example @@ -115,5 +115,5 @@ const toolbar = new Toolbar("#toolbar", { **Change log:** The `priority` parameter was added in v1.2 **Related articles:** -- [Loading and storing data](guides/loading_data.md) -- [Managing tasks](guides/task_index.md) +- [Loading and storing data](../../../guides/loading_data/) +- [Managing tasks](../../../guides/task_index/) diff --git a/docs/api/configs/taskshape_config.md b/docs/api/configs/taskshape_config.md index a5ab397..7b14848 100644 --- a/docs/api/configs/taskshape_config.md +++ b/docs/api/configs/taskshape_config.md @@ -64,7 +64,7 @@ To configure the task's appearance, you can specify the following parameters in - *"percentage"* - the value of the counter is displayed as a percentage - `date` - (optional) an object with date settings: - `format` - (required) defines the format of displaying dates. By default, "%d %M %Y". The full list of available characters is given [below](#list-of-characters) - - `validate` - (required) defines whether the **due_date** property of the [task object](api/configs/tasks_config.md) should be validated + - `validate` - (required) defines whether the **due_date** property of the [task object](../../../api/configs/tasks_config/) should be validated - `completed` - (optional) an object with settings for managing the marking and display of completed tasks. It takes one parameter: - `behavior` - (required) sets behavior for the parent and child tasks when marking them as completed/uncompleted. There are two options: - *"auto"* - enables the **"auto"** mode: @@ -131,7 +131,7 @@ DHTMLX To Do List uses the following characters for setting a date format: | **%Y** | year as a number, 4 digits | :::tip -Check the [**Localization**](guides/localization.md) article to learn how to present the date labels in the necessary language +Check the [**Localization**](../../../guides/localization/) article to learn how to present the date labels in the necessary language ::: **Change log:** @@ -140,8 +140,8 @@ Check the [**Localization**](guides/localization.md) article to learn how to pre **Related articles:** -- [Configuration](guides/configuration.md#tasks) -- [Show/hide completed tasks](guides/hide_completed_tasks.md) +- [Configuration](../../../guides/configuration/#tasks) +- [Show/hide completed tasks](../../../guides/hide_completed_tasks/) **Related samples:** - [To do list. Subtask counter and date format](https://snippet.dhtmlx.com/magidhw8?tag=todolist) diff --git a/docs/api/configs/users_config.md b/docs/api/configs/users_config.md index 07d80b2..a73464b 100644 --- a/docs/api/configs/users_config.md +++ b/docs/api/configs/users_config.md @@ -97,5 +97,5 @@ const toolbar = new Toolbar("#toolbar", { ~~~ **Related articles:** -- [Loading and storing data](guides/loading_data.md) -- [Task users](guides/task_users.md) \ No newline at end of file +- [Loading and storing data](../../../guides/loading_data/) +- [Task users](../../../guides/task_users/) \ No newline at end of file From 8a9e19fc6a2da81cdea0928d1d4943f9b879b6e1 Mon Sep 17 00:00:00 2001 From: Masha_Rudenko Date: Wed, 18 Feb 2026 17:40:45 +0300 Subject: [PATCH 04/13] [dev] fix internal links for guides --- docs/guides/configuration.md | 22 +++++++++++----------- docs/guides/customization.md | 4 ++-- docs/guides/hide_completed_tasks.md | 4 ++-- docs/guides/initialization.md | 4 ++-- docs/guides/inline_editing.md | 6 +++--- docs/guides/integration_with_angular.md | 6 +++--- docs/guides/integration_with_react.md | 6 +++--- docs/guides/integration_with_svelte.md | 6 +++--- docs/guides/integration_with_vue.md | 6 +++--- docs/guides/loading_data.md | 18 +++++++++--------- docs/guides/localization.md | 2 +- docs/guides/multiselection.md | 8 ++++---- docs/guides/project_index.md | 6 +++--- docs/guides/project_object_operations.md | 4 ++-- docs/guides/sorting_filtering_tasks.md | 4 ++-- docs/guides/task_index.md | 2 +- docs/guides/task_object.md | 12 ++++++------ docs/guides/task_operations.md | 2 +- docs/guides/working_with_server.md | 16 ++++++++-------- docs/how_to_start.md | 8 ++++---- 20 files changed, 73 insertions(+), 73 deletions(-) diff --git a/docs/guides/configuration.md b/docs/guides/configuration.md index 29ccd98..9f64f6c 100644 --- a/docs/guides/configuration.md +++ b/docs/guides/configuration.md @@ -26,7 +26,7 @@ You can change the type of the counter which renders the progress of completion By default, each parent task is equipped with the counter whose value is shown as a ratio of completed child tasks and the total number of the child tasks. -If you want the value of the counter to be displayed as a percentage, specify the *type: "percentage"* attribute inside the **counter** parameter of the [`taskShape`](api/configs/taskshape_config.md) property: +If you want the value of the counter to be displayed as a percentage, specify the *type: "percentage"* attribute inside the **counter** parameter of the [`taskShape`](../../api/configs/taskshape_config/) property: ~~~js {5-9} const list = new ToDo("#root", { @@ -45,7 +45,7 @@ const list = new ToDo("#root", { ### Date format -By default, the To Do List displays dates in the "%d %M %Y" format (it looks like 09 Mar 2033). If you want to specify another format for dates, use the **date** parameter of the [`taskShape`](api/configs/taskshape_config.md) property: +By default, the To Do List displays dates in the "%d %M %Y" format (it looks like 09 Mar 2033). If you want to specify another format for dates, use the **date** parameter of the [`taskShape`](../../api/configs/taskshape_config/) property: ~~~js {5-10} const list = new ToDo("#root", { @@ -63,13 +63,13 @@ const list = new ToDo("#root", { **Related sample:** [To do list. Subtask counter and date format](https://snippet.dhtmlx.com/magidhw8) -Check [the list of available characters](api/configs/taskshape_config.md#list-of-characters). +Check [the list of available characters](../../api/configs/taskshape_config/#list-of-characters). ### Drag-n-drop The default configuration of To Do List includes the drag-n-drop functionality. You can [select one or several tasks](../../#selecting-tasks) and drag the selected tasks vertically at once. If you need to create a copy of the selected tasks, hold the *Alt* key during drag-n-drop. -There is the [`drag`](api/configs/drag_config.md) property which allows you: +There is the [`drag`](../../api/configs/drag_config/) property which allows you: - to configure the behavior of the collapsed tasks so that they don't expand when you hover them over during drag-n-drop: @@ -99,7 +99,7 @@ const list = new ToDo("#root", { ### Due date validation -If you specify a [due date](api/configs/tasks_config.md) for a task, the due date validation will track the completion of the task. The due date of the task has green color until the task becomes Overdue. +If you specify a [due date](../../api/configs/tasks_config/) for a task, the due date validation will track the completion of the task. The due date of the task has green color until the task becomes Overdue. ![due_date](../assets/due_date.png) @@ -109,7 +109,7 @@ The dates of the tasks which have not been completed on the due date are highli This validation works by default. -In case you want to disable this functionality, specify the **validate** setting inside the *date* parameter of the [`taskShape`](api/configs/taskshape_config.md) property to *false*: +In case you want to disable this functionality, specify the **validate** setting inside the *date* parameter of the [`taskShape`](../../api/configs/taskshape_config/) property to *false*: ~~~js {5-10} const list = new ToDo("#root", { @@ -136,7 +136,7 @@ By default, the process of checking/unchecking tasks is implemented in the "auto - If you mark at least one child of a completed task as uncompleted, the task automatically becomes marked as uncompleted - If you mark the parent task as uncompleted, all its child automatically become uncompleted -You can disable this behavior and activate the "manual" mode. For that, apply the **behavior: "manual"** setting of the **completed** parameter of the [`taskShape`](api/configs/taskshape_config.md) property: +You can disable this behavior and activate the "manual" mode. For that, apply the **behavior: "manual"** setting of the **completed** parameter of the [`taskShape`](../../api/configs/taskshape_config/) property: ~~~js {5-9} const list = new ToDo("#root", { @@ -155,9 +155,9 @@ const list = new ToDo("#root", { ## Toolbar -The toolbar is a top part of To Do List which is [initialized](guides/initialization.md#initialize-toolbar) and [configured](category/toolbar-properties.md) separately from To Do List. +The toolbar is a top part of To Do List which is [initialized](../../guides/initialization/#initialize-toolbar) and [configured](category/toolbar-properties.md) separately from To Do List. -To change the default structure of the toolbar, use the [`items`](api/toolbar_api/configs/items_config.md) configuration property of the Toolbar component. +To change the default structure of the toolbar, use the [`items`](../../api/toolbar_api/configs/items_config/) configuration property of the Toolbar component. ~~~js const toolbar = new Toolbar("#toolbar", { @@ -170,8 +170,8 @@ The property allows you to define which controls should be shown or hidden. Besi ## Mode of hiding completed tasks -Read the details on how to hide completed tasks from To Do List in the [related section](guides/hide_completed_tasks.md). +Read the details on how to hide completed tasks from To Do List in the [related section](../../guides/hide_completed_tasks/). ## Read-only mode -Read the details on how to make the To Do List read-only in the [related section](guides/readonly_mode.md). +Read the details on how to make the To Do List read-only in the [related section](../../guides/readonly_mode/). diff --git a/docs/guides/customization.md b/docs/guides/customization.md index 3c3bd5b..f4f51e8 100644 --- a/docs/guides/customization.md +++ b/docs/guides/customization.md @@ -8,7 +8,7 @@ description: You can learn about the To Do List Customization in the documentati ## Toolbar -It is possible to customize the appearance of the toolbar. You can hide some default controls, add custom ones, and place them in the necessary order. To do that, use the [`items`](api/toolbar_api/configs/items_config.md) property of the Toolbar component. +It is possible to customize the appearance of the toolbar. You can hide some default controls, add custom ones, and place them in the necessary order. To do that, use the [`items`](../../api/toolbar_api/configs/items_config/) property of the Toolbar component. You can customize your toolbar as in: @@ -16,7 +16,7 @@ You can customize your toolbar as in: ## Styling To Do List -You can change the look and feel of To Do List by changing values of the [**CSS variables provided by the library**](guides/stylization.md). +You can change the look and feel of To Do List by changing values of the [**CSS variables provided by the library**](../../guides/stylization/). Check the example: diff --git a/docs/guides/hide_completed_tasks.md b/docs/guides/hide_completed_tasks.md index 0a78f0d..dbe2378 100644 --- a/docs/guides/hide_completed_tasks.md +++ b/docs/guides/hide_completed_tasks.md @@ -13,7 +13,7 @@ There are two modes of displaying tasks in To Do List: - when all tasks are shown on the page (*default*) - when completed tasks are hidden from the page -You may initialize To Do List in the mode when all completed tasks will be hidden from the page. It will let you focus only on those tasks which yet need to be done. For that, you need to enable the **taskHide** setting of the **completed** parameter of the [`taskShape`](api/configs/taskshape_config.md) property, as in: +You may initialize To Do List in the mode when all completed tasks will be hidden from the page. It will let you focus only on those tasks which yet need to be done. For that, you need to enable the **taskHide** setting of the **completed** parameter of the [`taskShape`](../../api/configs/taskshape_config/) property, as in: ~~~js {6} const list = new ToDo("#root", { @@ -33,7 +33,7 @@ You may easily switch between these two modes after initialization of To Do List - via the **Completed tasks -> Show/Hide** option of the [Toolbar menu](../../#toolbar) -- via the related [`hideCompletedTasks()`](api/methods/hidecompletedtasks_method.md) and [`showCompletedTasks()`](api/methods/showcompletedtasks_method.md) methods: +- via the related [`hideCompletedTasks()`](../../api/methods/hidecompletedtasks_method/) and [`showCompletedTasks()`](../../api/methods/showcompletedtasks_method/) methods: ~~~js list.hideCompletedTasks(); diff --git a/docs/guides/initialization.md b/docs/guides/initialization.md index d594e93..7f2629c 100644 --- a/docs/guides/initialization.md +++ b/docs/guides/initialization.md @@ -50,7 +50,7 @@ Thus, create **two containers** to place a List and Toolbar into and give them I After that, initialize List with the **new ToDo()** constructor. It takes two parameters: - a container to place a List into. The one we have created at the previous step -- an object with configuration properties. [See the full list here](api/overview/configs_overview.md) +- an object with configuration properties. [See the full list here](../../api/overview/configs_overview/) ~~~js title="index.js" const { ToDo, Toolbar } = todo; // apply the object destructuring @@ -94,7 +94,7 @@ You don't need this step if you will use the **new todo.ToDo()** and **new todo. ## Loading data into To Do List -Detailed information on loading data into DHTMLX To Do is given in the [Data loading](guides/loading_data.md) article. +Detailed information on loading data into DHTMLX To Do is given in the [Data loading](../../guides/loading_data/) article. ## Example diff --git a/docs/guides/inline_editing.md b/docs/guides/inline_editing.md index 1d3d21b..454e0b0 100644 --- a/docs/guides/inline_editing.md +++ b/docs/guides/inline_editing.md @@ -9,7 +9,7 @@ description: You can learn about inline editing in the documentation of the DHTM Inline editing lets you edit the content of a task/project directly by double-clicking on it. The functionality is enabled by default. :::tip -When you enable the [**readonly**](api/configs/readonly_config.md) mode of To Do List, inline editing becomes unavailable. +When you enable the [**readonly**](../../api/configs/readonly_config/) mode of To Do List, inline editing becomes unavailable. ::: ## Supported formats of data @@ -30,7 +30,7 @@ Use hashtags to categorize tasks and make them more searchable. Here are some si - To activate strict filtering, click a hashtag or enter it in the search bar in the toolbar :::info -You can create a default list of tags via the [`tags`](api/configs/tags_config.md) property +You can create a default list of tags via the [`tags`](../../api/configs/tags_config/) property ::: 3\. **Dates** @@ -40,7 +40,7 @@ To enter a date via the inline editor, type the `!` symbol and the built-in date You can also wrap some text in the special symbols - `!()` - for instance, **!(Enter Booking date)**, and press Enter to close the editor. In the future, clicking on this text will open the date picker. :::info -The appearance of the added dates depends on the specified [**locale**](api/configs/locale_config.md) and [**date format**](api/configs/taskshape_config.md) +The appearance of the added dates depends on the specified [**locale**](../../api/configs/locale_config/) and [**date format**](../../api/configs/taskshape_config/) ::: ## Working with editor diff --git a/docs/guides/integration_with_angular.md b/docs/guides/integration_with_angular.md index 6d048bc..34201fc 100644 --- a/docs/guides/integration_with_angular.md +++ b/docs/guides/integration_with_angular.md @@ -245,7 +245,7 @@ export class ToDoComponent implements OnInit, OnDestroy { } ~~~ -You can also use the [`parse()`](/api/methods/parse_method/) method inside the `ngOnInit()` method of Angular to load data into To Do List. +You can also use the [`parse()`](../../api/methods/parse_method/) method inside the `ngOnInit()` method of Angular to load data into To Do List. ~~~jsx {2,23,31-36} title="todo.component.ts" import { ToDo, Toolbar } from '@dhx/trial-todolist'; @@ -295,11 +295,11 @@ export class ToDoComponent implements OnInit, OnDestroy { The `parse(data)` method provides data reloading on each applied change. -Now the To Do List component is ready to use. When the element will be added to the page, it will initialize the To Do List with data. You can provide necessary configuration settings as well. Visit our [To Do List API docs](/api/overview/configs_overview/) to check the full list of available properties. +Now the To Do List component is ready to use. When the element will be added to the page, it will initialize the To Do List with data. You can provide necessary configuration settings as well. Visit our [To Do List API docs](../../api/overview/configs_overview/) to check the full list of available properties. #### Handling events -When a user makes some action in the To Do List, it invokes an event. You can use these events to detect the action and run the desired code for it. See the [full list of events](/api/overview/events_overview/). +When a user makes some action in the To Do List, it invokes an event. You can use these events to detect the action and run the desired code for it. See the [full list of events](../../api/overview/events_overview/). Open the **todo.component.ts** file and complete the `ngOnInit()` method in the following way: diff --git a/docs/guides/integration_with_react.md b/docs/guides/integration_with_react.md index 6846680..47b2ed8 100644 --- a/docs/guides/integration_with_react.md +++ b/docs/guides/integration_with_react.md @@ -245,7 +245,7 @@ export default function ToDoComponent(props) { } ~~~ -You can also use the [`parse()`](/api/methods/parse_method/) method inside the `useEffect()` method of React to load data into To Do List: +You can also use the [`parse()`](../../api/methods/parse_method/) method inside the `useEffect()` method of React to load data into To Do List: ~~~jsx {9-11,21} title="ToDo.jsx" import { useEffect, useRef } from "react"; @@ -285,11 +285,11 @@ export default function ToDoComponent(props) { The `parse(data)` method provides data reloading on each applied change. -Now the To Do List component is ready to use. When the element will be added to the page, it will initialize the To Do List with data. You can provide necessary configuration settings as well. Visit our [To Do List API docs](/api/overview/configs_overview/) to check the full list of available properties. +Now the To Do List component is ready to use. When the element will be added to the page, it will initialize the To Do List with data. You can provide necessary configuration settings as well. Visit our [To Do List API docs](../../api/overview/configs_overview/) to check the full list of available properties. #### Handling events -When a user makes some action in the To Do List, it invokes an event. You can use these events to detect the action and run the desired code for it. See the [full list of events](/api/overview/events_overview/). +When a user makes some action in the To Do List, it invokes an event. You can use these events to detect the action and run the desired code for it. See the [full list of events](../../api/overview/events_overview/). Open ***ToDo.jsx*** and complete the `useEffect()` method in the following way: diff --git a/docs/guides/integration_with_svelte.md b/docs/guides/integration_with_svelte.md index 0e98458..162ae54 100644 --- a/docs/guides/integration_with_svelte.md +++ b/docs/guides/integration_with_svelte.md @@ -232,7 +232,7 @@ onDestroy(() => { ~~~ -You can also use the [`parse()`](/api/methods/parse_method/) method inside the `onMount()` method of Svelte to load data into To Do List: +You can also use the [`parse()`](../../api/methods/parse_method/) method inside the `onMount()` method of Svelte to load data into To Do List: ~~~html {6-8,21} title="ToDo.svelte"