Files
igny8/frontend/src/config/pages/notifications.config.ts
IGNY8 VPS (Salman) 8bb4c5d016 Add new fields to TasksSerializer and enhance auto_generate_content_task with detailed step tracking
- Updated TasksSerializer to include 'primary_keyword', 'secondary_keywords', 'tags', and 'categories'.
- Enhanced auto_generate_content_task to track progress with detailed steps, including initialization, preparation, AI call, parsing, and saving.
- Updated progress modal to reflect new phases and improved animation for smoother user experience.
- Adjusted routing and configuration for content and drafts pages in the frontend.
2025-11-10 13:17:48 +00:00

54 lines
1.5 KiB
TypeScript

/**
* Page Notifications Configuration
* Dynamic notification content based on current page route
*/
export interface PageNotificationConfig {
variant: 'success' | 'error' | 'warning' | 'info';
title: string;
message: string;
showLink?: boolean;
linkHref?: string;
linkText?: string;
}
export const pageNotifications: Record<string, PageNotificationConfig> = {
'/planner/keywords': {
variant: 'info',
title: 'Keywords Management',
message: 'Manage and organize your SEO keywords. Use filters to find specific keywords, or bulk actions to update multiple keywords at once.',
showLink: false,
},
'/planner/clusters': {
variant: 'info',
title: 'Cluster Management',
message: 'Organize keywords into clusters for better content planning and strategy.',
showLink: false,
},
'/planner/ideas': {
variant: 'info',
title: 'Content Ideas',
message: 'Generate and manage content ideas based on your keywords and clusters.',
showLink: false,
},
'/writer/tasks': {
variant: 'info',
title: 'Writing Tasks',
message: 'Track and manage your content writing tasks and deadlines.',
showLink: false,
},
'/writer/content': {
variant: 'info',
title: 'Drafts',
message: 'Review and edit your content drafts before publishing.',
showLink: false,
},
'/writer/published': {
variant: 'success',
title: 'Published Content',
message: 'View all your published content and track their performance.',
showLink: false,
},
};