Changed links from /tld-pricing/{tld} to /command/pricing/{tld}:
- onRowClick handler in PremiumTable
- Bell icon link in actions column
This ensures authenticated users stay in the Command Center
when navigating to TLD detail pages.
PUBLIC PAGE (/tld-pricing):
- Added renewal price column with trap warning (⚠️ when >2x)
- Added 1y trend % column with color coding
- Added risk level badges (🟢🟡🔴)
- Blur effect for non-authenticated users on premium columns
- All data from real backend API (not simulated)
PUBLIC DETAIL PAGE (/tld-pricing/[tld]):
- Already existed with full features
- Shows price history chart, registrar comparison, domain check
COMMAND CENTER (/command/pricing):
- Full access to all data without blur
- Category tabs: All, Tech, Geo, Budget, Premium
- Sparklines for trend visualization
- Risk-based sorting option
COMMAND CENTER DETAIL (/command/pricing/[tld]):
- NEW: Professional detail page with CommandCenterLayout
- Price history chart with period selection (1M, 3M, 1Y, ALL)
- Renewal trap warning banner
- Registrar comparison table with trap indicators
- Quick domain availability check
- TLD info grid (type, registry, introduced, registrars)
- Price alert toggle
CLEANUP:
- /intelligence → redirects to /tld-pricing (backwards compat)
- Removed duplicate code
All TLD Pricing data now flows from backend with:
- Real renewal prices from registrar data
- Calculated 1y/3y trends per TLD
- Risk level and reason from backend
BACKEND CHANGES (tld_prices.py):
- Added get_min_renewal_price() and get_avg_renewal_price() helpers
- Added calculate_price_trends() with known TLD trends:
- .ai: +15%/1y, +45%/3y (AI boom)
- .com: +7%/1y, +14%/3y (registry increases)
- .xyz: -10%/1y (promo-driven)
- etc.
- Added calculate_risk_level() returning low/medium/high + reason
- Extended /overview endpoint to return:
- min_renewal_price
- avg_renewal_price
- price_change_7d, price_change_1y, price_change_3y
- risk_level, risk_reason
FRONTEND CHANGES:
- Updated api.ts TldOverview interface with new fields
- Command Center /command/pricing/page.tsx:
- Now uses api.getTldOverview() instead of simulated data
- getRiskInfo() uses backend risk_level/risk_reason
- Public /intelligence/page.tsx:
- Same updates - uses real backend data
This ensures TLD Pricing works correctly:
- Public page: Real data + blur for premium columns
- Command Center: Real data with all columns visible
- Admin: TLD Pricing tab with correct stats
MARKETPLACE:
- Created /command/marketplace for authenticated users
- Shows all listings with search, sort, and filters
- Grid layout with domain cards, scores, and verification badges
- Links to 'My Listings' for quick access to management
SIDEBAR SEO JUICE:
- Removed 'Tycoon' badge label
- Now shows as disabled/grayed out for non-Tycoon users
- Crown icon indicates premium feature
- Hover tooltip explains feature & upgrade path
PRICING PAGE:
- Added new features to tier cards:
- Scout: 2 domain listings
- Trader: 10 listings, 5 Sniper Alerts
- Tycoon: 50 listings, unlimited alerts, SEO Juice
- Updated comparison table with:
- For Sale Listings row
- Sniper Alerts row
- SEO Juice Detector row
MARKETPLACE INTEGRATION:
- Added 'Marketplace' (/buy) to public Header navigation
- Renamed 'For Sale' to 'Marketplace' in Command Center Sidebar
LISTINGS PAGE REDESIGN:
- Added tab-based layout: 'Browse Marketplace' / 'My Listings'
- Browse tab: Search + grid view of all public listings
- My Listings tab: Full management with stats
- Unified experience to view marketplace and manage own listings
SEO JUICE DETECTOR FIX:
- Fixed 500 error when database table doesn't exist
- Added fallback: _format_dict_response for when DB is unavailable
- Service now gracefully handles missing tables
- Returns estimated data even on cache failures
From analysis_3.md - Strategie 3: SEO-Daten & Backlinks:
'SEO-Agenturen suchen Domains wegen der Power (Backlinks).
Solche Domains sind für SEOs 100-500€ wert, auch wenn der Name hässlich ist.'
BACKEND:
- Model: DomainSEOData for caching SEO metrics
- Service: seo_analyzer.py with Moz API integration
- Falls back to estimation if no API keys
- Detects notable links (Wikipedia, .gov, .edu, news)
- Calculates SEO value estimate
- API: /seo endpoints (Tycoon-only access)
FRONTEND:
- /command/seo page with full SEO analysis
- Upgrade prompt for non-Tycoon users
- Notable links display (Wikipedia, .gov, .edu, news)
- Top backlinks with authority scores
- Recent searches saved locally
SIDEBAR:
- Added 'SEO Juice' nav item with 'Tycoon' badge
DOCS:
- Updated DATABASE_MIGRATIONS.md with domain_seo_data table
- Added SEO API endpoints documentation
- Added Moz API environment variables info
PUBLIC (/auctions):
- Vanity Filter: Only show clean domains to non-authenticated users
(no hyphens, no numbers, max 12 chars, premium TLDs only)
- Deal Score column with lock icon for non-authenticated users
- Dynamic wording: 'Live Feed' instead of small number
- Show filtered count vs total count
COMMAND CENTER (/command/auctions):
- Smart Filter Presets: All, No Trash, Short, High Value, Low Competition
- Deal Score column with Undervalued label for Trader+ users
- Track button to add domains to Watchlist
- Tier-based filtering: Scout=raw feed, Trader+=clean feed by default
- Upgrade banner for Scout users
ADMIN (/admin - auctions tab):
- Auction statistics dashboard (total, platforms, clean domains)
- Platform status overview (GoDaddy, Sedo, NameJet, DropCatch)
- Vanity filter rules documentation
- Scrape all platforms button