Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Admin Dashboard Page with Metrics and Recent Sales #546

Merged
merged 4 commits into from
Nov 10, 2024

Conversation

ShivanshPlays
Copy link
Contributor

@ShivanshPlays ShivanshPlays commented Nov 10, 2024

Add Admin Dashboard Page with Metrics and Recent Sales

Fixes #518

Description

This PR introduces an Admin Dashboard page that displays key website metrics, including total revenue, sales, associated stores, customers, website visits, and successful orders. Additionally, the dashboard provides an overview of sales trends throughout the year and recent sales activity. The data displayed is currently mocked for demonstration purposes.

Changes:

  • Admin Dashboard Page:

    • Added a new dashboard layout displaying various statistics:
      • Total Revenue: ₹ 2,10,789
      • Sales: 577 sales made
      • Sellers Associated: 43 sellers
      • Customer Associated: 1450 customers
      • Website Visits: 100,223 visits
      • Successful Orders: 20,455+ orders
    • Cards are styled and formatted to match the overall design of the website.
  • Overview and Recent Sales:

    • Added a graph component to show sales data over the last 12 months (mocked data).
    • Displayed a list of recent sales with the relevant details such as name, email, sale amount, and store name.

Mock Data:

The data shown on the dashboard is currently mock data for testing purposes:

  • Graph Data: Shows monthly sales data from January to December.
  • Recent Sales Data: Displays a list of recent sales including the names of customers, their email addresses, sale amounts, and associated stores.

THE PAGE IS FULLY RESPONSIVE AS DEMONSTATED IN THE SCREEN RECORDING BELOW

Screenshots

  • Admin Dashboard:
Screen.Recording.2024-11-10.162649.mp4

Copy link

vercel bot commented Nov 10, 2024

@ShivanshPlays is attempting to deploy a commit to the Piyush's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Owner

@swarooppatilx swarooppatilx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@swarooppatilx swarooppatilx added gssoc-ext GirlScript Summer of Code Extended 2024 level3 GirlScript Summer of Code Level 3 Issue hacktoberfest-accepted Hacktoberfest labels Nov 10, 2024
@swarooppatilx swarooppatilx merged commit e02e821 into swarooppatilx:main Nov 10, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc-ext GirlScript Summer of Code Extended 2024 hacktoberfest-accepted Hacktoberfest level3 GirlScript Summer of Code Level 3 Issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Admin Functionality
2 participants