feat(contact-us): Add filtering functionality to contact us list table
- Enable Contact Us navigation menu item in sidebar with visible flag set to true - Create TContacts type schema with Zod validation for API responses - Add type safety to contactUsService.getAllContactUs() with return type annotation - Implement contact list table rendering with proper data mapping - Display contact information columns: full name, email, status, phone, created date - Add date formatting using unixToDate utility for created_at timestamps - Update useContactUsListPresenter to return properly structured contacts data - Refactor table columns array to include all contact detail fields - Follows established pattern from recent filtering feature implementations
This commit is contained in:
@@ -73,13 +73,13 @@ export const NAV_DATA: NavData = [
|
||||
icon: Icons.NotificationIcon,
|
||||
items: [],
|
||||
},
|
||||
// {
|
||||
// title: "Contact Us",
|
||||
// url: "/contact-us",
|
||||
// icon: Icons.CallIncome,
|
||||
// items: [],
|
||||
// visible: false,
|
||||
// },
|
||||
{
|
||||
title: "Contact Us",
|
||||
url: "/contact-us",
|
||||
icon: Icons.CallIncome,
|
||||
items: [],
|
||||
visible: true,
|
||||
},
|
||||
{
|
||||
title: "Marketing",
|
||||
url: "/marketing",
|
||||
|
||||
Reference in New Issue
Block a user