Skip to content

feat: added dispute resolution page UI, link disputes list, and add Vitest mock UI test#113

Open
pixels26 wants to merge 1 commit into
Lumina-eX:mainfrom
pixels26:dispute-resolution-page
Open

feat: added dispute resolution page UI, link disputes list, and add Vitest mock UI test#113
pixels26 wants to merge 1 commit into
Lumina-eX:mainfrom
pixels26:dispute-resolution-page

Conversation

@pixels26
Copy link
Copy Markdown

Close #47

What this PR does

  • Adds a new dispute resolution page at page.tsx
  • Updates the disputes list page to link each dispute card to the new resolution page
  • Implements dispute detail display, evidence upload with validation and preview, DAO voting placeholder, and resolution outcome panels
  • Adds Vitest configuration and a mock UI test for the dispute resolution page

Files added / updated

  • page.tsx
  • page.tsx
  • page.test.tsx
  • vitest.config.ts
  • vitest.setup.ts
  • package.json (test scripts + dev dependencies)

Why this is needed

  • Provides a dedicated UI for handling dispute resolution workflow
  • Improves user experience for dispute review and evidence submission
  • Sets up testing support for dispute UI behavior

Testing

  1. Install dependencies: pnpm install
  2. Run the new UI test: pnpm vitest run app/dashboard/disputes/[id]/page.test.tsx
  3. Verify the page renders and dispute details load with mocked fetch data

Notes

  • The UI test passes successfully
  • Build validation for the project environment may still require native dependency setup, but the new page code itself is lint-clean and testable

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 31, 2026

@pixels26 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@SudiptaPaul-31
Copy link
Copy Markdown
Collaborator

@pixels26 please fix build

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]: Dispute Resolution Page UI

2 participants