Skip to content

ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.

feat(16-1): Add workflow route and sidebar navigation

Juan Denisb74374e58fa2
diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx
index 4c3a5185..ba0ccbeb 100644
--- a/frontend/src/App.jsx
+++ b/frontend/src/App.jsx
@@ -23,6 +23,7 @@ import Firewall from './pages/Firewall';
import CronJobs from './pages/CronJobs';
import Security from './pages/Security';
import Templates from './pages/Templates';
+import WorkflowBuilder from './pages/WorkflowBuilder';
function PrivateRoute({ children }) {
const { isAuthenticated, loading, needsSetup } = useAuth();
@@ -100,6 +101,7 @@ function AppRoutes() {
<Route path="apps" element={<Applications />} />
<Route path="apps/:id" element={<ApplicationDetail />} />
<Route path="templates" element={<Templates />} />
+ <Route path="workflow" element={<WorkflowBuilder />} />
<Route path="domains" element={<Domains />} />
<Route path="databases" element={<Databases />} />
<Route path="ssl" element={<div className="page">SSL Certificates</div>} />
diff --git a/frontend/src/components/Sidebar.jsx b/frontend/src/components/Sidebar.jsx
index 3d405393..08a93d6d 100644
--- a/frontend/src/components/Sidebar.jsx
+++ b/frontend/src/components/Sidebar.jsx
@@ -58,6 +58,16 @@ const Sidebar = () => {
</svg>
Templates
</NavLink>
+ <NavLink to="/workflow" className={({ isActive }) => `nav-item ${isActive ? 'active' : ''}`}>
+ <svg viewBox="0 0 24 24">
+ <circle cx="18" cy="5" r="3"/>
+ <circle cx="6" cy="12" r="3"/>
+ <circle cx="18" cy="19" r="3"/>
+ <path d="M8.59 13.51l6.83 3.98"/>
+ <path d="M15.41 6.51l-6.82 3.98"/>
+ </svg>
+ Workflow Builder
+ </NavLink>
<NavLink to="/databases" className={({ isActive }) => `nav-item ${isActive ? 'active' : ''}`}>
<svg viewBox="0 0 24 24">
<ellipse cx="12" cy="5" rx="9" ry="3"/>