Skip to content

Use extracted HTML block base for About, StaticTab, CourseInfo #37718

Closed

Description

@kdmccormick

Current state

xblocks-contrib has:

  • class HtmlBlock

edx-platform has:

  • class HtmlBlockMixin
  • class _BuiltinHtmlBlock(HtmlBlockMixin)
  • class CourseInfoBlock(HtmlBlockMixin)
  • class AboutBlock(HtmlBlockMixin)
  • class StaticTabBlock(HtmlBlockMixin)
  • HtmlBlock = xblocks-contrib.HtmlBlock if extracted_flag else _BuiltinHtmlBlock

Desired state for rollout

xblocks-contrib has:

  • class HtmlBlockMixin
  • class HtmlBlock(HtmlBlockMixin)

edx-platform has:

  • class _BuiltinHtmlBlockMixin
  • class _BuiltinHtmlBlock(_BuiltinHtmlBlockMixin)
  • HtmlBlockMixin = xblocks-contrib.HtmlBlockMixin if extracted_flag else _BuiltinHtmlBlockMixin
  • class CourseInfoBlock(HtmlBlockMixin)
  • class AboutBlock(HtmlBlockMixin)
  • class StaticTabBlock(HtmlBlockMixin)
  • HtmlBlock = xblocks-contrib.HtmlBlock if extracted_flag else _BuiltinHtmlBlock

Desired final state

xblock-contrib has:

  • class HtmlBlockMixin
  • class HtmlBlock(HtmlBlockMixin)

edx-platform has:

  • class CourseInfoBlock(xblocks-contrib.HtmlBlockMixin)
  • class AboutBlock(xblocks-contrib.HtmlBlockMixin)
  • class StaticTabBlock(xblocks-contrib.HtmlBlockMixin)

Activity

  1. kdmccormick commented on Dec 3, 2025

    @kdmccormick
    MemberAuthor

    I've assigned you @ttqureshi but feel free to reassign to anyone as appropriate

  2. self-assigned this
    on Dec 11, 2025
  3. moved this to 📋 Backlog in Aximprovements Teamon Dec 11, 2025
  4. feanil commented on Dec 11, 2025

    @feanil
    Contributor

    @ttqureshi I know you're going on leaves soon, @salman2013 can you work with @ttqureshi and pick up this work next if he's unable to get to it?

  5. salman2013 commented on Dec 12, 2025

    @salman2013
    Contributor

    @feanil noted, thanks

  6. moved this from 📋 Backlog to 🏗 In progress in Aximprovements Teamon Dec 17, 2025
  7. salman2013 commented on Dec 19, 2025

    @salman2013
    Contributor

    PR on edx-platform : #37757
    PR on xblocks-contrib: https://github.com/openedx/xblocks-contrib/pull/122/changes

  8. moved this from 🏗 In progress to 👀 In review in Aximprovements Teamon Jan 1, 2026
  9. moved this from 👀 In review to ✅ Done in Aximprovements Teamon Jan 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions