Skip to content

[Bug]: Provide the ability to view leaderboard of another user when logged out #5754

Description

@sivaraam

Summary

The app had been providing the ability to view another user's leaderboard through the Explore section. Specifically, when you click on an image in the "Explore" screen and tap on the "View user page" menu it opens up the uploader's profile/leaderboard and contributions. This is possible when the user has logged in. When the user is logged out, we show the "View user page" option but the same does not work as it should. We should explore the feasibility of providing the ability to view the user's leaderboard information even when the user of the app has not logged in.

Steps to reproduce

  1. Open the app when and make sure you are not logged in
  2. Click on an image from the "Explore" screen
  3. Tap on the overflow menu and click on the "View user page" option

Expected behaviour

The user profile information and the leaderboard information are shown clearly

Actual behaviour

We get a weird error saying our login token expired and ask us to login again. Check the below screen recording for an idea.

Device name

OnePlus Nord

Android version

Android 12

Commons app version

5.0.1

Device logs

No response

Screen-shots

Check this screen recording here: https://drive.google.com/file/d/1WVYMthF3_8Q3jcDMYa8RkJ2800r4sRNx/view?usp=sharing

Would you like to work on the issue?

None

Metadata

Metadata

Fields

No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions