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 webView based myPrograms #176

Merged
merged 13 commits into from
Jan 22, 2024

Conversation

omerhabib26
Copy link
Contributor

@omerhabib26 omerhabib26 commented Jan 7, 2024

Description:

  • Create Separate directories for Dashboard & MyPrograms
  • Added webView-based myPrograms
  • Added config dic for myPrograms
  • Move URI_SCHEME to class level in config
  • Update TestCases for some classes

Ref: Issue: 157

Copy link
Contributor

@HamzaIsrar12 HamzaIsrar12 left a comment

Choose a reason for hiding this comment

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

Points from manual & initial review:

  • Please implement swipe refresh for Program screen
  • Program WebView:
    1. Clicking on an enrolled course should redirect that course
    2. Clicking on an un-erolled course should redirect to Discover's course info screen
    3. Clicking on enroll button should enrol and redirect the user to that course

Copy link
Contributor

@HamzaIsrar12 HamzaIsrar12 left a comment

Choose a reason for hiding this comment

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

Features to look into:

  • Swipe to refresh
  • Snackbar after successful course enrollment
  • "Explore new Courses" button in Programs WebView

Copy link
Contributor

@HamzaIsrar12 HamzaIsrar12 left a comment

Choose a reason for hiding this comment

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

Minor nits only.

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.

only some nits

HamzaIsrar12
HamzaIsrar12 previously approved these changes Jan 15, 2024
Copy link
Contributor

@HamzaIsrar12 HamzaIsrar12 left a comment

Choose a reason for hiding this comment

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

Approved from my side, please proceed with the merge after addressing Kirill's feedback. 🚀

@miankhalid miankhalid linked an issue Jan 16, 2024 that may be closed by this pull request
1 task
@@ -153,4 +157,6 @@ val appModule = module {
factory { FacebookAuthHelper() }
factory { GoogleAuthHelper(get()) }
factory { MicrosoftAuthHelper() }

single<EnrollInCourseInteractor> { get<CourseInteractor>() }
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to keep this dependency as a singleton?
CourseInteractor, by nature, does not keep any state or data, so it seems there is no reason to keep EnrollInCourseInteractor as singleton.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated

k1rill
k1rill previously approved these changes Jan 22, 2024
@k1rill k1rill self-requested a review January 22, 2024 12:42
k1rill
k1rill previously approved these changes Jan 22, 2024
- Add config dict for myPrograms
- Move URI_SCHEME to file level

fix: LEARNER-9715
- Move dashboard files to a separate directory
- Updated test cases where needed

fix: LEARNER-9715
- Added webView based myPrograms
- Behavior reflects the current prod app behaviour

fix: LEARNER-9715
@omerhabib26 omerhabib26 dismissed stale reviews from k1rill and volodymyr-chekyrta January 22, 2024 13:08

The merge-base changed after approval.

@omerhabib26 omerhabib26 merged commit 1948e3c into openedx:develop Jan 22, 2024
3 checks passed
@omerhabib26 omerhabib26 deleted the omer/LEARNER-9715 branch January 22, 2024 13:36
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] Webview Programs Experience
5 participants