Leads pausiert: Menuepunkt grau und nicht klickbar, /leads leitet auf Tickets um
Die Lead-Automatik ist gestoppt und die automatisch angelegten Kunden sind geloescht; das Leads-Projekt liegt auf Eis. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fa23732217
commit
6323b830d7
3 files changed
+15
-4
No files matched your search
+1
-2
@@ -8,7 +8,6 @@ import PlanboardPage from './pages/PlanboardPage'
|
|||||||
import ProjectsPage from './pages/ProjectsPage'
|
import ProjectsPage from './pages/ProjectsPage'
|
||||||
import AdminPage from './pages/AdminPage'
|
import AdminPage from './pages/AdminPage'
|
||||||
import CustomersPage from './pages/CustomersPage'
|
import CustomersPage from './pages/CustomersPage'
|
||||||
import LeadsPage from './pages/LeadsPage'
|
|
||||||
import CustomerDetailPage from './pages/CustomerDetailPage'
|
import CustomerDetailPage from './pages/CustomerDetailPage'
|
||||||
import FinancePage from './pages/FinancePage'
|
import FinancePage from './pages/FinancePage'
|
||||||
import LegalPage from './pages/LegalPage'
|
import LegalPage from './pages/LegalPage'
|
||||||
@@ -42,7 +41,7 @@ function AppRoutes() {
|
|||||||
<Route path="/tickets" element={<ProtectedRoute><TicketsPage /></ProtectedRoute>} />
|
<Route path="/tickets" element={<ProtectedRoute><TicketsPage /></ProtectedRoute>} />
|
||||||
<Route path="/customers" element={<ProtectedRoute><CustomersPage /></ProtectedRoute>} />
|
<Route path="/customers" element={<ProtectedRoute><CustomersPage /></ProtectedRoute>} />
|
||||||
<Route path="/customers/:id" element={<ProtectedRoute><CustomerDetailPage /></ProtectedRoute>} />
|
<Route path="/customers/:id" element={<ProtectedRoute><CustomerDetailPage /></ProtectedRoute>} />
|
||||||
<Route path="/leads" element={<ProtectedRoute><LeadsPage /></ProtectedRoute>} />
|
<Route path="/leads" element={<Navigate to="/tickets" replace />} />
|
||||||
<Route path="/finance" element={<ProtectedRoute><FinancePage /></ProtectedRoute>} />
|
<Route path="/finance" element={<ProtectedRoute><FinancePage /></ProtectedRoute>} />
|
||||||
<Route path="/rechtliches" element={<ProtectedRoute><LegalPage /></ProtectedRoute>} />
|
<Route path="/rechtliches" element={<ProtectedRoute><LegalPage /></ProtectedRoute>} />
|
||||||
<Route path="/planboard" element={<ProtectedRoute><PlanboardPage /></ProtectedRoute>} />
|
<Route path="/planboard" element={<ProtectedRoute><PlanboardPage /></ProtectedRoute>} />
|
||||||
|
|||||||
@@ -40,7 +40,8 @@ export default function Sidebar() {
|
|||||||
{ label: 'Planboard', href: '/planboard', icon: <IconCalendar /> },
|
{ label: 'Planboard', href: '/planboard', icon: <IconCalendar /> },
|
||||||
{ label: 'Projekte', href: '/projects', icon: <IconFolders /> },
|
{ label: 'Projekte', href: '/projects', icon: <IconFolders /> },
|
||||||
{ label: 'Kunden', href: '/customers', icon: <IconUsers /> },
|
{ label: 'Kunden', href: '/customers', icon: <IconUsers /> },
|
||||||
{ label: 'Leads', href: '/leads', icon: <IconTargetArrow /> },
|
// Leads liegen auf Eis (Lead-Automatik gestoppt 2026-09-30): grau, nicht klickbar
|
||||||
|
{ label: 'Leads', href: '/leads', icon: <IconTargetArrow />, paused: true },
|
||||||
{ label: 'Finanzen', href: '/finance', icon: <IconReportMoney /> },
|
{ label: 'Finanzen', href: '/finance', icon: <IconReportMoney /> },
|
||||||
{ label: 'Rechtliches', href: '/rechtliches', icon: <IconScale /> },
|
{ label: 'Rechtliches', href: '/rechtliches', icon: <IconScale /> },
|
||||||
...(isAdmin ? [{ label: 'Admin', href: '/admin', icon: <IconSettings /> }] : []),
|
...(isAdmin ? [{ label: 'Admin', href: '/admin', icon: <IconSettings /> }] : []),
|
||||||
@@ -61,7 +62,17 @@ export default function Sidebar() {
|
|||||||
|
|
||||||
<nav className="side-nav">
|
<nav className="side-nav">
|
||||||
<div className="side-group">
|
<div className="side-group">
|
||||||
{links.map((link) => (
|
{links.map((link) => link.paused ? (
|
||||||
|
<span
|
||||||
|
key={link.href}
|
||||||
|
className="side-link side-link-paused"
|
||||||
|
title={`${link.label} (pausiert)`}
|
||||||
|
aria-disabled="true"
|
||||||
|
>
|
||||||
|
{link.icon}
|
||||||
|
<span className="side-link-label">{link.label}</span>
|
||||||
|
</span>
|
||||||
|
) : (
|
||||||
<Link
|
<Link
|
||||||
key={link.href}
|
key={link.href}
|
||||||
to={link.href}
|
to={link.href}
|
||||||
|
|||||||
@@ -848,6 +848,7 @@ textarea.form-control {
|
|||||||
width: calc(100% - 2 * var(--sp-1)); text-align: left;
|
width: calc(100% - 2 * var(--sp-1)); text-align: left;
|
||||||
}
|
}
|
||||||
.side-link-button:disabled { opacity: 0.6; cursor: progress; }
|
.side-link-button:disabled { opacity: 0.6; cursor: progress; }
|
||||||
|
.side-link-paused, .side-link-paused:hover { opacity: 0.45; cursor: not-allowed; background: transparent; color: var(--text-muted); }
|
||||||
.side-link.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
|
.side-link.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
|
||||||
.side-link.active svg { color: var(--accent); }
|
.side-link.active svg { color: var(--accent); }
|
||||||
.side-foot { border-top: 1px solid var(--border); padding: var(--sp-3); }
|
.side-foot { border-top: 1px solid var(--border); padding: var(--sp-3); }
|
||||||
|
|||||||
Reference in new issue
Block a user