sensei icon indicating copy to clipboard operation
sensei copied to clipboard

Enable to show the course category

Open gabrielcaires opened this issue 2 years ago • 2 comments

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

Screen Shot 2022-08-03 at 16 23 03 - ⚠️ Please, check themes that support link colors like the Twenty Twenty Two to see the link color settings.

Tech Details

Screenshots

Image

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.

gabrielcaires avatar Aug 03 '22 18:08 gabrielcaires

We need to confirm:

  • Should be possible to click on the course category?
  • Should we use the same post-category block settings?

@Luchadores

gabrielcaires avatar Aug 03 '22 19:08 gabrielcaires

@gabrielcaires that would be awesome, as we have filtering by category as well at the top of the list. Great catch! Thank you 🙌

Luchadores avatar Aug 04 '22 08:08 Luchadores

Closing please reopen if still required.

gikaragia avatar Dec 05 '22 10:12 gikaragia