feat: add Amount Analysis chart and dashboard layout#27
Merged
0xDeon merged 6 commits intoSpherre-Labs:mainfrom Mar 25, 2025
Merged
feat: add Amount Analysis chart and dashboard layout#270xDeon merged 6 commits intoSpherre-Labs:mainfrom
0xDeon merged 6 commits intoSpherre-Labs:mainfrom
Conversation
0xDeon
requested changes
Mar 25, 2025
Contributor
There was a problem hiding this comment.
The chart looks too compacted, please add a little bit of spacing or height to it
Contributor
frontend/app/dashboard/layout.tsx
Outdated
Contributor
|
@daaef I don't see any difference here |
Contributor
Author
|
Hi. I was bringing in changes from what you already have. I'll change the pr to draft till done |
Contributor
Author
|
https://www.loom.com/share/e4804113a6bc48e4a9a16377ee61b328?sid=cc4e15af-805e-4e35-bc50-7c6d24aabc36 Update done.
|
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.

Description
Related Issue
Fixes #
Type of Change
How Has This Been Tested?
Unit tests
Integration tests
Manual tests :-
Other (please describe)
Checklist:
Screenshots (if applicable)
https://www.loom.com/share/0cd4dd56b18f46c59db99d61e0698610?sid=cb63dfb4-4885-41ef-bcee-01d523020517


Additional Notes
Implementation Details
Created a new AmountAnalysisChart.tsx component with:
Interactive time range selection (1D, 7D, 1M, 3M, 1Y, ALL)
Year filter dropdown (2021-2025)
Dynamic data generation and filtering
Responsive chart with tooltips showing detailed information
Integrated the chart into the dashboard layout in page.tsx
Used Chart.js with React-ChartJS-2 for rendering the line chart