feat: add admin updates page with release history

Shows bot and cabinet releases with version badges,
changelogs, and update detection via __APP_VERSION__.
This commit is contained in:
Fringg
2026-02-08 23:20:49 +03:00
parent ab0270ac58
commit a15b3d4101
8 changed files with 428 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
import { Link } from 'react-router';
import { useTranslation } from 'react-i18next';
import { RemnawaveIcon } from '../components/icons';
import { RemnawaveIcon, ArrowPathIcon } from '../components/icons';
// Group header icons
const AnalyticsGroupIcon = () => (
@@ -473,6 +473,12 @@ export default function AdminPanel() {
title: t('admin.nav.emailTemplates'),
description: t('admin.panel.emailTemplatesDesc'),
},
{
to: '/admin/updates',
icon: <ArrowPathIcon className="h-5 w-5" />,
title: t('admin.nav.updates'),
description: t('admin.panel.updatesDesc'),
},
],
},
];