[Feature Request]: Deprecate worked examples from the skills and add support for the worked examples rich text component
Is your feature request related to a problem? Please describe.
As part of this project in GSoC 2025, the Oppia Website underwent a change wherein worked examples, a part of the Skill entity, were deprecated and a new worked example Rich Text Component was created. Add support on Android for this.
Describe the solution you'd like
I believe the right way to go about doing this would be to:
- Deprecate the worked examples from the skill entity
- Create a parser for the workedexample Rich Text Component.
Describe alternatives you've considered
No response
Additional context
About the worked example Rich Text Component:
Its custom tag is <oppia-noninteractive-workedexample>. It has two content fields-- question and answer which are of type SubtitledHtml (basically the content in these fields is also rich text). Inside these fields, we only support the Image, Math and Skillreview Components so they should not require any additional tweaking as Android already supports these.
Currently it will only be present in the content of the study guides (subtitled_html) and the skills (review material).
Apart from this, the other challenge one could face is that currently no parsed entity on Android has a User Interactable Component (I might be wrong on this). The worked example has a dropdown on the solution part which can be used to show/hide the answer to the question. One thing to note is that this show/hide functionality is only applicable to the study guides and NOT the skills. The skills have a static component where the question and answer are visible all the time and cannot be collapsed/expanded. To implement that you can refer to the web implementation here: https://github.com/oppia/oppia/tree/develop/extensions/rich_text_components/Workedexample
Unassigning myself, currently working on GA prioritized issues.