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: Pre-login Exploration Enrolment Handling #169

Merged

Conversation

farhan-arshad-dev
Copy link
Contributor

Pre-login Exploration Enrolment Handling

  • Tapping the enroll button should lead the user to the logistration screen.
  • On successfully logging in or registering the user should return to the course about page in the native experience.
  • There needs to be a sticky bottom banner having the register and sign-in buttons a they explore discovery without logging in.
Screen_recording_20231218_174011.webm

@omerhabib26
Copy link
Contributor

I have started its review 💻

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 App is working fine as expected only some code improvements and suggestions.

Edge Case: What will be the flow of Enroll in a course if a user sign-in through the discovery screen and what's new is enabled?

omerhabib26
omerhabib26 previously approved these changes Dec 26, 2023
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 a minor nit

course?.let {
_uiState.value = CourseDetailsUIState.CourseData(
course = it,
isUserLoggedIn = corePreferences.user != null
Copy link
Contributor

Choose a reason for hiding this comment

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

we can use isUserLoggedIn

farhan-arshad-dev and others added 7 commits January 1, 2024 13:09
- On successfully logging in or registering the user should return to the course about page in the native experience.

fixes: LEARNER-9751
- Sticky bottom banner having the register and sign in buttons a they explore discovery without logging in

fixes: LEARNER-9751
Fixes: LEARNER-9751
@HamzaIsrar12
Copy link
Contributor

Taking on PR responsibilities during Farhan's leave for personal reasons. Ready to handle communication and address queries.

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 🚀

@HamzaIsrar12 HamzaIsrar12 merged commit 61f41b8 into openedx:develop Jan 2, 2024
3 checks passed
@farhan-arshad-dev farhan-arshad-dev deleted the farhan_ar/LEARNER-9751 branch June 24, 2024 06:01
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] Enrolment button handling in non-logged-in experience
4 participants