[BD-27][TNL-7891][BB-3539] Remove Empty Sections from cc2olx Conversions - ContextModuleSubHeader

Description

This PR fixes an issue related to empty sections while there are ``canvas`` items with content type ``ContextModuleSubHeader``. With this PR, ``cc2olx`` will treat these types of items as ``subsections`` and collapse related (consecutive) items under it as ``verticals``.

*JIRA tickets*:

~*Discussions*:~

*Dependencies*: None

~*Screenshots*:~

~*Sandbox URL*:~

*Merge deadline*: None

*Testing instructions*:

1. Pull this PR.
2. Find a canvas ``imscc`` file that contains ``ContextModuleSubHeader``, you can use the updated fixture with this PR.
3. Convert using ``cc2olx``.
4. Check that item after ``ContextModuleSubHeader`` collapsed into it as verticals.

*Author notes and concerns*:
N/A

*Reviewers*

  • [ ] @kaizoku

  • [ ] edX reviewer[s] TBD

Done

Assignee

Unassigned

Reporter

Open Source Pull Request Bot

Labels

Github Latest Action by edX

None

Github PR Last Updated At

None

Github PR Last Updated By

None

Github Organization

None

Customer

PR Number

44

Repo

edx/cc2olx

Contributor Name

Shimul Chowdhury

Github Latest Action

None

Platform Map Area (Levels 1 & 2)

None

Platform Map Area (Levels 3 & 4)

None

Blended Project Status Page

None

Github Lines Added

277

Github Lines Deleted

1

Priority

Unset