sensei
sensei copied to clipboard
Enable to show the course category
Goal
The goal of this card is to enable the show of the course categories list by course inside the Course List.
Scope
- Create a block to show the course categories list by course, following the query loop pattern.
- Show a list of course categories using the user-defined separator, following the post-category same pattern.
Settings

Tech Details
- Investigate the core Post Term
Screenshots
Acceptance Criteria:
Scenario 1: [Block-Editor] Course with one or more Course Categories
Given I have a course with one or more course category set
When I add the Course Category Block
to the Course List (Query Loop)
Then I should see the course category on the block editor on the courses with the course categories.
Scenario 2: [Block-Editor] Course doesn't have Course Category
Given I have a course with no course category
When I add the Course Category Block
to the Course List (Query Loop)
Then I should NOT see the course category.
Scenario 2: [Rendering] Course with Course Category
Given I am a student When I land on a page with a Course List Then I should see the list of course AND I should see OR NOT the courses categories
Scenario: [Click] Course with Course Category
Given I am a student When I land on a page with a Course List And I click on a course category Then I should be redirected to a list of courses filtered by category. ⚠️ To confirm.
We need to confirm:
- Should be possible to click on the course category?
- Should we use the same post-category block settings?
@Luchadores
@gabrielcaires that would be awesome, as we have filtering by category as well at the top of the list. Great catch! Thank you 🙌
Closing please reopen if still required.