-
Sub-task
-
Resolution: Done
-
Major
-
4.0.2
-
-
MOODLE_400_STABLE
-
MOODLE_401_STABLE
-
Moodle App 4.1.0
The "new" forum WebService (I think it was added in 3.7) supports groups, so we should display a group selector in forum if the WebService is available.
Result of shaping:
- We will display the group selector at the top, with a line divider at the top of the selector to differentiate it from the header.
- Changing the group will perform a WS request (if not cached) to detect if the user can add a discussion in the selected group or not. This will remove the FAB and display an informative message if needed.
- It can happen that a user posts a new discussion in a group that is not the group he's viewing right now, so he won't see the new discussion. We thought that, to solve that, we should always display a Toast when adding a new discussion:
- If the forum has no groups or the user posted in all participants, it should just say something like: Discussion posted successfully.
- If the user posted in a certain group, it should say something like: Discussion posted successfully in group "My awesome group". These texts need to be validated with UX writing team.
- Before this patch, when downloading the forum we downloaded posts for all sort orders. We decided that now that we have groups we'll only download posts for the selected sort order, and only for All participants. If the user cannot view all participants (e.g. student in separate groups) we'll download the groups the user belongs to.
- is blocked by
-
MDL-74864 Allow specifying forum discussion group in behat generators
- Closed
- Testing discovered
-
MOBILE-4177 Empty box height is too high when used in split view
- Closed
-
MOBILE-4178 Indicate which groups the user belongs to in group selector
- Open
-
MOBILE-4179 Don't display group selector if the user can only see one group
- Open
-
MOBILE-4181 UX: Forum configured with groups, when creating a post for all groups on LMS the group is not shown while in the app is shown 'All participants'
- Open
-
MOBILE-4192 Revise selectors when offline/online situations
- Open