Skip to content

PM-4878 load appeals in bulk#1741

Merged
vas3a merged 1 commit intodevfrom
PM-4878_improve-appeals-load
Apr 16, 2026
Merged

PM-4878 load appeals in bulk#1741
vas3a merged 1 commit intodevfrom
PM-4878_improve-appeals-load

Conversation

@vas3a
Copy link
Copy Markdown
Collaborator

@vas3a vas3a commented Apr 16, 2026

Related JIRA Ticket:

https://topcoder.atlassian.net/browse/PM-4878

What's in this PR?

This pull request refactors and enhances how appeals are fetched and managed in the review application, especially for operations involving multiple review IDs. The main improvements include support for batch fetching of appeals by multiple review IDs, improved pagination handling, and updates to data models to include the reviewId field.

  • Added fetchAllAppealsWithReviewIds to efficiently fetch all appeals for multiple review IDs, handling pagination automatically. (src/apps/review/src/lib/services/reviews.service.ts)
  • Refactored useFetchAppealQueue to use the new batch fetch function, allowing for multiple review IDs to be loaded at once and reducing redundant requests. (src/apps/review/src/lib/hooks/useFetchAppealQueue.ts)

Open with Devin

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 4 additional findings.

Open in Devin Review

@vas3a vas3a merged commit 5360527 into dev Apr 16, 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.

1 participant