Files
cobble/src/pages/admin/settings/general/index.tsx
T
tbenandClaude Opus 5.5 ba9705980e Keep logs for a set number of days
Logs grew forever. A daily prune-logs cron now deletes entries older
than the app setting logs_keep_days (Settings > General, super admin;
default AppData.LogsKeepDays, 90), with an index on logs.created_at.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 04:49:25 +01:00

41 lines
1.7 KiB
TypeScript

import AppearanceSection from "./(sections)/appearance-section";
import ChatroomRetentionSection from "./(sections)/chatroom-retention-section";
import HookCallRetentionSection from "./(sections)/hook-call-retention-section";
import InstallIconSection from "./(sections)/install-icon-section";
import InstallNameSection from "./(sections)/install-name-section";
import LogRetentionSection from "./(sections)/log-retention-section";
import NotificationsSection from "./(sections)/notifications-section";
import PromptSection from "./(sections)/prompt-section";
import RunLimitsSection from "./(sections)/run-limits-section";
import SessionLengthSection from "./(sections)/session-length-section";
import SkillLimitsSection from "./(sections)/skill-limits-section";
import StorageSection from "./(sections)/storage-section";
import VersionSection from "./(sections)/version-section";
import SettingsShell from "../(partials)/settings-shell";
import settingsPageMeta from "../(functions)/settings-page-meta";
export default function AdminSettingsGeneralPage() {
return (
<SettingsShell
title="General"
description="How the app looks and behaves."
>
<InstallNameSection />
<InstallIconSection />
<AppearanceSection />
<NotificationsSection />
<PromptSection />
<RunLimitsSection />
<SessionLengthSection />
<SkillLimitsSection />
<HookCallRetentionSection />
<ChatroomRetentionSection />
<LogRetentionSection />
<StorageSection />
<VersionSection />
</SettingsShell>
);
}
export const meta = settingsPageMeta({ label: "General" });