Skip to content

Feat/user competitions issue 413#479

Merged
Olowodarey merged 2 commits intoArena1X:mainfrom
Francis6-git:feat/user-competitions-issue-413
Mar 29, 2026
Merged

Feat/user competitions issue 413#479
Olowodarey merged 2 commits intoArena1X:mainfrom
Francis6-git:feat/user-competitions-issue-413

Conversation

@Francis6-git
Copy link
Copy Markdown
Contributor

Implemented the backend logic to allow users to fetch their competition history, including ranks and scores. This PR also updates the UsersService to handle CompetitionParticipant data and ensures all unit tests are passing with the new dependencies.

Key Changes:
UsersService: Injected CompetitionParticipant repository.
New Method: Added findUserCompetitions with pagination and status filtering (Active/Completed).
Testing: Updated users.service.spec.ts to mock the new repository and added a test suite for competition retrieval.
Consistency: Maintained existing DTO structures and naming conventions used across the InsightArena backend.

Verification:

  • pnpm run lint passes.
  • pnpm run test passes
  • pnpm run build successful.

Closes #413

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
insight-arena-4rll Ready Ready Preview, Comment Mar 29, 2026 2:08pm

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 29, 2026

@Francis6-git Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Olowodarey Olowodarey merged commit 53dadf9 into Arena1X:main Mar 29, 2026
6 checks 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.

[Backend] User Profile - Get User's Competitions

2 participants