feat(reports): expand reports dashboard with KYC, fleet, and user tabs, per-tab filters, table previews, and CSV exports#52
Merged
Obiajulu-gif merged 30 commits intoJun 20, 2026
Annotations
10 errors and 3 warnings
|
TypeScript check if configured:
app/dashboard/admin/drivers/[id]/page.tsx#L84
Property 'email' does not exist on type '(FlattenMaps<any> & Required<{ _id: unknown; }> & { __v: number; })[] | (FlattenMaps<any> & Required<{ _id: unknown; }> & { __v: number; })'.
|
|
TypeScript check if configured:
app/dashboard/admin/drivers/[id]/page.tsx#L59
Property '_id' does not exist on type '(FlattenMaps<any> & Required<{ _id: unknown; }> & { __v: number; })[] | (FlattenMaps<any> & Required<{ _id: unknown; }> & { __v: number; })'.
|
|
TypeScript check if configured:
app/dashboard/admin/drivers/[id]/page.tsx#L55
Property '_id' does not exist on type '(FlattenMaps<any> & Required<{ _id: unknown; }> & { __v: number; })[] | (FlattenMaps<any> & Required<{ _id: unknown; }> & { __v: number; })'.
|
|
TypeScript check if configured:
app/dashboard/admin/adminfunctions/useAdminDashboard.ts#L123
Conversion of type '{ name: string; type: string; year: number; price: number; features: string[]; image: string; status: string; specifications: { engine: string; fuelType: string; mileage: string; transmission: string; color: string; vin: string; }; addedDate: string; popularity: number; isTermSet: boolean; }' to type 'Omit<Vehicle, "_id">' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
|
TypeScript check if configured:
app/dashboard/admin/admincomponents/MetricsCard.tsx#L12
Cannot use namespace 'LucideIcon' as a type.
|
|
TypeScript check if configured:
app/api/kyc-documents/route.ts#L85
Argument of type 'Buffer<ArrayBufferLike>' is not assignable to parameter of type 'BodyInit | null | undefined'.
|
|
TypeScript check if configured:
app/api/admin/issues/route.ts#L71
Property 'email' does not exist on type '(FlattenMaps<any> & Required<{ _id: unknown; }> & { __v: number; })[] | (FlattenMaps<any> & Required<{ _id: unknown; }> & { __v: number; })'.
|
|
TypeScript check if configured:
app/api/admin/issues/route.ts#L71
Property 'name' does not exist on type '(FlattenMaps<any> & Required<{ _id: unknown; }> & { __v: number; })[] | (FlattenMaps<any> & Required<{ _id: unknown; }> & { __v: number; })'.
|
|
TypeScript check if configured:
app/api/admin/issues/route.ts#L71
Property 'fullName' does not exist on type '(FlattenMaps<any> & Required<{ _id: unknown; }> & { __v: number; })[] | (FlattenMaps<any> & Required<{ _id: unknown; }> & { __v: number; })'.
|
|
TypeScript check if configured:
app/api/admin/issues/route.ts#L70
Property '_id' does not exist on type '(FlattenMaps<any> & Required<{ _id: unknown; }> & { __v: number; })[] | (FlattenMaps<any> & Required<{ _id: unknown; }> & { __v: number; })'.
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Lint:
components/landing/interactive-sections.tsx#L251
React Hook useEffect has an unnecessary dependency: 'sections.length'. Either exclude it or remove the dependency array. Outer scope values like 'sections.length' aren't valid dependencies because mutating them doesn't re-render the component
|
|
Lint:
app/dashboard/admin/loans/page.tsx#L65
React Hook useEffect has a missing dependency: 'fetchLoans'. Either include it or remove the dependency array
|
background
wait
wait-all
cancel
parallel
Loading