Skip to content

Prod - April release#12

Merged
jmgasper merged 1 commit intomasterfrom
develop
Apr 14, 2026
Merged

Prod - April release#12
jmgasper merged 1 commit intomasterfrom
develop

Conversation

@jmgasper
Copy link
Copy Markdown
Contributor

Additional details to help with showing data in the wallet-admin app

@kkartunov kkartunov requested review from Copilot and kkartunov April 14, 2026 08:41
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds an API endpoint to return “assignment context” details (assignment + engagement + project name) to better support wallet-admin’s data display needs.

Changes:

  • Added findAssignmentContext service method that hydrates project name via projectService.
  • Added GET /engagements/assignments/:assignmentId/context controller route and a new response DTO.
  • Added a unit test covering the successful assignment-context lookup.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/engagements/engagements.service.ts Implements assignment-context lookup and project-name hydration with logging on failure.
src/engagements/engagements.service.spec.ts Adds a unit test for the new service method and extends DB mock shape.
src/engagements/engagements.controller.ts Exposes new endpoint returning assignment context.
src/engagements/dto/index.ts Exports the new assignment-context response DTO.
src/engagements/dto/assignment-context-response.dto.ts Defines the Swagger-documented response shape for assignment context.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/engagements/engagements.service.ts
Comment thread src/engagements/dto/assignment-context-response.dto.ts
Comment thread src/engagements/engagements.service.ts
@jmgasper jmgasper merged commit 66ec1a2 into master Apr 14, 2026
9 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.

3 participants