From fcd5d114eca48108655be45a86e97148a02b8a05 Mon Sep 17 00:00:00 2001 From: Aleix Soler Date: Wed, 18 Mar 2026 18:34:52 +0100 Subject: [PATCH] chore: add starer template to templates --- constants/predefinedTemplates.ts | 370 +++++++++++++++++-------------- templates/starter-template.json | 32 +++ 2 files changed, 234 insertions(+), 168 deletions(-) create mode 100644 templates/starter-template.json diff --git a/constants/predefinedTemplates.ts b/constants/predefinedTemplates.ts index 47aadc4..a5753fb 100644 --- a/constants/predefinedTemplates.ts +++ b/constants/predefinedTemplates.ts @@ -6,241 +6,275 @@ import { StatusTemplate } from "types/pluginSettings"; export const PREDEFINED_TEMPLATES: StatusTemplate[] = [ { - "id": "academic", - "name": "Academic research", - "description": "Status workflow for academic research and writing", - "authorGithub": "soler1212", - "statuses": [ + id: "academic", + name: "Academic research", + description: "Status workflow for academic research and writing", + authorGithub: "soler1212", + statuses: [ { - "name": "research", - "icon": "πŸ”", - "color": "#2196F3", - "templateId": "academic" + name: "research", + icon: "πŸ”", + color: "#2196F3", + templateId: "academic", }, { - "name": "outline", - "icon": "πŸ“‘", - "color": "#9E9E9E", - "templateId": "academic" + name: "outline", + icon: "πŸ“‘", + color: "#9E9E9E", + templateId: "academic", }, { - "name": "draft", - "icon": "✏️", - "color": "#FFC107", - "templateId": "academic" + name: "draft", + icon: "✏️", + color: "#FFC107", + templateId: "academic", }, { - "name": "review", - "icon": "πŸ”¬", - "color": "#9C27B0", - "templateId": "academic" + name: "review", + icon: "πŸ”¬", + color: "#9C27B0", + templateId: "academic", }, { - "name": "revision", - "icon": "πŸ“", - "color": "#FF5722", - "templateId": "academic" + name: "revision", + icon: "πŸ“", + color: "#FF5722", + templateId: "academic", }, { - "name": "final", - "icon": "πŸ“š", - "color": "#4CAF50", - "templateId": "academic" + name: "final", + icon: "πŸ“š", + color: "#4CAF50", + templateId: "academic", }, { - "name": "published", - "icon": "πŸŽ“", - "color": "#795548", - "templateId": "academic" - } - ] + name: "published", + icon: "πŸŽ“", + color: "#795548", + templateId: "academic", + }, + ], }, { - "id": "colorful", - "name": "Colorful workflow", - "description": "A colorful set of workflow statuses with descriptive icons", - "authorGithub": "soler1212", - "statuses": [ + id: "colorful", + name: "Colorful workflow", + description: + "A colorful set of workflow statuses with descriptive icons", + authorGithub: "soler1212", + statuses: [ { - "name": "idea", - "icon": "πŸ’‘", - "color": "#FFEB3B", - "templateId": "colorful" + name: "idea", + icon: "πŸ’‘", + color: "#FFEB3B", + templateId: "colorful", }, { - "name": "draft", - "icon": "πŸ“", - "color": "#E0E0E0", - "templateId": "colorful" + name: "draft", + icon: "πŸ“", + color: "#E0E0E0", + templateId: "colorful", }, { - "name": "inProgress", - "icon": "πŸ”§", - "color": "#FFC107", - "templateId": "colorful" + name: "inProgress", + icon: "πŸ”§", + color: "#FFC107", + templateId: "colorful", }, { - "name": "editing", - "icon": "πŸ–ŠοΈ", - "color": "#2196F3", - "templateId": "colorful" + name: "editing", + icon: "πŸ–ŠοΈ", + color: "#2196F3", + templateId: "colorful", }, { - "name": "pending", - "icon": "⏳", - "color": "#9C27B0", - "templateId": "colorful" + name: "pending", + icon: "⏳", + color: "#9C27B0", + templateId: "colorful", }, { - "name": "onHold", - "icon": "⏸", - "color": "#9E9E9E", - "templateId": "colorful" + name: "onHold", + icon: "⏸", + color: "#9E9E9E", + templateId: "colorful", }, { - "name": "needsUpdate", - "icon": "πŸ”„", - "color": "#FF5722", - "templateId": "colorful" + name: "needsUpdate", + icon: "πŸ”„", + color: "#FF5722", + templateId: "colorful", }, { - "name": "completed", - "icon": "βœ…", - "color": "#4CAF50", - "templateId": "colorful" + name: "completed", + icon: "βœ…", + color: "#4CAF50", + templateId: "colorful", }, { - "name": "archived", - "icon": "πŸ“¦", - "color": "#795548", - "templateId": "colorful" - } - ] + name: "archived", + icon: "πŸ“¦", + color: "#795548", + templateId: "colorful", + }, + ], }, { - "id": "creative-writing", - "name": "Creative Writing", - "description": "Workflow for novelists and creative writers", - "authorGithub": "soler1212", - "statuses": [ + id: "creative-writing", + name: "Creative Writing", + description: "Workflow for novelists and creative writers", + authorGithub: "soler1212", + statuses: [ { - "name": "idea", - "icon": "🧠", - "color": "#FFD700", - "templateId": "creative-writing" + name: "idea", + icon: "🧠", + color: "#FFD700", + templateId: "creative-writing", }, { - "name": "outline", - "icon": "πŸ—ΊοΈ", - "color": "#87CEEB", - "templateId": "creative-writing" + name: "outline", + icon: "πŸ—ΊοΈ", + color: "#87CEEB", + templateId: "creative-writing", }, { - "name": "first-draft", - "icon": "✍️", - "color": "#FFA07A", - "templateId": "creative-writing" + name: "first-draft", + icon: "✍️", + color: "#FFA07A", + templateId: "creative-writing", }, { - "name": "revision", - "icon": "πŸ”", - "color": "#DA70D6", - "templateId": "creative-writing" + name: "revision", + icon: "πŸ”", + color: "#DA70D6", + templateId: "creative-writing", }, { - "name": "final-polish", - "icon": "✨", - "color": "#32CD32", - "templateId": "creative-writing" - } - ] + name: "final-polish", + icon: "✨", + color: "#32CD32", + templateId: "creative-writing", + }, + ], }, { - "id": "minimal", - "name": "Minimal workflow", - "description": "A simplified set of essential workflow statuses", - "authorGithub": "soler1212", - "statuses": [ + id: "minimal", + name: "Minimal workflow", + description: "A simplified set of essential workflow statuses", + authorGithub: "soler1212", + statuses: [ { - "name": "todo", - "icon": "πŸ“Œ", - "color": "#F44336", - "templateId": "minimal" + name: "todo", + icon: "πŸ“Œ", + color: "#F44336", + templateId: "minimal", }, { - "name": "inProgress", - "icon": "βš™οΈ", - "color": "#2196F3", - "templateId": "minimal" + name: "inProgress", + icon: "βš™οΈ", + color: "#2196F3", + templateId: "minimal", }, { - "name": "review", - "icon": "πŸ‘€", - "color": "#9C27B0", - "templateId": "minimal" + name: "review", + icon: "πŸ‘€", + color: "#9C27B0", + templateId: "minimal", }, { - "name": "done", - "icon": "βœ“", - "color": "#4CAF50", - "templateId": "minimal" - } - ] + name: "done", + icon: "βœ“", + color: "#4CAF50", + templateId: "minimal", + }, + ], }, { - "id": "project", - "name": "Project management", - "description": "Status workflow for project management and tracking", - "authorGithub": "soler1212", - "statuses": [ + id: "project", + name: "Project management", + description: "Status workflow for project management and tracking", + authorGithub: "soler1212", + statuses: [ { - "name": "planning", - "icon": "πŸ—“οΈ", - "color": "#9E9E9E", - "templateId": "project" + name: "planning", + icon: "πŸ—“οΈ", + color: "#9E9E9E", + templateId: "project", }, { - "name": "backlog", - "icon": "πŸ“‹", - "color": "#E0E0E0", - "templateId": "project" + name: "backlog", + icon: "πŸ“‹", + color: "#E0E0E0", + templateId: "project", }, { - "name": "ready", - "icon": "🚦", - "color": "#8BC34A", - "templateId": "project" + name: "ready", + icon: "🚦", + color: "#8BC34A", + templateId: "project", }, { - "name": "inDevelopment", - "icon": "πŸ‘¨β€πŸ’»", - "color": "#2196F3", - "templateId": "project" + name: "inDevelopment", + icon: "πŸ‘¨β€πŸ’»", + color: "#2196F3", + templateId: "project", }, { - "name": "testing", - "icon": "πŸ§ͺ", - "color": "#9C27B0", - "templateId": "project" + name: "testing", + icon: "πŸ§ͺ", + color: "#9C27B0", + templateId: "project", }, { - "name": "review", - "icon": "πŸ‘οΈ", - "color": "#FFC107", - "templateId": "project" + name: "review", + icon: "πŸ‘οΈ", + color: "#FFC107", + templateId: "project", }, { - "name": "approved", - "icon": "πŸ‘", - "color": "#4CAF50", - "templateId": "project" + name: "approved", + icon: "πŸ‘", + color: "#4CAF50", + templateId: "project", }, { - "name": "live", - "icon": "πŸš€", - "color": "#3F51B5", - "templateId": "project" - } - ] - } + name: "live", + icon: "πŸš€", + color: "#3F51B5", + templateId: "project", + }, + ], + }, + { + id: "default-starter", + name: "Starter Template", + description: + "A simplified set of essential workflow statuses to get you started.", + authorGithub: "soler1212", + statuses: [ + { + name: "todo", + icon: "πŸ“Œ", + color: "#F44336", + templateId: "default-starter", + }, + { + name: "inProgress", + icon: "βš™οΈ", + color: "#2196F3", + templateId: "default-starter", + }, + { + name: "review", + icon: "πŸ‘€", + color: "#9C27B0", + templateId: "default-starter", + }, + { + name: "done", + icon: "βœ“", + color: "#4CAF50", + templateId: "default-starter", + }, + ], + }, ]; diff --git a/templates/starter-template.json b/templates/starter-template.json new file mode 100644 index 0000000..744a3de --- /dev/null +++ b/templates/starter-template.json @@ -0,0 +1,32 @@ +{ + "id": "default-starter", + "name": "Starter Template", + "description": "A simplified set of essential workflow statuses to get you started.", + "authorGithub": "soler1212", + "statuses": [ + { + "name": "todo", + "icon": "πŸ“Œ", + "color": "#F44336", + "templateId": "default-starter" + }, + { + "name": "inProgress", + "icon": "βš™οΈ", + "color": "#2196F3", + "templateId": "default-starter" + }, + { + "name": "review", + "icon": "πŸ‘€", + "color": "#9C27B0", + "templateId": "default-starter" + }, + { + "name": "done", + "icon": "βœ“", + "color": "#4CAF50", + "templateId": "default-starter" + } + ] +}