Add storage management features and UI components
Implemented new storage endpoints in the API and updated the dependency injection to include storage-related services. Enhanced the frontend by adding storage routes and links in the admin layout, along with new types and localization for storage management. Updated documentation to reflect the new storage features and their usage in the admin interface.
This commit is contained in:
@@ -99,6 +99,13 @@ function AdminLayout() {
|
||||
>
|
||||
{t('admin.users.title')}
|
||||
</Link>
|
||||
<Link
|
||||
to="/admin/storage"
|
||||
className={cn('pb-2 uppercase tracking-wide text-muted-foreground hover:text-foreground')}
|
||||
activeProps={{ className: 'border-b-2 border-primary text-primary' }}
|
||||
>
|
||||
{t('admin.storage.title')}
|
||||
</Link>
|
||||
<Link
|
||||
to="/admin/maintenance"
|
||||
className={cn('pb-2 uppercase tracking-wide text-muted-foreground hover:text-foreground')}
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
import { createFileRoute } from '@tanstack/react-router'
|
||||
import { StoragePanel } from '@/features/admin/storage/StoragePanel'
|
||||
|
||||
export const Route = createFileRoute('/admin/storage')({ component: StoragePanel })
|
||||
Reference in New Issue
Block a user