Add dashboard UI with stats cards, chart and recent orders#14
Merged
rafaelhgcarlos merged 13 commits intostagefrom Mar 27, 2026
Merged
Add dashboard UI with stats cards, chart and recent orders#14rafaelhgcarlos merged 13 commits intostagefrom
rafaelhgcarlos merged 13 commits intostagefrom
Conversation
Deploying hs-system with
|
| Latest commit: |
0153a40
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://9c57d171.hs-system.pages.dev |
| Branch Preview URL: | https://feat-dashboad-page.hs-system.pages.dev |
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.
This pull request introduces the initial Dashboard interface, including statistics cards, an orders chart, and a recent orders list. The goal is to provide a responsive and scalable dashboard layout with reusable components and loading states.
Key changes:
Dashboard Structure
src/modules/dashboard/pages/DashboardPage.tsx)DashboardHeaderfor title and description. (src/modules/dashboard/components/DashboardHeader.tsx)Statistics Components
StatsCardandStatsGridfor displaying dashboard metrics. (src/modules/dashboard/components/StatsCard.tsxsrc/modules/dashboard/components/StatsGrid.tsx)StatsSkeletonfor loading states. (src/modules/dashboard/skeleton/StatsSkeleton.tsx)Orders Visualization
OrdersChartusing Apache ECharts. (src/modules/dashboard/components/OrdersChart.tsx)Recent Orders
RecentOrderscomponent with status indicators and loading support. (src/modules/dashboard/components/RecentOrders.tsx)RecentOrdersSkeletonfor loading placeholders. (src/modules/dashboard/skeleton/RecentOrdersSkeleton.tsx)Data Hook
useDashboardDatahook to simulate dashboard metrics and loading state. (src/modules/dashboard/hooks/useDashboardData.ts)Dependencies
package.json)