Consistently use display_name_with_default in Studio - #7496
Conversation
|
Thanks for the pull request, @bradenmacdonald! I've created OSPR-472 to keep track of it in JIRA. JIRA is a place for product owners to prioritize feature reviews by the engineering development teams. Feel free to add as much of the following information to the ticket:
All technical communication about the code itself will still be done via the Github pull request interface. As a reminder, our process documentation is here. |
|
👍 from me. @cpennington or @nedbat - would one of you be able to quickly review this? |
|
👍 |
|
One question before I Merge - if a block implements |
|
@sarina There is a default implementation of |
|
@bradenmacdonald ah awesome - thanks for the clarification. |
Consistently use display_name_with_default in Studio
A one-line fix for Studio + acceptance test.
Description: If an XBlock has no
display_nameset but instead implementsdisplay_name_with_default, Studio sometimes uses the latter and sometimes just uses the block type instead. This is a one-line fix to address that inconsistency.Discussions: Discussed with Cale and Ned at open-craft/xblock-mentoring#4 (comment)
Sandbox: Active at http://sandbox.opencraft.com:18010/ though if it's working it should be indistinguishable from normal.
Partner information: hosted on edx.org (Harvard)
Merge timeline: TBD... but hoping this can get in quickly as it is a fix used by the mentoring v2 block that is almost finished its review.
Notes: Not sure if we want a full bok choy test for this, but I wrote one and am including it for now. The test does fail without this fix.