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

Migrate Profile to Jetpack Compose #6063

Open
neeldoshii opened this issue Dec 22, 2024 · 2 comments
Open

Migrate Profile to Jetpack Compose #6063

neeldoshii opened this issue Dec 22, 2024 · 2 comments
Assignees

Comments

@neeldoshii
Copy link
Contributor

This is a parent issue for overall improvement of Profile Section of Commons Application.

  1. Profile should use Retrofit instead of RxJava. Part of RxJava2 is "end of life" #4665
  2. Implement MVVM Architecture using ViewModel. Part of Migrate to Android Architecture Components #3379
  3. Implement Caching Mechanism for Achievements. Fixes Cache achievements for next use #2995
  4. Once all done. Migrate the Profile (Leaderboard, Achievements, Contributions) to Jetpack compose

Would you like to work on the issue?
Yes.

@neeldoshii
Copy link
Contributor Author

@nicolas-raoul
Do we use Achievements for beta accounts? I was trying to access the api on postman its returning Content-type: application/json . As far as I believe we restrict showing Achievements on beta flavour?

val suffix = if (isBetaFlavour) "/feedback.py?labs=commonswiki" else "/feedback.py"

Curl

curl --location 'https://tools.wmflabs.org/commons-android-app/tool-commons-android-app//feedback.py?labs=commonswiki&user=Devanonymous'

@nicolas-raoul
Copy link
Member

Achievements do not work for beta, you will have to use build flavor prodDebug. Thanks! :-)

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

No branches or pull requests

2 participants