help: Update article on collaborative to-do lists.

This commit is contained in:
N-Shar-ma 2024-04-16 11:50:48 +05:30 committed by Tim Abbott
parent 0d3da99037
commit 89bca6ca93
4 changed files with 61 additions and 8 deletions

View File

@ -2,6 +2,61 @@
{!to-do-lists-intro.md!} {!to-do-lists-intro.md!}
## Create a to-do list
{start_tabs}
{!start-composing.md!}
1. Make sure the compose box is empty.
2. Type `/todo` followed by a space, and the title of the to-do list.
3. _(optional)_ Type each task on a new line, with its description, if any, after a <kbd>:</kbd>.
4. Click the **Send** (<i class="zulip-icon zulip-icon-send"></i>) button, or
use a [keyboard shortcut](/help/mastering-the-compose-box#toggle-between-ctrl-enter-and-enter-to-send-a-message)
to send your message.
!!! tip ""
You will be able to add tasks after the to-do list is created.
{end_tabs}
## Add tasks to a to-do list
{start_tabs}
1. Fill out the **New task** field and optionally the **Description** field at the bottom of the to-do list.
1. Click **Add task** to add the new task to the to-do list.
{end_tabs}
## Edit the to-do list title
!!! warn ""
Only the creator of a to-do list can edit the title.
{start_tabs}
1. Click the **pencil** (<i class="fa fa-pencil"></i>) icon
to the right of the title.
1. Edit the title as desired.
1. Click the **checkmark** (<i class="fa fa-check"></i>) icon or press
<kbd>Enter</kbd> to save your changes.
!!! tip ""
You can click the <i class="fa fa-remove"></i> icon or press
<kbd>Esc</kbd> to discard your changes.
{end_tabs}
## Examples ## Examples
{!to-do-lists-examples.md!} {!to-do-lists-examples.md!}

View File

@ -1,17 +1,14 @@
### What you type ### What you type
``` ```
/todo /todo Today's tasks
Task 1: This is the first task.
Task 2: This is the second task.
Last task
``` ```
!!! warn ""
Any other content in a message starting with `/todo` will be ignored.
### What it looks like ### What it looks like
After two tasks have been added to the shared to-do list:
![Markdown todo-lists](/static/images/help/markdown-todo.png) ![Markdown todo-lists](/static/images/help/markdown-todo.png)
!!! tip "" !!! tip ""

View File

@ -1,3 +1,4 @@
Zulip supports creating shared to-do lists where any user who can access the Zulip supports creating shared to-do lists where any user who can access the
message can add tasks by entering the task's title and description, and clicking message can add tasks by entering the task's title and description, and clicking
**Add task**. Once created, task titles and descriptions cannot be edited. **Add task**. Once created, task titles and descriptions cannot be edited. The task
list title can be edited any time by the to-do list's creator.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 33 KiB