openedx / openedx-app-ios

The mobile app for iOS for the Open EdX Platform.
Apache License 2.0
19 stars 13 forks source link

feat: [FC-0047] Account Settings and Profile split #397

Closed IvanStepanok closed 1 month ago

IvanStepanok commented 2 months ago

Split account settings and the user profile

Design: https://www.figma.com/file/iZ56YMjbRMShCCDxqrqRrR/Open-edX-Mobile-App-All-Screens-v2.1?type=design&node-id=0-1&mode=design

Quick demo:

Setting button on Discover, Dashboard and Profile screens. ezgif-1-d38260a5e3

Light and Dark themes:

Simulator Screenshot - iPhone 15 Pro Max - 2024-04-19 at 11 58 20 Simulator Screenshot - iPhone 15 Pro Max - 2024-04-19 at 11 58 17

Settings screen:

Simulator Screenshot - iPhone 15 Pro Max - 2024-04-19 at 11 58 59 Simulator Screenshot - iPhone 15 Pro Max - 2024-04-19 at 11 59 00

Manage account:

Simulator Screenshot - iPhone 15 Pro Max - 2024-04-19 at 12 03 53 Simulator Screenshot - iPhone 15 Pro Max - 2024-04-19 at 12 03 51

Landscape:

Simulator Screenshot - iPhone 15 Pro Max - 2024-04-19 at 11 59 30 Simulator Screenshot - iPhone 15 Pro Max - 2024-04-19 at 11 59 22

Ipad:

Simulator Screenshot - iPad mini (6th generation) - 2024-04-19 at 11 59 12 Simulator Screenshot - iPad mini (6th generation) - 2024-04-19 at 11 59 09

openedx-webhooks commented 2 months ago

Thanks for the pull request, @IvanStepanok! Please note that it may take us up to several weeks or months to complete a review and merge your PR.

Feel free to add as much of the following information to the ticket as you can:

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.

Please let us know once your PR is ready for our review and all tests are green.

volodymyr-chekyrta commented 2 months ago

@IvanStepanok, please check this, the profile data in ProfileView does not change if I change it on the manage account screen.

https://github.com/openedx/openedx-app-ios/assets/127732735/d33b2499-5664-4dc9-a07c-d9e78829efb2

forgotvas commented 2 months ago

Please add navigation titles for each controller and fix long tap back navigation:

https://github.com/openedx/openedx-app-ios/assets/480059/7c057280-dd18-4c0d-9450-e7185ff40261

forgotvas commented 2 months ago

Is that design decision to hide info on profile overview? In develop build i can see "year of birth" and "bio", in that branch only bio and only on profile screen:

develop profile Manage account
Simulator Screenshot - iPad (10th generation) - 2024-04-22 at 14 52 21 Simulator Screenshot - iPad (10th generation) - 2024-04-22 at 14 52 22 Simulator Screenshot - iPad (10th generation) - 2024-04-22 at 14 52 42
IvanStepanok commented 2 months ago

Hi @forgotvas and thanks for the review! The year of birth was removed by design, it's true, I double-checked it: https://www.figma.com/file/iZ56YMjbRMShCCDxqrqRrR/Open-edX-Mobile-App-All-Screens-v2.1?type=design&node-id=0-1&mode=design

I fixed the back buttons and titles in the video settings too. Thanks!🙏

https://github.com/openedx/openedx-app-ios/assets/128456094/1c58c108-68f7-4c21-9385-b3846fa159fc

shafqat-muneer commented 2 months ago

Started reviewing PR

shafqat-muneer commented 2 months ago

The location of the back button varies across screens in landscape mode.

Screens
Simulator Screenshot - iPhone 12 (17 2) - 2024-04-26 at 16 21 46
Simulator Screenshot - iPhone 12 (17 2) - 2024-04-26 at 16 30 26
Simulator Screenshot - iPhone 12 (17 2) - 2024-04-26 at 16 30 42
IvanStepanok commented 2 months ago

Thank you, @shafqat-muneer, for the review! All requests have been satisfied. Ready for another pass 🙌

shafqat-muneer commented 2 months ago

@IvanStepanok Thank you for considering the feedback. 🎉 Overall, I have a few additional minor observations that might require attention.

Settings Manage Account
Simulator Screenshot - iPhone 15 - 2024-05-01 at 12 58 06 Simulator Screenshot - iPhone 15 - 2024-05-01 at 12 58 10
Video download quality Video settings
Simulator Screenshot - iPhone 15 - 2024-05-01 at 12 51 01 Simulator Screenshot - iPhone 15 - 2024-05-01 at 12 51 04

https://github.com/openedx/openedx-app-ios/assets/11990137/c138dbdd-5c6a-4f7a-8f8c-4909858a058f

IvanStepanok commented 1 month ago

Hi, @shafqat-muneer, and thanks for the review! All problems are fixed. 🙌 Simulator Screenshot - iPhone 15 - 2024-05-03 at 15 59 11 Simulator Screenshot - iPhone 15 - 2024-05-03 at 15 59 09 Simulator Screenshot - iPhone 15 - 2024-05-03 at 15 59 06 Simulator Screenshot - iPhone 15 - 2024-05-03 at 15 37 24 Simulator Screenshot - iPhone 15 - 2024-05-03 at 15 37 22 Simulator Screenshot - iPhone 15 - 2024-05-04 at 14 05 12

shafqat-muneer commented 1 month ago

@IvanStepanok Thanks for addressing the feedback. 🎉 All changes LGTM 👍. PR is approved.

It seems minor indentation / formatting related comments are missed. Please also address them before merge.

Separate issue is create here for this observed problem.

Finally, although it may not be directly related to the changes made in this pull request, I noticed it while reviewing the PR. We might want to address it in a separate PR. In the pre-login user experience, the course details aren't opening; it consistently shows an error.

IvanStepanok commented 1 month ago

Hi, @shafqat-muneer, please take a look 🙌

shafqat-muneer commented 1 month ago

Hi @IvanStepanok Thanks LGTM 👍

openedx-webhooks commented 1 month ago

@IvanStepanok 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future.