diff --git a/CHANGELOG.md b/CHANGELOG.md index 19045f30..74dad985 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # IGNY8 Change Log -**Current Version:** 1.7.1 -**Last Updated:** January 11, 2026 +**Current Version:** 1.8.0 +**Last Updated:** January 17, 2026 --- @@ -9,6 +9,12 @@ | Version | Date | Summary | |---------|------|---------| +| 1.8.0 | Jan 17, 2026 | **Major** - Unified Settings Consolidation: AI & Automation settings merged into Site Settings > Automation tab; Navigation Refactor Complete; Automation Overview & Run Detail pages; Publishing & Scheduling UX improvements; Skip Stage configuration; Content Calendar fixes | +| 1.7.6 | Jan 15, 2026 | **Navigation Refactor Complete** - Complete sidebar restructure, new Automation Overview page, Publish Settings page, Content Calendar improvements | +| 1.7.5 | Jan 14, 2026 | **Automation Overview** - New dashboard for automation runs, detailed run history, real-time progress tracking | +| 1.7.4 | Jan 13, 2026 | **Publishing & Scheduling UX** - Phase 1-6 implementation, Content Calendar fixes, auto-approval/publish workflows | +| 1.7.3 | Jan 12, 2026 | **Skip Stage Configuration** - Ability to skip individual stages, stage-level controls, budget allocation per stage | +| 1.7.2 | Jan 11, 2026 | **Bug Fixes & Planner/Writer Filters** - Filter fixes across all pages, metrics improvements, keyword library enhancements | | 1.7.1 | Jan 11, 2026 | **Bug Fixes & Improvements** - SeeDream AI image model integration, Image generation credit fixes, Widget improvements, Template optimizations, Phase 4 completion (Email/Notifications QA) | | 1.7.0 | Jan 10, 2026 | **Major** - Pre-Launch Cleanup Complete (Phases 1, 5, 6): Code cleanup, UX improvements, data backup tools; WordPress plugin distribution system; Template design improvements; AI model fixes | | 1.6.2 | Jan 8, 2026 | **Design Refinements** - Updated marketing site gradients to brand colors (primary + success), reduced shadow weights, simplified automation icons, added Upcoming Features page | @@ -41,6 +47,175 @@ --- +## v1.8.0 - January 17, 2026 + +### Unified Settings Consolidation & Navigation Refactor Complete + +This major release consolidates all AI, Automation, and Publishing settings into a unified interface within Site Settings. The Navigation Refactor is now complete with streamlined sidebar navigation and improved user workflows. + +--- + +### πŸ”§ Settings Consolidation + +**Unified Automation Tab in Site Settings:** +- New `AIAutomationSettings` component consolidating all automation controls +- Three-card layout: Automation Schedule, Content Publishing, Image Generation +- Stage Configuration matrix with per-stage controls (batch size, limit, model, budget) +- Schedule & Capacity cards showing publishing days, time slots, and calculated capacity +- Help cards explaining Publishing workflow, Stage Configuration, and Schedule settings + +**Removed Standalone Pages:** +- `/automation/settings` (PipelineSettings) - Now redirects to Site Settings > Automation tab +- `/publisher/settings` (PublishSettings) - Integrated into Automation tab +- AI Settings tab removed from Site Settings (text AI overrides removed from user control) + +**Backend Unified Settings API:** +- New endpoint: `GET/PUT /api/v1/integration/sites/{site_id}/unified-settings/` +- Consolidates AutomationConfig, PublishingSettings, and stage configurations +- Computed capacity properties (daily, weekly, monthly) +- Stage-level `per_run_limit` and `use_testing` fields + +--- + +### 🧭 Navigation Refactor Complete + +**Sidebar Changes:** +- Publisher dropdown: Removed "Publish Settings" (now in Site Settings) +- Automation dropdown: Removed "Settings" link (now in Site Settings) +- Cleaner navigation with fewer redundant pages + +**Route Changes:** +- `/automation/settings` β†’ Redirects to `/sites/settings?tab=automation` +- `/publisher/settings` β†’ Removed (404) + +--- + +### πŸš€ Automation Overview & Run Details + +**New Automation Overview Page (`/automation/overview`):** +- Dashboard showing recent automation runs +- Pipeline status overview with stage counts +- Quick access to Run Now and Settings + +**Enhanced Run Detail Page (`/automation/runs/:runId`):** +- Detailed stage-by-stage progress visualization +- Real-time log streaming +- Credit usage tracking per stage +- Initial snapshot comparison + +--- + +### πŸ“… Publishing & Scheduling UX (Phases 1-6) + +**Content Calendar Improvements:** +- Fixed calendar grid display issues +- Better date selection and slot visualization +- Improved drag-and-drop scheduling + +**Auto-Approval & Auto-Publish Workflows:** +- Clear visual indicators for automation status +- Toggle controls in unified settings +- Capacity calculation based on days Γ— time slots + +--- + +### βš™οΈ Stage Configuration Enhancements + +**Per-Stage Controls:** +- `enabled` - Toggle individual stages on/off +- `batch_size` - Items processed together +- `per_run_limit` - Maximum items per automation run (0 = all) +- `use_testing` - Use test AI model instead of production +- `budget_pct` - Credit budget allocation percentage + +**Skip Stage Support:** +- Stages can be disabled individually +- Local stages (Ideasβ†’Tasks, Reviewβ†’Approved) clearly marked + +--- + +### πŸ› Bug Fixes + +- Fixed SelectDropdown width issues (icon bleeding outside box) +- Fixed stage configuration table column widths +- Fixed frequency/run time layout in automation card +- Fixed Next Run info display always visible +- Filter fixes across Planner/Writer pages +- Metrics widgets showing correct totals + +--- + +## v1.7.6 - January 15, 2026 + +### Navigation Refactor Complete + +**Frontend Navigation:** +- Complete sidebar restructure with logical groupings +- New Automation Overview page with run history +- Publish Settings page (later consolidated in v1.8.0) +- Content Calendar improvements + +**Commit:** `501a2694` - NAVIGATION_REFACTOR COMPLETED + +--- + +## v1.7.5 - January 14, 2026 + +### Automation Overview Implementation + +**New Features:** +- Automation Overview dashboard (`/automation/overview`) +- Run history with detailed status tracking +- Real-time progress monitoring +- Enhanced CurrentProcessingCardV2 + +**Commits:** `6b1fa0c1`, `0435a5cf` - automation overview page implementation + +--- + +## v1.7.4 - January 13, 2026 + +### Publishing & Scheduling UX (Phases 1-6) + +**Implementation:** +- Phase 1-3: Core scheduling infrastructure +- Phase 4-6: Content Calendar fixes and UX improvements +- Auto-approval and auto-publish workflows +- Scheduling time slots configuration + +**Commits:** `1f0a31fe`, `7e8d667e`, `cf755b23` - Publishing and scheduling implementation + +--- + +## v1.7.3 - January 12, 2026 + +### Skip Stage Configuration + +**Features:** +- Ability to enable/disable individual stages +- Stage-level batch size and limit controls +- Budget allocation per AI stage +- Test vs Live model selection per stage + +**Commit:** `97f5ff81` - skip stage configured and working + +--- + +## v1.7.2 - January 11, 2026 + +### Bug Fixes & Planner/Writer Filters + +**Fixes:** +- Filter fixes for all Planner/Writer pages +- Metrics showing correct totals +- Keyword library improvements +- Primary keyword column in Ideas +- Drafts page error fixes + +**Commits:** `a8309078`, `51292bb1`, `cb2d1095`, `d2fc5b1a` - filter and UI fixes + +--- + ## v1.7.1 - January 11, 2026 ### Bug Fixes, Improvements, and Phase 4 Completion diff --git a/docs/10-MODULES/AUTOMATION.md b/docs/10-MODULES/AUTOMATION.md index c4da6c3e..aa837dbd 100644 --- a/docs/10-MODULES/AUTOMATION.md +++ b/docs/10-MODULES/AUTOMATION.md @@ -1,7 +1,7 @@ # Automation Module -**Last Verified:** January 3, 2026 -**Version:** 1.3.2 +**Last Verified:** January 17, 2026 +**Version:** 1.8.0 **Status:** βœ… Active **Backend Path:** `backend/igny8_core/business/automation/` **Frontend Path:** `frontend/src/pages/Automation/` @@ -16,8 +16,12 @@ | Service | `business/automation/services/automation_service.py` | `AutomationService` | | Logger | `business/automation/services/automation_logger.py` | `AutomationLogger` | | Celery Tasks | `business/automation/tasks.py` | `run_automation_task`, `check_scheduled_automations` | -| Publishing Tasks | `igny8_core/tasks/publishing_scheduler.py` | Scheduled publishing (v1.3.2) | -| Frontend | `pages/Automation/AutomationPage.tsx` | Main automation UI | +| Publishing Tasks | `igny8_core/tasks/publishing_scheduler.py` | Scheduled publishing | +| **Unified Settings** | `modules/integration/views/unified_settings.py` | **v1.8.0** Consolidated settings API | +| Frontend Overview | `pages/Automation/AutomationOverview.tsx` | **v1.8.0** Run history dashboard | +| Frontend Run Detail | `pages/Automation/AutomationRunDetail.tsx` | **v1.8.0** Detailed run view | +| Frontend Manual Run | `pages/Automation/AutomationPage.tsx` | Manual run UI | +| **Site Settings** | `pages/Sites/AIAutomationSettings.tsx` | **v1.8.0** Unified settings UI | | Progress Bar | `components/Automation/GlobalProgressBar.tsx` | Full pipeline progress | | Processing Card | `components/Automation/CurrentProcessingCard.tsx` | Real-time progress | @@ -31,21 +35,23 @@ The Automation module runs the complete 7-stage content pipeline automatically: Keywords β†’ Clusters β†’ Ideas β†’ Tasks β†’ Content β†’ Image Prompts β†’ Images β†’ Published ``` +**Settings Location (v1.8.0):** Site Settings β†’ Automation tab + --- ## 7-Stage Pipeline -| Stage | Name | AI Function | Credit Cost | -|-------|------|-------------|-------------| -| 1 | Keywords β†’ Clusters | `AutoClusterFunction` | Per batch | -| 2 | Clusters β†’ Ideas | `GenerateIdeasFunction` | Per idea | -| 3 | Ideas β†’ Tasks | None (local) | None | -| 4 | Tasks β†’ Content | `GenerateContentFunction` | Per 100 words | -| 5 | Content β†’ Image Prompts | `GenerateImagePromptsFunction` | Per prompt | -| 6 | Image Prompts β†’ Images | `process_image_generation_queue` | Per image | -| 7 | Review β†’ Published | Publishing Scheduler (v1.3.2) | None | +| Stage | Name | AI Function | Credit Cost | Can Skip | +|-------|------|-------------|-------------|----------| +| 1 | Keywords β†’ Clusters | `AutoClusterFunction` | Per batch | βœ… | +| 2 | Clusters β†’ Ideas | `GenerateIdeasFunction` | Per idea | βœ… | +| 3 | Ideas β†’ Tasks | None (local) | None | βœ… | +| 4 | Tasks β†’ Content | `GenerateContentFunction` | Per 100 words | βœ… | +| 5 | Content β†’ Image Prompts | `GenerateImagePromptsFunction` | Per prompt | βœ… | +| 6 | Image Prompts β†’ Images | `process_image_generation_queue` | Per image | βœ… | +| 7 | Review β†’ Published | Publishing Scheduler | None | βœ… | -**Note:** Stage 7 uses the Publishing Scheduler with `PublishingSettings` to auto-approve and schedule content for publication. See [PUBLISHER.md](PUBLISHER.md) for details. +**Note:** Stage 7 uses the Publishing Scheduler with `PublishingSettings` for auto-approval and scheduling. --- @@ -58,7 +64,7 @@ Keywords β†’ Clusters β†’ Ideas β†’ Tasks β†’ Content β†’ Image Prompts β†’ Imag | account | FK | Owner account | | site | FK | Target site | | enabled | Boolean | Enable/disable automation | -| frequency | CharField | daily/weekly/monthly | +| frequency | CharField | hourly/daily/weekly | | scheduled_time | TimeField | Time to run | | stage_1_batch_size | Integer | Keywords per batch | | stage_2_batch_size | Integer | Clusters per batch | @@ -66,6 +72,19 @@ Keywords β†’ Clusters β†’ Ideas β†’ Tasks β†’ Content β†’ Image Prompts β†’ Imag | stage_4_batch_size | Integer | Tasks per batch | | stage_5_batch_size | Integer | Content per batch | | stage_6_batch_size | Integer | Images per batch | +| **stage_1_enabled** | Boolean | **v1.8.0** Enable stage 1 | +| **stage_2_enabled** | Boolean | **v1.8.0** Enable stage 2 | +| **stage_3_enabled** | Boolean | **v1.8.0** Enable stage 3 | +| **stage_4_enabled** | Boolean | **v1.8.0** Enable stage 4 | +| **stage_5_enabled** | Boolean | **v1.8.0** Enable stage 5 | +| **stage_6_enabled** | Boolean | **v1.8.0** Enable stage 6 | +| **stage_7_enabled** | Boolean | **v1.8.0** Enable stage 7 | +| **max_keywords_per_run** | Integer | **v1.8.0** Per-run limit stage 1 | +| **max_clusters_per_run** | Integer | **v1.8.0** Per-run limit stage 2 | +| **max_ideas_per_run** | Integer | **v1.8.0** Per-run limit stage 3 | +| **max_tasks_per_run** | Integer | **v1.8.0** Per-run limit stage 4 | +| **max_content_per_run** | Integer | **v1.8.0** Per-run limit stage 5 | +| **max_images_per_run** | Integer | **v1.8.0** Per-run limit stage 6 | | within_stage_delay | Integer | Seconds between batches | | between_stage_delay | Integer | Seconds between stages | | last_run_at | DateTime | Last execution | @@ -234,6 +253,42 @@ For each stage (1-7): --- +## Settings Configuration (v1.8.0) + +**Location:** Site Settings β†’ Automation tab +**API:** `GET/PATCH /api/v1/integration/sites/{site_id}/unified-settings/` + +> ⚠️ **v1.8.0 Change:** Settings are now consolidated in Site Settings. The previous standalone `/automation/settings` page has been removed. + +### Settings UI Sections + +1. **Schedule & Frequency Card** + - Enable/disable toggle + - Frequency (hourly/daily/weekly) + - Days of week selection + - Time slot selection + - Next run display + +2. **Capacity Card** + - Total items per run (calculated) + - Stage-by-stage breakdown + +3. **AI Configuration Card** + - Testing model selection (is_testing=true) + - Live model selection (is_testing=false) + - Image model selection + +4. **Stage Configuration (Matrix)** + - Per-stage Enable/Disable toggle + - Per-stage batch size + - Per-stage max items per run (**new in v1.8.0**) + +5. **Help Cards** + - Pipeline flow visualization + - Stage descriptions + +--- + ## Scheduling **Celery Beat Task:** `check_scheduled_automations` @@ -276,14 +331,30 @@ During execution: ## Frontend Integration -### AutomationPage Components +### AutomationOverview (v1.8.0) -- **Config Panel:** Enable/disable, schedule settings +**Path:** `/automation/overview` +**Purpose:** Run history dashboard with: +- All automation runs with status +- Filter by status, date range +- Click to view detailed run information + +### AutomationRunDetail (v1.8.0) + +**Path:** `/automation/runs/:runId` +**Purpose:** Detailed view of individual run with: +- Stage-by-stage progress +- Items processed per stage +- Errors and logs + +### AutomationPage + +**Path:** `/automation` +**Purpose:** Manual run control with: - **Pipeline Cards:** Stage-by-stage status with pending counts - **Processing Card:** Live processing status during run - **Control Buttons:** Run Now, Pause, Resume, Cancel - **Activity Log:** Real-time log streaming -- **History Table:** Past 20 runs with status ### Polling @@ -305,11 +376,11 @@ During execution: --- -## Planned Changes +## Changelog -| Feature | Status | Description | -|---------|--------|-------------| -| Progress bar accuracy | πŸ› Bug | Fix progress calculation based on actual stage | -| Completed count display | πŸ› Bug | Fix count display in UI | -| Stage skip configuration | πŸ”œ Planned | Allow skipping certain stages | -| Notification on complete | πŸ”œ Planned | Email/webhook when done | +| Version | Changes | +|---------|---------| +| v1.8.0 | Unified settings in Site Settings, per-run limits, skip stage functionality | +| v1.7.0 | AutomationOverview dashboard, AutomationRunDetail page | +| v1.3.2 | Stage 7 publishing scheduler integration | +| v1.3.0 | Progress tracking with initial snapshots | diff --git a/docs/10-MODULES/PUBLISHER.md b/docs/10-MODULES/PUBLISHER.md index 5bd89b5f..d6d24f87 100644 --- a/docs/10-MODULES/PUBLISHER.md +++ b/docs/10-MODULES/PUBLISHER.md @@ -1,8 +1,8 @@ # Publisher Module -**Last Verified:** January 3, 2026 +**Last Verified:** January 17, 2026 **Status:** βœ… Active -**Version:** 1.3.2 +**Version:** 1.8.0 **Backend Path:** `backend/igny8_core/modules/publisher/` + `backend/igny8_core/business/publishing/` **Frontend Path:** `frontend/src/pages/Publisher/` @@ -15,10 +15,12 @@ | Views | `modules/publisher/views.py` | `PublishingRecordViewSet`, `DeploymentViewSet`, `PublishContentViewSet` | | Models | `business/publishing/models.py` | `PublishingRecord`, `DeploymentRecord` | | Integration Models | `modules/integration/models.py` | `PublishingSettings` | +| **Unified Settings** | `modules/integration/views/unified_settings.py` | **v1.8.0** Consolidated settings API | | Services | `business/publishing/services/*.py` | Publishing orchestration | | Scheduler Tasks | `igny8_core/tasks/publishing_scheduler.py` | Celery beat tasks | | URLs | `modules/publisher/urls.py` | Publisher endpoints | | Frontend | `pages/Publisher/ContentCalendar.tsx` | Content calendar view | +| **Site Settings** | `pages/Sites/AIAutomationSettings.tsx` | **v1.8.0** Unified settings UI | --- @@ -32,6 +34,10 @@ The Publisher module manages: - Multi-destination publishing - **Content calendar visualization** +**Settings Location (v1.8.0):** Site Settings β†’ Automation tab + +> ⚠️ **v1.8.0 Change:** The standalone `/publisher/settings` page has been removed. Publishing settings are now configured in Site Settings β†’ Automation tab under "Capacity" and "Schedule" sections. + --- ## Data Models @@ -65,7 +71,7 @@ The Publisher module manages: | error_log | TextField | Errors encountered | | metadata | JSON | Deployment details | -### PublishingSettings (v1.3.2) +### PublishingSettings (v1.3.2, updated v1.8.0) Site-level publishing configuration: @@ -79,6 +85,7 @@ Site-level publishing configuration: | monthly_publish_limit | Integer | Max publications per month | | publish_days | JSON | Days of week for publishing ["mon","wed","fri"] | | publish_time_slots | JSON | Time slots for publishing [{"start":"09:00","end":"17:00"}] | +| **total_items_per_run** | Integer | **v1.8.0** Computed capacity display | ### Content Site Status Fields (v1.3.2) @@ -94,6 +101,13 @@ Added to Content model for scheduling: ## API Endpoints +### Unified Settings API (v1.8.0) + +| Method | Path | Purpose | +|--------|------|---------| +| **GET** | `/api/v1/integration/sites/{site_id}/unified-settings/` | Get all automation + publishing settings | +| **PATCH** | `/api/v1/integration/sites/{site_id}/unified-settings/` | Update settings | + ### Publishing & Records | Method | Path | Handler | Purpose | @@ -115,12 +129,14 @@ Added to Content model for scheduling: | **POST** | `/api/v1/writer/content/bulk_schedule/` | Bulk schedule with site defaults | `{ "content_ids": [1,2,3], "use_site_defaults": true, "site_id": 5 }` | `{ "success": true, "scheduled_count": 3, "schedule_preview": [...] }` | | **POST** | `/api/v1/writer/content/bulk_schedule_preview/` | Preview bulk schedule times | `{ "content_ids": [1,2,3], "site_id": 5 }` | `{ "schedule_preview": [...], "site_settings": {...} }` | -### Publishing Settings +### Legacy Publishing Settings (deprecated) + +> ⚠️ **Deprecated in v1.8.0:** Use unified-settings API instead | Method | Path | Purpose | |--------|------|---------| -| **GET** | `/api/v1/sites/{site_id}/settings?tab=publishing` | Get site publishing settings (default schedule, stagger, limits) | -| **PUT** | `/api/v1/sites/{site_id}/publishing-settings/` | Update publishing settings | +| ~~GET~~ | ~~`/api/v1/sites/{site_id}/settings?tab=publishing`~~ | ~~Get site publishing settings~~ | +| ~~PUT~~ | ~~`/api/v1/sites/{site_id}/publishing-settings/`~~ | ~~Update publishing settings~~ | --- diff --git a/docs/20-API/ENDPOINTS.md b/docs/20-API/ENDPOINTS.md index 0782d199..79ff5457 100644 --- a/docs/20-API/ENDPOINTS.md +++ b/docs/20-API/ENDPOINTS.md @@ -1,7 +1,7 @@ # API Endpoints Reference -**Last Verified:** January 3, 2026 -**Version:** 1.3.2 +**Last Verified:** January 17, 2026 +**Version:** 1.8.0 **Base URL:** `/api/v1/` **Documentation:** `/api/docs/` (Swagger) | `/api/redoc/` (ReDoc) @@ -149,7 +149,51 @@ POST /api/v1/writer/content/{id}/schedule/ | POST | `/site_sync/` | Site-level sync | Sync by site ID | | POST | `/webhook/wordpress/` | WordPress webhook | Receive WP updates | -### Publishing Settings Endpoints (v1.3.2) +### Unified Settings Endpoints (v1.8.0) + +| Method | Path | Handler | Purpose | +|--------|------|---------|---------| +| GET | `/sites/{site_id}/unified-settings/` | `UnifiedSiteSettingsViewSet.retrieve` | Get all site settings (automation, publishing, AI) | +| PATCH | `/sites/{site_id}/unified-settings/` | `UnifiedSiteSettingsViewSet.partial_update` | Update settings (partial) | + +**Unified Settings Response:** +```json +{ + "automation_config": { + "enabled": true, + "frequency": "daily", + "scheduled_days": ["mon", "wed", "fri"], + "scheduled_time": "09:00:00", + "next_run_at": "2026-01-18T09:00:00Z", + "stage_1_enabled": true, "stage_1_batch_size": 50, "max_keywords_per_run": 100, + "stage_2_enabled": true, "stage_2_batch_size": 10, "max_clusters_per_run": 20, + // ... stages 3-7 + }, + "publishing_settings": { + "auto_approval_enabled": true, + "auto_publish_enabled": true, + "daily_publish_limit": 3, + "weekly_publish_limit": 15, + "monthly_publish_limit": 50, + "publish_days": ["mon", "tue", "wed", "thu", "fri"], + "publish_time_slots": [{"start": "09:00", "end": "17:00"}], + "total_items_per_run": 500 + }, + "stage_configs": [ + {"stage": 1, "enabled": true, "batch_size": 50, "max_per_run": 100}, + // ... stages 2-7 + ], + "ai_settings": { + "testing_model_id": 2, + "live_model_id": 1, + "image_model_id": 3 + } +} +``` + +### Publishing Settings Endpoints (deprecated v1.8.0) + +> ⚠️ **Deprecated:** Use `/sites/{site_id}/unified-settings/` instead | Method | Path | Handler | Purpose | |--------|------|---------|---------| diff --git a/docs/30-FRONTEND/PAGES.md b/docs/30-FRONTEND/PAGES.md index 30037d82..e09b14be 100644 --- a/docs/30-FRONTEND/PAGES.md +++ b/docs/30-FRONTEND/PAGES.md @@ -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) diff --git a/docs/INDEX.md b/docs/INDEX.md index 1a190f74..8348d17e 100644 --- a/docs/INDEX.md +++ b/docs/INDEX.md @@ -1,7 +1,7 @@ # IGNY8 Technical Documentation -**Version:** 1.7.1 -**Last Updated:** January 11, 2026 +**Version:** 1.8.0 +**Last Updated:** January 17, 2026 **Purpose:** Complete technical reference for the IGNY8 AI content platform --- @@ -77,7 +77,7 @@ | [PAGE-REQUIREMENTS.md](30-FRONTEND/PAGE-REQUIREMENTS.md) | Site/sector selector requirements | | [STORES.md](30-FRONTEND/STORES.md) | Zustand state management | -### Current Page Structure (v1.4.0) +### Current Page Structure (v1.8.0) ``` / β†’ Dashboard (Home.tsx) - with workflow widgets @@ -88,7 +88,7 @@ β”‚ /sites β†’ Sites List (List.tsx) β”‚ /sites/:id β†’ Site Dashboard (Dashboard.tsx) β”‚ /sites/:id/settings β†’ Site Settings (Settings.tsx) -β”‚ - Tabs: General, AI Settings (v1.4.0), Integrations, Publishing, Content Types +β”‚ - Tabs: General, Automation (v1.8.0), Integrations β”‚ /thinker/prompts β†’ Thinker Prompts (Prompts.tsx) [Admin] β”‚ /thinker/author-profiles β†’ Author Profiles (AuthorProfiles.tsx) [Admin] β”œβ”€β”€ WORKFLOW @@ -101,6 +101,8 @@ β”‚ /writer/review β†’ Review (Review.tsx) β”‚ /writer/approved β†’ Approved (Approved.tsx) β”‚ /automation β†’ Automation Dashboard (AutomationPage.tsx) +β”‚ /automation/overview β†’ Run History (AutomationOverview.tsx) [v1.7.0] +β”‚ /automation/runs/:id β†’ Run Detail (AutomationRunDetail.tsx) [v1.7.0] β”œβ”€β”€ PUBLISHER β”‚ /publisher/content-calendar β†’ Content Calendar (ContentCalendar.tsx) β”œβ”€β”€ OPTIONAL MODULES @@ -121,6 +123,11 @@ /ui-elements β†’ UI Elements (UIElements.tsx) [Design System Ref] ``` +**Removed in v1.8.0:** +- `/automation/settings` - Merged into Site Settings β†’ Automation tab +- `/publisher/settings` - Merged into Site Settings β†’ Automation tab +- `/sites/:id/settings` AI Settings tab - Merged into Automation tab + **Removed in v1.4.0:** - `/settings/ai` - AI Settings page merged into Site Settings AI tab diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index eb79ce09..7815e250 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -200,7 +200,8 @@ export default function App() { } /> } /> } /> - } /> + {/* automation/settings removed - now in Site Settings > Automation tab */} + } /> } /> {/* Publisher Module - Content Calendar */} diff --git a/frontend/src/layout/AppSidebar.tsx b/frontend/src/layout/AppSidebar.tsx index dfc1aaf2..889d37a1 100644 --- a/frontend/src/layout/AppSidebar.tsx +++ b/frontend/src/layout/AppSidebar.tsx @@ -170,7 +170,6 @@ const AppSidebar: React.FC = () => { name: "Automation", subItems: [ { name: "Overview", path: "/automation/overview" }, - { name: "Settings", path: "/automation/settings" }, { name: "Run Now (Manual)", path: "/automation/run" }, ], }); diff --git a/frontend/src/pages/Automation/AutomationPage.tsx b/frontend/src/pages/Automation/AutomationPage.tsx index 0dda2f29..5e7984f9 100644 --- a/frontend/src/pages/Automation/AutomationPage.tsx +++ b/frontend/src/pages/Automation/AutomationPage.tsx @@ -619,7 +619,7 @@ const AutomationPage: React.FC = () => {