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:
@@ -51,6 +51,24 @@ export const routes: RouteConfig[] = [
|
||||
{ path: '/thinker/profile', label: 'Profile', breadcrumb: 'Profile' },
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/linker',
|
||||
label: 'Linker',
|
||||
icon: 'Link2',
|
||||
children: [
|
||||
{ path: '/linker', label: 'Dashboard', breadcrumb: 'Linker Dashboard' },
|
||||
{ path: '/linker/content', label: 'Content', breadcrumb: 'Link Content' },
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/optimizer',
|
||||
label: 'Optimizer',
|
||||
icon: 'Zap',
|
||||
children: [
|
||||
{ path: '/optimizer', label: 'Dashboard', breadcrumb: 'Optimizer Dashboard' },
|
||||
{ path: '/optimizer/content', label: 'Content', breadcrumb: 'Optimize Content' },
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
export const getBreadcrumbs = (pathname: string): Array<{ label: string; path: string }> => {
|
||||
|
||||
Reference in New Issue
Block a user