This commit is contained in:
IGNY8 VPS (Salman)
2026-01-17 16:11:31 +00:00
parent d3b3e1c0d4
commit ccb5b1d26d
9 changed files with 381 additions and 48 deletions

View File

@@ -1,7 +1,7 @@
# Frontend Pages & Routes
**Last Verified:** January 3, 2026
**Version:** 1.3.2
**Last Verified:** January 17, 2026
**Version:** 1.8.0
**Framework:** React 19 + TypeScript + React Router 6 + Vite
---
@@ -108,18 +108,24 @@ Routes defined in `/frontend/src/App.tsx`:
|-------|------|-------------|
| `/sites` | `Sites/List.tsx` | Site listing with setup checklist per site |
| `/sites/:id` | `Sites/Dashboard.tsx` | Site dashboard with quick actions and widgets |
| `/sites/:id/settings` | `Sites/Settings.tsx` | Site settings (General, Integrations, Publishing, Content Types) |
| `/sites/:id/settings` | `Sites/Settings.tsx` | Site settings (General, Automation, Integrations) |
**v1.8.0 Changes:**
- Site Settings now has 3 tabs: General, Automation, Integrations
- Automation tab consolidates all AI, Automation, and Publishing settings
- Removed separate AI Settings tab
- Uses `AIAutomationSettings.tsx` component for unified settings UI
**v1.3.2 Changes:**
- Site Dashboard redesigned with SiteInfoBar component
- Quick actions now 2-column card grid layout
- AI Operations widget loads real data from getDashboardStats API
- Fixed race condition in async loadSiteData
- Settings page has new Publishing Settings tab
**Components:**
- `SiteSetupChecklist` - Shows setup progress (site created, industry/sectors, WordPress, keywords)
- `SiteInfoBar` - Reusable site info header for site-specific pages
- `AIAutomationSettings` - Unified settings component (v1.8.0)
### Thinker (Admin Only)
@@ -165,7 +171,17 @@ Routes defined in `/frontend/src/App.tsx`:
| Route | File | Description |
|-------|------|-------------|
| `/automation` | `Automation/AutomationPage.tsx` | 7-stage pipeline, schedule config, run controls |
| `/automation` | `Automation/AutomationPage.tsx` | 7-stage pipeline, run controls |
| `/automation/overview` | `Automation/AutomationOverview.tsx` | Run history dashboard (v1.7.0) |
| `/automation/runs/:id` | `Automation/AutomationRunDetail.tsx` | Detailed run view (v1.7.0) |
**v1.8.0 Changes:**
- Removed `/automation/settings` route (merged into Site Settings → Automation tab)
- Added redirect from `/automation/settings` to `/sites/settings?tab=automation`
**v1.7.0 Changes:**
- Added AutomationOverview page with run history
- Added AutomationRunDetail page for detailed run information
---
@@ -201,6 +217,10 @@ Routes defined in `/frontend/src/App.tsx`:
| Old Route | Redirects To |
|-----------|--------------|
| `/sites/:id/publishing-queue` | `/publisher/content-calendar` |
| `/automation/settings` | `/sites/settings?tab=automation` (v1.8.0) |
**Removed in v1.8.0:**
- `/publisher/settings` - No longer exists (settings in Site Settings → Automation)
### Linker (Optional Module)