Build admin disputes review console#922
Merged
ogazboiz merged 2 commits intoMay 27, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds full support for an Admin Disputes review interface, including internationalized UI strings, a new admin-only disputes detail page, and tests for the disputes page. The main changes involve updating translation files, implementing the admin disputes detail page, and adding tests to ensure correct access control and rendering.
Admin Disputes Feature Implementation
frontend/src/app/[locale]/admin/disputes/[id]/page.tsx, which allows admins to review borrower disputes, view linked loan details, and resolve or reverse default outcomes with a resolution note. The page includes access control to restrict non-admin users. (frontend/src/app/[locale]/admin/disputes/[id]/page.tsxR1-R252)frontend/src/app/[locale]/admin/disputes/page.test.tsx, verifying that only admins can access the page and that the page renders correctly for admins. (frontend/src/app/[locale]/admin/disputes/page.test.tsxR1-R118)Internationalization
en.json), Spanish (es.json), and Tagalog (tl.json) translation files, including section and table headings, button labels, error messages, and modal copy. [1] [2] [3] [4] [5] [6]These changes lay the groundwork for a complete admin review flow for borrower disputes, with full language support and robust access control.
Closes #864