Skip to content
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

Merged
merged 2 commits into from
Jan 25, 2024

Conversation

HamzaIsrar12
Copy link
Contributor

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:

Missed Deadlines Content Gating Enabled
Reset Dates ✔️
Upgrade to Graded ✔️
Info Banner
Upgrade to Reset ✔️ ✔️

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

Reset Dates Upgrade to Graded Info Banner Upgrade to Reset

Copy link
Contributor

@omerhabib26 omerhabib26 left a 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.

Copy link
Contributor

@omerhabib26 omerhabib26 left a 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

Copy link
Contributor

@k1rill k1rill left a 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

core/src/main/java/org/openedx/core/ui/theme/Shape.kt Outdated Show resolved Hide resolved
omerhabib26
omerhabib26 previously approved these changes Jan 25, 2024
Copy link
Contributor

@omerhabib26 omerhabib26 left a 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

k1rill
k1rill previously approved these changes Jan 25, 2024
Copy link
Contributor

@k1rill k1rill left a 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
Fixes: LEARNER-9730
@HamzaIsrar12
Copy link
Contributor Author

Rebased the branch.

@omerhabib26 or @k1rill Please re-approve the PR so I can merge it. 👍🏻

@HamzaIsrar12 HamzaIsrar12 merged commit aa832e2 into openedx:develop Jan 25, 2024
3 checks passed
@HamzaIsrar12 HamzaIsrar12 deleted the hamza/LEARNER-9730 branch January 25, 2024 16:59
@HamzaIsrar12 HamzaIsrar12 linked an issue Apr 4, 2024 that may be closed by this pull request
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.

[Android] Option "Shift due date"
3 participants