Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨(frontend) add faqs to a category and get them from a course #2517

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Tiago-Salles
Copy link

@Tiago-Salles Tiago-Salles commented Oct 16, 2024

We at NAU identified the need to provide more information according to the characteriscts of a course.

In quick words this PR includes:

  • add course_faq placeholder to category detail page
  • get the course_faq placeholder from the course detail page using the category id page

Purpose

Dynamically provide information according to a category business logic.

For exemplo using the category Available on edX.org we can describe how the learner will access this course on the next platform, wich in this case is edX.org. It would be an advantage as well in terms of payment methods, or promotional periods, as all the courses assigned to certain category will have their FAQ´s.

Proposal

Use the component

Utilize the Faq placeholder on the category detail page by creating their NestedItemPlugin items.

drawing

Configure an id

If not exists, define an id to the page. This will be the parameter used as the page_lookup to the show_placeholder tag.

drawing

Result

In this course we have the below categories

drawing

And for each one that has FAQ we show the content identifying where it comes from.



drawing

@Tiago-Salles Tiago-Salles changed the title ✨(frontend) add faqs to a category and get from a course ✨(frontend) add faqs to a category and them get from a course Oct 16, 2024
@Tiago-Salles Tiago-Salles changed the title ✨(frontend) add faqs to a category and them get from a course ✨(frontend) add faqs to a category and get them from a course Oct 16, 2024
@Tiago-Salles Tiago-Salles force-pushed the Tiago-Salles/faq-poc branch 3 times, most recently from 9efaa6d to cb0b00e Compare October 18, 2024 11:46
- add course_faq placeholder to category detail page
- get the course_faq placeholder from the course detail page using the category reverse_id page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant