-
Notifications
You must be signed in to change notification settings - Fork 533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #161: Exploration player contentcard supports rich-text #189
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@veena14cs Thanks.
I have taken an overview review of this PR, finish these and later on I can take in-depth look at this PR.
app/src/main/java/org/oppia/app/player/content/ContentCardAdapter.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/app/player/content/ContentCardAdapter.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/app/player/content/ContentCardAdapter.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/app/player/content/ContentCardAdapter.kt
Outdated
Show resolved
Hide resolved
@veena14cs Please add test-cases for this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@BenHenning PTAL final review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @veena14cs! This PR looks really solid, however I'd really like us to submit the image parser separately since I want to spend a bit more time looking at it in isolation, and seeing tests for it.
At a high-level, we should also be adding tests for all new UI components being introduced, we should ensure that we're using domain models instead of GAE models, and we should hook into domain controllers rather than faking out data in the UI (only fake data if there isn't a controller available, and please let me know right away if that happens since the infrastructure team is actively working to keep UI structure work unblocked).
Please let me know if you have any concerns or doubts with any of these. My intent is to ensure that there's as little work as possible beyond layouts and animations when finalizing these UIs later on. Ie, we should try to get the code structure itself as close to final as possible with these PRs.
app/src/main/java/org/oppia/app/player/content/ContentCardAdapter.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/app/player/content/ContentCardAdapter.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/app/player/content/ContentCardAdapter.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/app/player/content/ContentCardAdapter.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/app/player/content/ContentListFragmentPresenter.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/app/player/content/ContentListFragmentPresenter.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/app/player/content/ContentListFragmentPresenter.kt
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM @veena14cs Please add test-cases for this PR
Duplicate of this PR is created here. |
Explanation
This PR is replica of #125. It includes rich-text component that parses HTML content. This PR also extracts image from the HTML content.