[Dashboard] KYC Rejection Details & Interactive Volume Chart#668
Open
G-ELM wants to merge 2 commits into
Open
Conversation
|
@G-ELM 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! 🚀 |
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.
Summary
KYC panel: Replaces the single generic rejection message in
KycStatusViewwith a structured list ofKycRejectionReasonitems.Each card shows a rejection code badge (high/medium severity),
the affected field, a category icon (Document / Selfie / Address /
Identity), a plain-language description, and a specific corrective
action the user must take before resubmitting.
Volume chart: Adds
VolumeChart— a zero-dependency, vanilla SVGbar chart that replaces the "Volume Chart Placeholder" in
DashboardOverview. Features include a 7D / 1M / 3M period selector,side-by-side deposit (indigo) and withdrawal (amber) bars per
interval, Y-axis grid lines with auto-scaled labels, and an inline SVG
tooltip that surfaces exact deposit/withdrawal values on column hover.
Files changed
dashboard/src/components/KycStatusView.tsx— structured rejectionreasons with severity badges and per-reason fix guidance
dashboard/src/components/VolumeChart.tsx— new interactive SVGchart component
dashboard/src/components/DashboardOverview.tsx— wiresVolumeChartinto the dashboard gridFixes #593
Fixes #596