Files
igny8/frontend/dist/assets/js/page-bulk-action-modal.config.ts-D-0XtKwF.js
Gitea Deploy 961362e088 Add SEO fields to Tasks model, improve content generation response handling, and enhance progress bar animation
- Added primary_keyword, secondary_keywords, tags, and categories fields to Tasks model
- Updated generate_content function to handle full JSON response with all SEO fields
- Improved progress bar animation: smooth 1% increments every 300ms
- Enhanced step detection for content generation vs clustering vs ideas
- Fixed progress modal to show correct messages for each function type
- Added comprehensive logging to Keywords and Tasks pages for AI functions
- Fixed error handling to show meaningful error messages instead of generic failures
2025-11-09 21:22:34 +00:00

2 lines
3.3 KiB
JavaScript

const t={"/planner/keywords":{export:{title:"Export Selected Keywords",message:e=>`You are about to export ${e} selected keyword${e!==1?"s":""}. The export will be downloaded as a CSV file.`,confirmText:"Export",itemNamePlural:"keywords"},updateStatus:{title:"Update Status",message:e=>`You are about to update the status of ${e} selected keyword${e!==1?"s":""}. Select the new status below.`,confirmText:"Update Status",itemNamePlural:"keywords",statusOptions:[{value:"active",label:"Active"},{value:"pending",label:"Pending"},{value:"archived",label:"Archived"}]}},"/planner/clusters":{export:{title:"Export Selected Clusters",message:e=>`You are about to export ${e} selected cluster${e!==1?"s":""}. The export will be downloaded as a CSV file.`,confirmText:"Export",itemNamePlural:"clusters"},updateStatus:{title:"Update Status",message:e=>`You are about to update the status of ${e} selected cluster${e!==1?"s":""}. Select the new status below.`,confirmText:"Update Status",itemNamePlural:"clusters",statusOptions:[{value:"active",label:"Active"},{value:"inactive",label:"Inactive"}]}},"/planner/ideas":{export:{title:"Export Selected Ideas",message:e=>`You are about to export ${e} selected idea${e!==1?"s":""}. The export will be downloaded as a CSV file.`,confirmText:"Export",itemNamePlural:"ideas"},updateStatus:{title:"Update Status",message:e=>`You are about to update the status of ${e} selected idea${e!==1?"s":""}. Select the new status below.`,confirmText:"Update Status",itemNamePlural:"ideas",statusOptions:[{value:"new",label:"New"},{value:"scheduled",label:"Scheduled"},{value:"published",label:"Published"}]}},"/writer/tasks":{export:{title:"Export Selected Tasks",message:e=>`You are about to export ${e} selected task${e!==1?"s":""}. The export will be downloaded as a CSV file.`,confirmText:"Export",itemNamePlural:"tasks"},updateStatus:{title:"Update Status",message:e=>`You are about to update the status of ${e} selected task${e!==1?"s":""}. Select the new status below.`,confirmText:"Update Status",itemNamePlural:"tasks",statusOptions:[{value:"queued",label:"Queued"},{value:"draft",label:"Draft"},{value:"in_progress",label:"In Progress"},{value:"completed",label:"Completed"}]}},"/writer/drafts":{export:{title:"Export Selected Drafts",message:e=>`You are about to export ${e} selected draft${e!==1?"s":""}. The export will be downloaded as a CSV file.`,confirmText:"Export",itemNamePlural:"drafts"},updateStatus:{title:"Update Status",message:e=>`You are about to update the status of ${e} selected draft${e!==1?"s":""}. Select the new status below.`,confirmText:"Update Status",itemNamePlural:"drafts",statusOptions:[{value:"draft",label:"Draft"},{value:"review",label:"Review"},{value:"published",label:"Published"}]}},"/writer/published":{export:{title:"Export Selected Published Content",message:e=>`You are about to export ${e} selected published content item${e!==1?"s":""}. The export will be downloaded as a CSV file.`,confirmText:"Export",itemNamePlural:"published content items"},updateStatus:{title:"Update Status",message:e=>`You are about to update the status of ${e} selected published content item${e!==1?"s":""}. Select the new status below.`,confirmText:"Update Status",itemNamePlural:"published content items",statusOptions:[{value:"published",label:"Published"},{value:"archived",label:"Archived"}]}}};function a(e){return t[e]||null}export{a as g};