Skip to content

Build admin disputes review console#922

Merged
ogazboiz merged 2 commits into
LabsCrypt:mainfrom
Obiajulu-gif:issue-864-admin-disputes-console
May 27, 2026
Merged

Build admin disputes review console#922
ogazboiz merged 2 commits into
LabsCrypt:mainfrom
Obiajulu-gif:issue-864-admin-disputes-console

Conversation

@Obiajulu-gif
Copy link
Copy Markdown
Contributor

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

  • Added a new admin-only disputes detail page at 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)
  • Added a test suite for the admin disputes page in 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

  • Added all necessary UI strings for the admin disputes feature to the English (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

@ogazboiz ogazboiz merged commit ca5f092 into LabsCrypt:main May 27, 2026
5 of 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.

[Frontend] Build admin disputes review console

2 participants