Skip to content

feat(admin): Add activity and audit log pages#960

Open
Divineifed1 wants to merge 2 commits into
CodeGirlsInc:mainfrom
Divineifed1:main
Open

feat(admin): Add activity and audit log pages#960
Divineifed1 wants to merge 2 commits into
CodeGirlsInc:mainfrom
Divineifed1:main

Conversation

@Divineifed1

Copy link
Copy Markdown

close #848
close #849

PR Description:
This pull request introduces two new administrative pages to the frontend, providing critical monitoring and auditing capabilities.

Features:

  1. User Activity Timeline (BE-07)

File Created: frontend/app/(protected)/admin/activity/page.tsx
Description: This page displays a vertical timeline of user actions, such as logins, file uploads, and deletions. It is designed to provide administrators with a clear and searchable overview of user engagement on the platform.
Data Source: The component is set up to fetch data from GET /api/activity but currently uses mock data for initial implementation and review.
2. HTTP Access Logs (BE-68)

File Created: frontend/app/(protected)/admin/audit-logs/page.tsx
Description: This page provides a detailed table of HTTP access logs, allowing administrators to review incoming requests for security investigations and compliance audits. The table includes the IP address, timestamp, request method, path, status code, and user agent for each entry.
Data Source: The component is prepared to fetch data from GET /api/audit and currently uses mock data for UI development.
Implementation Details:
Both pages are implemented as Next.js Server Components, allowing for efficient data fetching on the server.
The UI is built using the existing Card and Table components from the shared UI library, ensuring a consistent look and feel with the rest of the application.
Placeholder data is used in both pages to facilitate immediate UI review and testing before the backend endpoints are fully integrated.

@vercel

vercel Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

@mirastan is attempting to deploy a commit to the Mftee's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants