✨(frontend) add faqs to a category and get them from a course #2517
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We at NAU identified the need to provide more information according to the characteriscts of a course.
In quick words this PR includes:
course_faq
placeholder to category detail pagecourse_faq
placeholder from the course detail page using the category id pagePurpose
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 theirNestedItemPlugin
items.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.Result
In this course we have the below categories
And for each one that has FAQ we show the content identifying where it comes from.