Files
tm_panel/src/app/(notifications)/notification-history/page.tsx
T
AmirReza Jamali 85d95530a8 feat(notifications): add notification history page and API
This commit introduces the notification history feature, allowing users to view a log of their past notifications.

Key changes include:
- Added a "Notifications" link to the sidebar with a new icon.
- Defined API endpoints for fetching notification history and details.
- Added a "sent" status variant for displaying notification status.

Additionally, this commit includes related UI improvements:
- The user's full name is now dynamically displayed in the header, replacing the hardcoded placeholder.
- Table headers are now styled in uppercase for improved readability and consistency.
2025-09-25 17:09:42 +03:30

25 lines
580 B
TypeScript

import Breadcrumb from "@/components/Breadcrumbs/Breadcrumb";
import NotificationHistoryTable from "@/components/Tables/notification-history";
import { BreadcrumbItem } from "@/types/shared";
const NotificationHistoryPage = () => {
const breadcrumbItems: BreadcrumbItem[] = [
{
href: "/",
name: "Dashboard",
},
{
href: "/notification-history",
name: "Notification history",
},
];
return (
<>
<Breadcrumb items={breadcrumbItems} />
<NotificationHistoryTable />
</>
);
};
export default NotificationHistoryPage;