Skip to content

added checkmark upon task completion for individual users#11

Merged
ranuru merged 1 commit into
developmentfrom
10-featureadd-task-completion-visual
May 8, 2026
Merged

added checkmark upon task completion for individual users#11
ranuru merged 1 commit into
developmentfrom
10-featureadd-task-completion-visual

Conversation

@ranuru

@ranuru ranuru commented May 8, 2026

Copy link
Copy Markdown
Owner

This pull request adds a "completed" indicator to the challenge list page, allowing users to see which challenges they have passed. The main changes involve updating the frontend to display a checkmark for completed challenges and extending the backend to provide the necessary data.

Frontend enhancements:

  • Added a new column to the challenges table in ChallengeListPage.jsx to display a checkmark () for challenges the user has passed. [1] [2]
  • Updated the data fetching logic in ChallengeListPage.jsx to request both the list of challenges and the list of passed challenge IDs from the backend, storing the passed IDs in component state.

Backend API additions:

  • Added a new endpoint /submissions/me/passed in SubmissionController.java that returns the IDs of challenges the current user has passed.
  • Added a repository method findByUserAndStatus in SubmissionRepository.java to support fetching passed submissions.

@ranuru ranuru self-assigned this May 8, 2026
@ranuru ranuru linked an issue May 8, 2026 that may be closed by this pull request
@ranuru
ranuru merged commit ff329ba into development May 8, 2026
2 checks passed
@ranuru
ranuru deleted the 10-featureadd-task-completion-visual branch May 8, 2026 10:42
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.

feature/add task completion visual

1 participant