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

refactor: Add IDs to elements of landing, login, register, and what's new screens #189

Merged

Conversation

farhan-arshad-dev
Copy link
Contributor

Description

Add IDs to elements of landing, login, register, and what's new screens.

Landing Screen:

  • The title under the App logo (Courses and programs from the world's best universities in your pocket)
  • Text: (What do you want to learn?)
  • Textfield (Search our 3000+ courses)
  • Button: (Explore all courses)
  • Button: Register
  • Button: Sign in

Login Screen:

  • Title: (Sign In)
  • Text: (Welcome back! Please authorize to continue.)
  • Email and Password (Labels and TextFields)
  • Button: (Forgot password?)
  • Button (Sign In)
  • Text: (Or sign in with:)
  • Buttons: (Sign in with Google, Facebook, Microsoft and Apple)
  • On Forgot password page (Title, Text, Email label, Email field and Reset password button)

Register Screen:

  • Title: (Sign up)
  • Text: (Create new account.)
  • All Input Fields with Labels and notes under the Fields (Full name, public name, email, password)
  • Add ID and text: (Country or Region of Residence dropdown and its label)
  • ID to all buttons (Create account, Register with facebook, Microsoft and Apple)
  • Dropdowns: (Highest education and Gender)
  • Dropdown values (Country, education and Gender)

Whats new screen:

  • Title and Close Button
  • Next, Previous & Done Buttons

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.

Great work overall. Minor nits only.

ps: I will coordinate with Bilal as well for verification.

@@ -276,7 +291,9 @@ private fun SocialLoginView(
) {
if (state.isGoogleAuthEnabled) {
OpenEdXOutlinedButton(
modifier = buttonWidth.padding(top = 24.dp),
modifier = buttonWidth
.testTag("btn_google_auth")
Copy link
Contributor

Choose a reason for hiding this comment

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

Would providing the ID to the Text Field inside the Row container be beneficial for Bilal? Same goes for other Social Buttons as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, requested by the Automation team. assign the id to the Text.

…n screen

- Title: (Sign In)
- Text: (Welcome back! Please authorize to continue.)
- Email and Password (Labels and TextFields)
- Button: (Forgot password?)
- Button (Sign In)
- Text: (Or sign in with:)
- Buttons: (Sign in with Google, Facebook, Microsoft and Apple)
- On Forgot password page (Title, Text, Email label, Email field and Reset password button)

fixes: LEARNER-9726
…ster screen

- Title: (Sign up)
- Text: (Create new account.)
- All Input Fields with Labels and notes under the Fields (Full name, public name, email, password)
- Add ID and text: (Country or Region of Residence dropdown and its label)
- ID to all buttons (Create account, Register with facebook, Microsoft and Apple)
- Dropdowns: (Highest education and Gender)
- Dropdown values (Country, education and Gender)

fixes: LEARNER-9726
- The title under the App logo (Courses and programs from the world's best universities in your pocket)
- Text: (What do you want to learn?)
- Textfield (Search our 3000+ courses)
- Button: (Explore all courses)
- Button: Register
- Button: Sign in

fixes: LEARNER-9726
- Title and Close Button
- Next, Previous & Done Buttons
- fix crash on whats new screen

fixes: LEARNER-9726
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.

LGTM, also checked it with Bilal Awan. 👍🏻

@bilalawan321
Copy link

Hey @farhan-arshad-dev
I have verified that I can now see IDs on all the elements.

@farhan-arshad-dev farhan-arshad-dev merged commit e31d96c into openedx:develop Jan 22, 2024
3 checks passed
@farhan-arshad-dev farhan-arshad-dev deleted the farhan_ar/LEARNER-9726 branch January 22, 2024 10:36
omerhabib26 pushed a commit to omerhabib26/openedx-app-android that referenced this pull request Jan 22, 2024
… new screens (openedx#189)

refactor: add unique ID for all input fields and their titles in login screen

- Title: (Sign In)
- Text: (Welcome back! Please authorize to continue.)
- Email and Password (Labels and TextFields)
- Button: (Forgot password?)
- Button (Sign In)
- Text: (Or sign in with:)
- Buttons: (Sign in with Google, Facebook, Microsoft and Apple)
- On Forgot password page (Title, Text, Email label, Email field and Reset password button)

refactor: add unique ID for all input fields and their titles in Register screen

- Title: (Sign up)
- Text: (Create new account.)
- All Input Fields with Labels and notes under the Fields (Full name, public name, email, password)
- Add ID and text: (Country or Region of Residence dropdown and its label)
- ID to all buttons (Create account, Register with facebook, Microsoft and Apple)
- Dropdowns: (Highest education and Gender)
- Dropdown values (Country, education and Gender)

refactor: add a Unique ID for Landing Screen

- The title under the App logo (Courses and programs from the world's best universities in your pocket)
- Text: (What do you want to learn?)
- Textfield (Search our 3000+ courses)
- Button: (Explore all courses)
- Button: Register
- Button: Sign in

refactor: add a Unique ID for What's new Screen

- Title and Close Button
- Next, Previous & Done Buttons
- fix crash on whats new screen

fixes: LEARNER-9726
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.

5 participants