mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-14 18:59:18 +02:00
Organize backup, NocoDB, and database debug tools into a single utilities menu
Consolidate backup, NocoDB configuration, and database debug functionalities into a new "Utilities" section, accessible via tabs within a single page. This refactors routing to redirect previous paths to the new utilities page and updates the sidebar navigation accordingly. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 7c468936-2a88-4686-ac0a-84921a45222d Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/7c468936-2a88-4686-ac0a-84921a45222d/XNPzpuo
This commit is contained in:
1 parent
0a565ea490
commit
898c619c0d
4 files changed
+134
-19
No files matched your search
@@ -18,6 +18,7 @@ import CustomerOrders from "@/pages/CustomerOrders";
|
||||
|
||||
import DlcPage from "@/pages/DlcPage";
|
||||
import BackupManager from "@/pages/BackupManager";
|
||||
import Utilities from "@/pages/Utilities";
|
||||
import Tasks from "@/pages/Tasks";
|
||||
import TasksSimplified from "@/pages/TasksSimplified";
|
||||
import Layout from "@/components/Layout";
|
||||
@@ -77,10 +78,14 @@ function RouterProduction() {
|
||||
<Route path="/publicities" component={Publicities} />
|
||||
<Route path="/customer-orders" component={CustomerOrders} />
|
||||
<Route path="/dlc" component={DlcPage} />
|
||||
<Route path="/backup" component={BackupManager} />
|
||||
<Route path="/utilities" component={Utilities} />
|
||||
<Route path="/tasks" component={Tasks} />
|
||||
<Route path="/nocodb-config" component={NocoDBConfig} />
|
||||
<Route path="/database-debug" component={DatabaseDebug} />
|
||||
|
||||
{/* Routes de compatibilité - redirection vers utilities */}
|
||||
<Route path="/backup" component={Utilities} />
|
||||
<Route path="/nocodb-config" component={Utilities} />
|
||||
<Route path="/database-debug" component={Utilities} />
|
||||
|
||||
<Route path="/" component={Dashboard} />
|
||||
<Route component={NotFound} />
|
||||
</Switch>
|
||||
|
||||
@@ -21,7 +21,8 @@ import {
|
||||
ListTodo,
|
||||
ChevronLeft,
|
||||
ChevronRight,
|
||||
X
|
||||
X,
|
||||
Settings
|
||||
} from "lucide-react";
|
||||
|
||||
export default function Sidebar() {
|
||||
@@ -147,21 +148,9 @@ export default function Sidebar() {
|
||||
roles: ["admin"]
|
||||
},
|
||||
{
|
||||
path: "/backup",
|
||||
label: "Sauvegardes",
|
||||
icon: Database,
|
||||
roles: ["admin"]
|
||||
},
|
||||
{
|
||||
path: "/nocodb-config",
|
||||
label: "Configuration NocoDB",
|
||||
icon: Database,
|
||||
roles: ["admin"]
|
||||
},
|
||||
{
|
||||
path: "/database-debug",
|
||||
label: "Debug Base de Données",
|
||||
icon: Database,
|
||||
path: "/utilities",
|
||||
label: "Utilitaires",
|
||||
icon: Settings,
|
||||
roles: ["admin"]
|
||||
},
|
||||
];
|
||||
|
||||
Reference in new issue
Block a user