🚧 starting request analytics page

This commit is contained in:
Fred KISSIE
2025-11-20 02:55:52 +01:00
parent cd76fa0139
commit 4ed4515262
2 changed files with 26 additions and 0 deletions

View File

@@ -2027,6 +2027,7 @@
"ip": "IP",
"reason": "Reason",
"requestLogs": "Request Logs",
"requestAnalytics": "Request Analytics",
"host": "Host",
"location": "Location",
"actionLogs": "Action Logs",
@@ -2036,6 +2037,7 @@
"logRetention": "Log Retention",
"logRetentionDescription": "Manage how long different types of logs are retained for this organization or disable them",
"requestLogsDescription": "View detailed request logs for resources in this organization",
"requestAnalyticsDescription": "View detailed request analytics for resources in this organization",
"logRetentionRequestLabel": "Request Log Retention",
"logRetentionRequestDescription": "How long to retain request logs",
"logRetentionAccessLabel": "Access Log Retention",

View File

@@ -0,0 +1,24 @@
import SettingsSectionTitle from "@app/components/SettingsSectionTitle";
import { Card, CardContent, CardHeader } from "@app/components/ui/card";
import { getTranslations } from "next-intl/server";
export interface AnalyticsPageProps {}
export default async function AnalyticsPage(props: AnalyticsPageProps) {
const t = await getTranslations();
return (
<>
<SettingsSectionTitle
title={t("requestAnalytics")}
description={t("requestAnalyticsDescription")}
/>
<div className="container mx-auto max-w-12xl">
<Card className="">
<CardHeader className="flex flex-col space-y-4 sm:flex-row sm:items-center sm:justify-between sm:space-y-0 pb-4"></CardHeader>
<CardContent></CardContent>
</Card>
</div>
</>
);
}