-
Notifications
You must be signed in to change notification settings - Fork 25
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
feat: Course Dates Banner #197
feat: Course Dates Banner #197
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.
The swipe loader icon is cutting from half when visible.
else only some minor code improvements.
course/src/main/java/org/openedx/course/presentation/dates/CourseDatesViewModel.kt
Outdated
Show resolved
Hide resolved
course/src/main/java/org/openedx/course/presentation/dates/CourseDatesViewModel.kt
Show resolved
Hide resolved
course/src/main/java/org/openedx/course/presentation/dates/CourseDatesViewModel.kt
Outdated
Show resolved
Hide resolved
course/src/main/java/org/openedx/course/presentation/ui/CourseUI.kt
Outdated
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.
Only some minor nits and improvements
core/src/main/java/org/openedx/core/domain/model/CourseDatesBannerInfo.kt
Outdated
Show resolved
Hide resolved
core/src/main/java/org/openedx/core/domain/model/CourseDatesBannerInfo.kt
Outdated
Show resolved
Hide resolved
core/src/main/java/org/openedx/core/domain/model/CourseDatesBannerInfo.kt
Outdated
Show resolved
Hide resolved
core/src/main/java/org/openedx/core/domain/model/CourseDatesBannerInfo.kt
Outdated
Show resolved
Hide resolved
core/src/main/java/org/openedx/core/domain/model/CourseDatesBannerInfo.kt
Outdated
Show resolved
Hide resolved
course/src/main/java/org/openedx/course/presentation/ui/CourseUI.kt
Outdated
Show resolved
Hide resolved
course/src/main/java/org/openedx/course/presentation/ui/CourseUI.kt
Outdated
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.
Good, just one question
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 🚀
Please rebase it before merging
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.
Approved
Fixes: LEARNER-9730
0198e8d
to
9bbbbc7
Compare
Fixes: LEARNER-9730
Rebased the branch. @omerhabib26 or @k1rill Please re-approve the PR so I can merge it. 👍🏻 |
Course Dates Banner
This pull request displays the course dates banner, leveraging API responses and introducing logic for various scenarios.
The cases are succinctly described as follows:
Note: For instructor-paced courses, the "Upgrade to Graded" case is the sole consideration. The logic for these cases is outlined in the codebase.
Images