Skip to content

Fix part of #6104: Add support for worked examples (GSoC 4.1 PR 2.1)#6318

Draft
Neer-rn wants to merge 7 commits into
oppia:developfrom
Neer-rn:worked-examples-tag-handler
Draft

Fix part of #6104: Add support for worked examples (GSoC 4.1 PR 2.1)#6318
Neer-rn wants to merge 7 commits into
oppia:developfrom
Neer-rn:worked-examples-tag-handler

Conversation

@Neer-rn

@Neer-rn Neer-rn commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Explanation

Fixes part of #6104

This PR as of now introduces the parser contract required for worked-example question and answer attributes, which can contain nested HTML.

Essential Checklist

  • The PR title starts with "Fix #bugnum: " (If this PR fixes part of an issue, prefix the title with "Fix part of #bugnum: ...".)
  • The explanation section above starts with "Fixes #bugnum: " (If this PR fixes part of an issue, use instead: "Fixes part of #bugnum: ...".)
  • Any changes to scripts/assets files have their rationale included in the PR explanation.
  • The PR follows the style guide.
  • The PR does not contain any unnecessary code changes from Android Studio (reference).
  • The PR is made from a branch that's not called "develop" and is up-to-date with "develop".
  • The PR is assigned to the appropriate reviewers (reference).

For UI-specific PRs only

Will upload when this gets ready for review.

@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 1754accc-5c39-457b-a7f9-c456c00ce4e0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown
Contributor

Coverage Report

Results

Number of files assessed: 5
Overall Coverage: 88.74%
Coverage Analysis: PASS

Passing coverage

Files with passing code coverage
File Coverage Lines Hit Status Min Required
MathTagHandler.ktutility/src/main/java/org/oppia/android/util/parser/html/MathTagHandler.kt
84.21% 96 / 114 70%
PolicyPageTagHandler.ktutility/src/main/java/org/oppia/android/util/parser/html/PolicyPageTagHandler.kt
93.94% 31 / 33 70%
ConceptCardTagHandler.ktutility/src/main/java/org/oppia/android/util/parser/html/ConceptCardTagHandler.kt
86.36% 19 / 22 70%
CustomHtmlContentHandler.ktutility/src/main/java/org/oppia/android/util/parser/html/CustomHtmlContentHandler.kt
86.62% 123 / 142 70%
ImageTagHandler.ktutility/src/main/java/org/oppia/android/util/parser/html/ImageTagHandler.kt
100.00% 62 / 62 70%

To learn more, visit the Oppia Android Code Coverage wiki page

@github-actions

Copy link
Copy Markdown
Contributor

Coverage Report

Results

Number of files assessed: 6
Overall Coverage: 88.98%
Coverage Analysis: PASS

Passing coverage

Files with passing code coverage
File Coverage Lines Hit Status Min Required
MathTagHandler.ktutility/src/main/java/org/oppia/android/util/parser/html/MathTagHandler.kt
84.21% 96 / 114 70%
PolicyPageTagHandler.ktutility/src/main/java/org/oppia/android/util/parser/html/PolicyPageTagHandler.kt
93.94% 31 / 33 70%
ConceptCardTagHandler.ktutility/src/main/java/org/oppia/android/util/parser/html/ConceptCardTagHandler.kt
86.36% 19 / 22 70%
CustomHtmlContentHandler.ktutility/src/main/java/org/oppia/android/util/parser/html/CustomHtmlContentHandler.kt
86.62% 123 / 142 70%
WorkedExampleTagHandler.ktutility/src/main/java/org/oppia/android/util/parser/html/WorkedExampleTagHandler.kt
100.00% 8 / 8 70%
ImageTagHandler.ktutility/src/main/java/org/oppia/android/util/parser/html/ImageTagHandler.kt
100.00% 62 / 62 70%

To learn more, visit the Oppia Android Code Coverage wiki page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant