-
Improvement
-
Resolution: Fixed
-
Minor
-
3.9
-
MOODLE_39_STABLE
-
MOODLE_39_STABLE
-
MDL-67263-master -
-
3
-
Activity Sprint 6, Activity Sprint 7, Activity Sprint 8
User Stories | Approach |
---|---|
As a teacher I should be able to search for elements in the modal based on title and information | |
As a teacher, i should be to see searched elements grouped by tabs | |
As a teacher I should be able to go back to the default view of the modal once I finish searching | Either by removing search or pressing back button |
As a teacher when I perform a search I should be able to see what triggered the result | Have this behave like the H5P search. Results are shown, but no context (if the search result is in the more info section). |
As a teacher, after i perform a search, I should be able to navigate between the information and search results seamlessly | When viewing details of an activity, after clicking back, the search should still be active. |
Acceptance criteria
- A search bar should be located at the top of the activity chooser when it is opened.
- Typing anything into the search bar should immediately start showing results (no need to click a search button).
- The search should search both the name, and the information to show a result.
- Search results should remove the tabs previously shown and show the results on the one page. Results should be categorised i.e. Starred, Recommended, Activities, H5P.
- There must be a way to quickly get back to the default state. Clearing the search box being one way. A back button being another. Please implement both.
- If there are no search results then a message should be displayed saying as much.
- The search results should remain intact while viewing information on an activity, or starring an activity.
- Behat tests must cover the above features.