Description
AdminDashboard.jsx uses window.prompt() to collect dispute resolution notes from admins. This is a native browser dialog with no styling, no validation, no character limit, and no ability to paste rich text. It breaks the UI experience and looks unprofessional.
Proposed Solution
Replace window.prompt() with a dedicated DisputeResolveModal component that includes:
- A textarea for the resolution note (required, min 20 chars)
- A resolution outcome dropdown (resolved_for_creator, resolved_for_contributor, dismissed)
- A preview of the dispute details (campaign, reason, evidence)
- Confirm / Cancel buttons
Acceptance Criteria
Description
AdminDashboard.jsxuseswindow.prompt()to collect dispute resolution notes from admins. This is a native browser dialog with no styling, no validation, no character limit, and no ability to paste rich text. It breaks the UI experience and looks unprofessional.Proposed Solution
Replace
window.prompt()with a dedicatedDisputeResolveModalcomponent that includes:Acceptance Criteria
window.prompt()