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

feat(admin):can view statistics of whole commetcer #54

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

Tuyisenge2
Copy link
Collaborator

What does this PR do?
A admin can have some statistics of all app.

How should this be manually tested?
Clone the repo and cd into it
Checkout to feat-admin-stat-fe and run npm install
Run npm run dev to start the application locally
login as admin and see all user and order stats

Copy link

vercel bot commented Jul 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hackers-ec-fe ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 26, 2024 9:19am

@@ -0,0 +1,162 @@
/* eslint-disable react-hooks/exhaustive-deps */
import { FaPeopleGroup } from 'react-icons/fa6';
Copy link

Choose a reason for hiding this comment

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

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

@@ -0,0 +1,49 @@
interface userStatCardProps {
Copy link

Choose a reason for hiding this comment

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

Parsing error: Unexpected token userStatCardProps

</tr>
</thead>
<tbody>
{data?.data &&
Copy link
Collaborator

Choose a reason for hiding this comment

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

Make sure that recent order is the one to be displayed first. When new order is created it is being the last instead of being first.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@GarrixA i resolved it

@Tuyisenge2 Tuyisenge2 changed the title feat(admin):can view stats of whole commetcer feat(admin):can view statistics of whole commetcer Jul 26, 2024
@@ -0,0 +1,50 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import { createAsyncThunk, createSlice, PayloadAction } from '@reduxjs/toolkit';
Copy link

Choose a reason for hiding this comment

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

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

@leandreAlly leandreAlly merged commit 09f1b6f into develop Jul 26, 2024
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants