Add Linker and Optimizer modules with API integration and frontend components

- Added Linker and Optimizer apps to `INSTALLED_APPS` in `settings.py`.
- Configured API endpoints for Linker and Optimizer in `urls.py`.
- Implemented `OptimizeContentFunction` for content optimization in the AI module.
- Created prompts for content optimization and site structure generation.
- Updated `OptimizerService` to utilize the new AI function for content optimization.
- Developed frontend components including dashboards and content lists for Linker and Optimizer.
- Integrated new routes and sidebar navigation for Linker and Optimizer in the frontend.
- Enhanced content management with source and sync status filters in the Writer module.
- Comprehensive test coverage added for new features and components.
This commit is contained in:
alorig
2025-11-18 00:41:00 +05:00
parent 4b9e1a49a9
commit f7115190dc
60 changed files with 4932 additions and 80 deletions

View File

@@ -54,6 +54,8 @@ INSTALLED_APPS = [
'igny8_core.modules.automation.apps.AutomationConfig',
'igny8_core.business.site_building.apps.SiteBuildingConfig',
'igny8_core.modules.site_builder.apps.SiteBuilderConfig',
'igny8_core.modules.linker.apps.LinkerConfig',
'igny8_core.modules.optimizer.apps.OptimizerConfig',
]
# System module needs explicit registration for admin
@@ -246,6 +248,8 @@ REST_FRAMEWORK = {
# Billing Operations
'billing': '30/min', # Credit queries, usage logs
'billing_admin': '10/min', # Credit management (admin)
'linker': '30/min', # Content linking operations
'optimizer': '10/min', # AI-powered optimization
# Default fallback
'default': '100/min', # Default for endpoints without scope
},