Skip to content

Fix/streaks in home page and profile page

Mukthanand Reddy M requested to merge fix/streaks into develop

Description:

Fixes streak data handling on the frontend by ensuring the home page and own profile page fetch streaks from the detailed profile API instead of relying on /auth/me, which does not include streak fields. Also updates the profile contribution dashboard to use the backend-provided streak value for consistency.

Type of Change:

  • Bug Fix
  • Feature Development
  • Documentation

Testing:

  • Tested on desktop
  • Tested on mobile
  • Tested in different browsers

Screenshots (if applicable): image

image

Video Demo

Add a link to the demo of the PR

If you have used AI create this PR, please also record video of yourself explaining the changes.

Link to code walkthrough

Checklist:

  • Code follows project style guidelines
  • Self-review completed
  • No console errors
  • TypeScript types are correct

**Closes #313

Edited by Mukthanand Reddy M

Merge request reports

Loading