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

Resolves #2307 make achievements activity more visible #5442

Merged
merged 6 commits into from
Jan 17, 2024

Conversation

ShashwatKedia
Copy link
Contributor

Description (required)
The achievements activity needed to be made more discoverable to the users, so this PR aims to add their user level next to their username.

Fixes #2307

What changes did you make and why?
Stored the level of the user using BasicKvStore and displayed the user level next to their username in the menu. If the user level is unknown, then a (see your achievements) CTA is added.

Tests performed (required)

Tested prodDebug on OnePlus Nord CE 2 Lite with API level 31 and emulator Pixel 7 Pro with API Level 31.

Screenshots (for UI changes only)

Dark Mode:

When user level is unkown
Dark 1

When user level is known:
Dark 2

Light Mode:

When user level is unknown:
Light 1

When user level is known:
light 2

Copy link
Member

@nicolas-raoul nicolas-raoul left a comment

Choose a reason for hiding this comment

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

Thanks! :-)

@nicolas-raoul nicolas-raoul merged commit 1aa07f9 into commons-app:main Jan 17, 2024
1 check passed
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.

Make achievements activity more discoverable
2 participants