openedx / openedx-app-android

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

[Android] Add upgrade banner in the FC47 Primary Course card view #340

Open moiz994 opened 4 weeks ago

moiz994 commented 4 weeks ago

Based on the changes implemented in FC47, the Learn tab has changed to show a primary course card instead of a course list. We need to incorporate the upgrade banner on the primary course card.

Example UI of new upgrade banner below: image

Copy of upgrade button should be the same as the current upgrade banner which is "Upgrade to access more features". Icon to replace the lock icon: https://www.figma.com/design/iZ56YMjbRMShCCDxqrqRrR/Open-edX-Mobile-App-All-Screens-v2.1?node-id=14959-174213&t=UtbU6epvpSMhxkYJ-4 image

moiz994 commented 4 weeks ago

@sdaitzman @ekangedx I've seen on the web somewhere that we used the trophy icon for upgrades instead of locks. It also helps us avoid confusion when using lock icons with users.

Let me know if the icon of choice works

sdaitzman commented 4 weeks ago

Hi @moiz994, thanks for tracking this, I agree this icon change makes sense! In anticipation of updating to that icon, I've added it to our icons on the Unified Components page.

There's an example of the primary course card with that icon in Figma here. I'll also add this to the next mobile design weekly agenda to confirm the decision, since I know some others on that call were interested in changing that icon.

moiz994 commented 3 weeks ago

sure, sounds good!