Remove bookability and competitor rates — moved to Rate Monitor app
Deletes bookability.py, competitor_rates.py, Bookability.tsx, CompetitorRates.tsx. Removes their imports, router mounts, and nav items. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b14d3b414e
commit
76ed477c3a
7 changed files with 2 additions and 4496 deletions
|
|
@ -4,8 +4,6 @@ import Layout from './components/Layout'
|
|||
import Dashboard from './pages/Dashboard'
|
||||
import Forecasts from './pages/Forecasts'
|
||||
import History from './pages/History'
|
||||
import Bookability from './pages/Bookability'
|
||||
import CompetitorRates from './pages/CompetitorRates'
|
||||
import Accuracy from './pages/Accuracy'
|
||||
import Settings from './pages/Settings'
|
||||
|
||||
|
|
@ -20,8 +18,6 @@ export default function App() {
|
|||
<Route path="/forecasts/:page" element={<Forecasts />} />
|
||||
<Route path="/history" element={<History />} />
|
||||
<Route path="/history/:report" element={<History />} />
|
||||
<Route path="/bookability" element={<Bookability />} />
|
||||
<Route path="/competitor-rates" element={<CompetitorRates />} />
|
||||
<Route path="/accuracy" element={<Accuracy />} />
|
||||
<Route path="/accuracy/:tab" element={<Accuracy />} />
|
||||
<Route path="/settings" element={<Settings />} />
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { NavLink } from 'react-router-dom'
|
||||
import {
|
||||
TrendingUp, BarChart2, Calendar, Target, Globe, History,
|
||||
TrendingUp, BarChart2, Target, History,
|
||||
Settings, Bot,
|
||||
} from 'lucide-react'
|
||||
import { useAuth } from './AuthGate'
|
||||
|
|
@ -13,8 +13,6 @@ const NAV = [
|
|||
{ to: '/dashboard', label: 'Dashboard', icon: Bot, cap: 'view' },
|
||||
{ to: '/forecasts', label: 'Forecasts', icon: TrendingUp, cap: 'view' },
|
||||
{ to: '/history', label: 'History', icon: History, cap: 'view' },
|
||||
{ to: '/bookability', label: 'Bookability', icon: Calendar, cap: 'view_bookability' },
|
||||
{ to: '/competitor-rates', label: 'Competitors', icon: Globe, cap: 'view_competitor_rates' },
|
||||
{ to: '/accuracy', label: 'Accuracy', icon: Target, cap: 'view_accuracy' },
|
||||
{ to: '/settings', label: 'Settings', icon: Settings, cap: 'settings' },
|
||||
]
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue