project: Moodle app
summary: Group messaging improvements mobile app
description: This is the mobile epic for

1.summary: Support the new user blocking feature
description: In Moodle 3.6 some things have changed related to user blocking that affect the app: New web services to block/unblock users, older ones do the same but are being deprecated. New strings in the user interface, "Block user" instead of "Block contact", etc. New confirmation modals to confirm blocking/unblocking users.
2.summary: Create status indicator for online users available for messaging
description: Users would like to have some indication of online status, such as a green, yellow, or red dot to indicate whether or not a user is available to communicate synchronously via messages.
3.summary: Style group messaging
description: Improve styles for group messaging. Styling of the conversations and the category titles. E.g. subtitles (group messaging) and the unread badge look quite bad. Check if you can make the view to fill 100 of height max (like web does) so the category titles are always visible. We should display the online status (I think youll do that in another issue). Theres a comment in the view for this: Display connection status Dont style the contacts button yet, lets see what Barbara decides in the end.
4.summary: Messages: New privacy preference
description: In Moodle 3.6 the "Prevent non-contacts from messaging me" preference is now called "Accept messages from" and it has 3 options, see .
5.summary: Make message contacts a two-way approval process
description: In Moodle 3.6 message contacts are reciprocal relations and require approval from the other users, see . This feature is being developed for web and there is no UI design yet. Needed changes: Display list of pending contact requests. Approve / decline contacts requests. Handle notifications of contact requests. Use new web services for handling contacts. Dont allow sending messages to non-contacts depending on user preferences.
6.summary: Make conversations favouritable
description: See
7.summary: Support group conversations discussion view
description: Support group conversations
8.summary: Support searching within a conversation
description: Support searching within a conversation
9.summary: Add contact requests feature
description: Add contact requests feature
10.summary: Support the new discussions list view
description: The discussions list view has changed, we should support the new one in the app.
11.summary: Simplify messaging settings like in Moodle web
description: In 3.6 Moodle web simplified the message setting. We should do the same in the app.

Below is an instruction that describes a task, paired with an input that provides an epic with this format: 
"project": "Name of the project" 
"summary": "Summary of the epic user story" 
"description": "Description of the epic user story". Write a response that appropriately completes the request.### Instruction:
Break this epic user story into smaller tasks to help the developers understand the epic better, you can divide this epic into as much as you want depending on the complexity of the epic.
### Input:
project: Moodle app
summary: Group messaging improvements mobile app
description: This is the mobile epic for

### Response:
1.summary: Support the new user blocking feature
description: In Moodle 3.6 some things have changed related to user blocking that affect the app: New web services to block/unblock users, older ones do the same but are being deprecated. New strings in the user interface, "Block user" instead of "Block contact", etc. New confirmation modals to confirm blocking/unblocking users.
2.summary: Create status indicator for online users available for messaging
description: Users would like to have some indication of online status, such as a green, yellow, or red dot to indicate whether or not a user is available to communicate synchronously via messages.
3.summary: Style group messaging
description: Improve styles for group messaging. Styling of the conversations and the category titles. E.g. subtitles (group messaging) and the unread badge look quite bad. Check if you can make the view to fill 100 of height max (like web does) so the category titles are always visible. We should display the online status (I think youll do that in another issue). Theres a comment in the view for this: Display connection status Dont style the contacts button yet, lets see what Barbara decides in the end.
4.summary: Messages: New privacy preference
description: In Moodle 3.6 the "Prevent non-contacts from messaging me" preference is now called "Accept messages from" and it has 3 options, see .
5.summary: Make message contacts a two-way approval process
description: In Moodle 3.6 message contacts are reciprocal relations and require approval from the other users, see . This feature is being developed for web and there is no UI design yet. Needed changes: Display list of pending contact requests. Approve / decline contacts requests. Handle notifications of contact requests. Use new web services for handling contacts. Dont allow sending messages to non-contacts depending on user preferences.
6.summary: Make conversations favouritable
description: See
7.summary: Support group conversations discussion view
description: Support group conversations
8.summary: Support searching within a conversation
description: Support searching within a conversation
9.summary: Add contact requests feature
description: Add contact requests feature
10.summary: Support the new discussions list view
description: The discussions list view has changed, we should support the new one in the app.
11.summary: Simplify messaging settings like in Moodle web
description: In 3.6 Moodle web simplified the message setting. We should do the same in the app.
