-
Notifications
You must be signed in to change notification settings - Fork 29
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
New: Allow course item title to be overridden (fixes #205) #208
Conversation
While the original issue was just for overriding the course title, it's just as easy (and possibly useful) to allow all titles to be overridden. For components, this could be used when the component title is really long and we want to use something much shorter for the PLP item. @oliverfoster Before I do any further work (schemas, documentation), thoughts on this approach? Or should I just restrict this to course-level config? |
I went ahead and applied this at all levels: course, contentObject, article, block, and component. Ready for review. |
We have As far as I understand, What is the use-case when the two original attributes are insufficient? |
I believe you're right in that this is not needed. If I recall correctly, we had an issue where we wanted a Page Nav component's title in the PLP to be different from what's shown in the component. So, we changed the I'll pull this feature from contentObjects, articles, blocks, and components, leaving it only for course config. |
That seems sensible. The course model Obviously, |
Yep, that's what I was thinking. Keep it as a "hidden" feature but don't explicitly call it out in the documentation or schemas. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as expected thanks
🎉 This PR is included in version 7.5.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Fixes #205
New
title
field isn't required.Update
Testing
In course.json, add a
title
property like: