Skip to content

APPS-3853 Fix incorrect streak display#992

Open
XanderZhu wants to merge 1 commit into
feature/login-ui-updatefrom
feature/APPS-3853
Open

APPS-3853 Fix incorrect streak display#992
XanderZhu wants to merge 1 commit into
feature/login-ui-updatefrom
feature/APPS-3853

Conversation

@XanderZhu

@XanderZhu XanderZhu commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

YouTrack task: APPS-3853

Description List:

  • Fix incorrect streak display caused by calculating user streak counters from the limited user-activities pins array.
  • Use GET /api/user-activity-summaries/{user_id} as described in docs/APPS-3853.md.
  • Display current streak from recent_strike, max streak from max_strike, and active/continue state from solved_today > 0.
  • Keep pins for activity graph data and leave the old user-activities endpoint/helpers for compatibility.
  • Update profile activities, home streak, post-login streak dialog, and streak notifications.
  • Add unit coverage for profile activity mapping and streak notification branching.

Testing:

  • ./gradlew :app:compileDebugKotlin - passed.
  • ./gradlew :app:compileDebugUnitTestKotlin - blocked by existing unrelated SocialConsentMapperTest.kt references to missing SocialNetwork.TWITTER.

@XanderZhu XanderZhu self-assigned this Jun 18, 2026
@XanderZhu XanderZhu requested a review from tikhokhod June 18, 2026 16:55
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.

1 participant