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: added ability to handle course errors #18

Merged
merged 4 commits into from
Aug 1, 2024

Conversation

omerhabib26
Copy link

Description:

  • Integrate and parse CourseEnrollmentDetails API
  • Handle CourseAccess Errors on course Dashboard
  • Update UI based on CourseAccess Errors.

figma: https://www.figma.com/design/iZ56YMjbRMShCCDxqrqRrR/Open-edX-Mobile-App-All-Screens-v2.2?node-id=10061-77377&t=Gmoit4lBJxrmRE9f-4

AuditExpiredNotUpgradeable AuditExpiredUpgradeable UnknownError CourseNotYetStarted

Copy link
Collaborator

@dixidroid dixidroid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just small UI inaccuracies

missed details:

The button design does not match Figma (text and landscape mode)

@omerhabib26
Copy link
Author

Hey @dixidroid, Moiz approved these changes as we have to open a Modal for purchase that's why we hide that UI part, and the button design is common for whole app.

@dixidroid dixidroid self-requested a review July 29, 2024 10:13
Copy link
Member

@farhan-arshad-dev farhan-arshad-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm supposed to review the IAP flow and found the following issue.

Data is not getting refreshed after the completion of IAP flow when the user doesn't have the course access.

- Integrate and parse CourseEnrollmentDetails API
- Handle CourseAccess Errors on course Dashboard
- Update UI based on CourseAccess Errors.

fix:LEARNER-10019
Copy link
Member

@farhan-arshad-dev farhan-arshad-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The IAP Flow from the course dashboard screen is working fine for me.

@omerhabib26 omerhabib26 merged commit 9e89d94 into 2U/develop Aug 1, 2024
4 checks passed
@omerhabib26 omerhabib26 deleted the omer/LEARNER-10019 branch August 1, 2024 11:47
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.

3 participants