Section 3 Completed

This commit is contained in:
IGNY8 VPS (Salman)
2025-12-27 02:43:46 +00:00
parent add04e2ad5
commit 178b7c23ce
11 changed files with 242 additions and 755 deletions

View File

@@ -135,6 +135,8 @@ All endpoints require authentication unless noted.
| GET | `/settings/integrations/image_generation/` | Get image settings | Current config |
| PUT | `/settings/integrations/image_generation/` | Save image settings | Update config |
| POST | `/settings/integrations/test/` | Test connection | Verify API keys |
| GET | `/settings/content/{key}/` | `ContentSettingsViewSet.retrieve` | Get content settings |
| POST | `/settings/content/{key}/save/` | `ContentSettingsViewSet.save_settings` | Save content settings |
| GET | `/prompts/` | List prompts | All prompts |
| GET | `/prompts/{type}/` | Get prompt | Specific prompt |
| PUT | `/prompts/{type}/` | Save prompt | Update prompt |
@@ -143,6 +145,10 @@ All endpoints require authentication unless noted.
| PUT | `/modules/` | Save modules | Update enabled |
| GET | `/health/` | Health check | System status |
**Content Settings Keys:**
- `content_generation` - AI writing settings (default_article_length, default_tone, include_faq, enable_internal_linking, etc.)
- `publishing` - Publishing defaults (default_publish_status, auto_schedule, schedule_frequency, schedule_times)
---
## Automation Endpoints (`/api/v1/automation/`)

View File

@@ -1,7 +1,7 @@
# Frontend Pages & Routes
**Last Verified:** December 25, 2025
**Version:** 1.1.0
**Last Verified:** January 2, 2025
**Version:** 1.1.4
**Framework:** React 19 + TypeScript + React Router 6 + Vite
---
@@ -41,7 +41,14 @@ Routes defined in `/frontend/src/App.tsx`:
| Route | File | Description |
|-------|------|-------------|
| `/setup/add-keywords` | `Setup/AddKeywords.tsx` | Browse/add seed keywords from global database |
| `/setup/add-keywords` | `Setup/IndustriesSectorsKeywords.tsx` | Browse/add seed keywords from global database |
**Features:**
- Industry → Sector → Keywords browse hierarchy
- "Show not-added only" filter toggle
- Real-time keyword count summary (added/total)
- "Next: Plan Your Content" CTA button
- "Keyword Research" coming soon teaser
### Content Settings
@@ -49,14 +56,18 @@ Routes defined in `/frontend/src/App.tsx`:
|-------|------|-------------|
| `/account/content-settings` | `account/ContentSettingsPage.tsx` | 3 tabs: Content Generation, Publishing, Image Settings |
**API Endpoints:** Settings persisted via `/api/v1/system/settings/content/{key}/`
### Sites
| Route | File | Description |
|-------|------|-------------|
| `/sites` | `Sites/List.tsx` | Site listing with filters |
| `/sites/:id/dashboard` | `Sites/SiteDashboard.tsx` | Individual site overview |
| `/sites/:id/settings` | `Sites/SiteSettings.tsx` | Site settings (General, Integrations, Content Types) |
| `/sites/:id/content` | `Sites/SiteContent.tsx` | Site content management |
| `/sites` | `Sites/List.tsx` | Site listing with setup checklist per site |
| `/sites/:id/dashboard` | `Sites/Dashboard.tsx` | Site overview with setup checklist |
| `/sites/:id/settings` | `Sites/Settings.tsx` | Site settings (General, Integrations, Content Types) |
**Components:**
- `SiteSetupChecklist` - Shows setup progress (site created, industry/sectors, WordPress, keywords)
### Thinker (Admin Only)
@@ -80,7 +91,6 @@ Routes defined in `/frontend/src/App.tsx`:
| `/planner/clusters` | `Planner/Clusters.tsx` | Cluster listing, AI clustering | Clusters |
| `/planner/clusters/:id` | `Planner/ClusterView.tsx` | Individual cluster view | - |
| `/planner/ideas` | `Planner/Ideas.tsx` | Content ideas, queue to writer | Ideas |
| `/planner/keyword-opportunities` | `Planner/KeywordOpportunities.tsx` | Seed keyword discovery (hidden) | - |
### Writer
@@ -228,18 +238,15 @@ frontend/src/pages/
│ ├── Keywords.tsx
│ ├── Clusters.tsx
│ ├── ClusterView.tsx
── Ideas.tsx
│ └── KeywordOpportunities.tsx # Not in nav
── Ideas.tsx
├── Settings/
│ └── IntegrationPage.tsx # AI Models (admin)
├── Setup/
│ └── AddKeywords.tsx
│ └── IndustriesSectorsKeywords.tsx # Add Keywords page
├── Sites/
│ ├── List.tsx
│ ├── SiteDashboard.tsx
── SiteSettings.tsx
│ ├── SiteContent.tsx
│ └── Manage.tsx # Possibly redundant
│ ├── List.tsx # Site listing
│ ├── Dashboard.tsx # Site overview + checklist
── Settings.tsx # Site configuration
├── Thinker/
│ ├── Prompts.tsx
│ ├── AuthorProfiles.tsx
@@ -303,10 +310,9 @@ Dashboard
## Known Issues (from Audit)
1. **KeywordOpportunities** not accessible from navigation
2. **Linker/Optimizer Dashboards** exist but not exposed
3. **Help sub-pages** are placeholders
4. **ContentView** is read-only (no editing capability)
5. Legacy redirects may cause confusion
1. **Linker/Optimizer Dashboards** exist but not exposed in navigation
2. **Help sub-pages** are placeholders
3. **ContentView** is read-only (no editing capability)
4. Legacy redirects may cause confusion
See `/PRE-LAUNCH-AUDIT.md` for complete issue list.