openedx / openedx-app-ios

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

[iOS] Full screen loader whille course is upgarding #405

Open moiz994 opened 2 months ago

moiz994 commented 2 months ago

While implementing IAP on the legacy apps, it was seen that after processing the payments it takes some time for the course to upgrade. Considering design heuristics and for a more interactive approach, we have implemented a full-screen loader to show while the learners wait for their course to be upgraded.

Acceptance criteria:

Current implementation: Video Demo

Screenshot 2024-04-19 at 1 45 49 PM
moiz994 commented 2 weeks ago

@forgotvas @saeedbashir we need to update the rocket illustration to the following rocket icon in order to match the schema design system.



https://fonts.google.com/icons?selected=Material+Symbols+Outlined:rocket_launch:FILL@0;wght@400;GRAD@0;opsz@24&icon.query=rocket&icon.size=24&icon.color=%235f6368

Image

forgotvas commented 2 weeks ago
@moiz994, like this? Light Dark
Simulator Screenshot - iPhone 15 - 2024-06-11 at 17 42 41 Simulator Screenshot - iPhone 15 - 2024-06-11 at 17 44 26
moiz994 commented 2 weeks ago

@forgotvas is it possible to reduce the stroke on the rocket?

forgotvas commented 2 weeks ago

@moiz994

Dark Light
Simulator Screenshot - iPhone 15 - 2024-06-12 at 12 15 35 Simulator Screenshot - iPhone 15 - 2024-06-12 at 12 15 27
moiz994 commented 2 weeks ago

@forgotvas thanks, the stroke looks better but lets get some advice from the design team.

@sdaitzman & @ekangedx can you guys share some design input here? Since the schema design system does not have the illustrations we're trying to add material design icons to match up with the design system. What do you think the screen should look like?

sdaitzman commented 2 weeks ago

Hi @moiz994, I wonder if we can implement something similar to the limited course states graphics using the rocket_launch Material Design icon? image

moiz994 commented 1 week ago

@sdaitzman looking at this, I think we can reduce the icon and text size. The order imo should be rocket, text, loader.

moiz994 commented 6 days ago

@sdaitzman looking at all the possible places where learners can upgrade and the flow, we can not show the course header like the limited course states for now.

Here's a quick design by me that I think we can use for now:

@forgotvas please have a look at the above loading screen and let me know if there are any questions.

forgotvas commented 6 days ago
hi, @moiz994, what about horizontal mode? What do you like? 1 2
Simulator Screenshot - iPhone 15 - 2024-06-24 at 21 04 56 Simulator Screenshot - iPhone 15 - 2024-06-24 at 21 06 31
moiz994 commented 6 days ago

2 looks good! 👏🏻