Files
vibe-kanban/frontend/package.json

61 lines
2.0 KiB
JSON
Raw Normal View History

2025-06-14 15:14:08 -04:00
{
2025-06-17 20:36:25 -04:00
"name": "vibe-kanban",
2025-06-14 15:14:08 -04:00
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 100",
2025-06-25 09:36:34 +01:00
"lint:fix": "eslint . --ext ts,tsx --fix",
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,css,md}\""
2025-06-14 15:14:08 -04:00
},
"dependencies": {
2025-06-14 19:02:37 -04:00
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/modifiers": "^9.0.0",
"@microsoft/fetch-event-source": "^2.0.1",
2025-06-14 18:44:34 -04:00
"@radix-ui/react-dropdown-menu": "^2.1.15",
2025-06-14 16:26:48 -04:00
"@radix-ui/react-label": "^2.1.7",
2025-06-14 19:02:37 -04:00
"@radix-ui/react-portal": "^1.1.9",
2025-06-14 18:44:34 -04:00
"@radix-ui/react-select": "^2.2.5",
2025-06-14 16:26:48 -04:00
"@radix-ui/react-separator": "^1.1.7",
"@radix-ui/react-slot": "^1.2.3",
feat: task templates (vibe-kanban) (#197) * I've successfully implemented task templates for vibe-kanban with the following features: - Created a new `task_templates` table with fields for: - `id` (UUID primary key) - `project_id` (nullable for global templates) - `title` (default task title) - `description` (default task description) - `template_name` (display name for the template) - Timestamps for tracking creation/updates - Created `TaskTemplate` model with full CRUD operations - Added REST API endpoints: - `GET /api/templates` - List all templates - `GET /api/templates/global` - List only global templates - `GET /api/projects/:project_id/templates` - List templates for a project (includes global) - `GET /api/templates/:id` - Get specific template - `POST /api/templates` - Create template - `PUT /api/templates/:id` - Update template - `DELETE /api/templates/:id` - Delete template 1. **Task Creation Dialog**: - Added template selector dropdown when creating new tasks - Templates are fetched based on project context - Selecting a template pre-fills title and description fields - User can edit pre-filled values before creating the task 2. **Global Settings**: - Added "Task Templates" section to manage global templates - Full CRUD interface with table view - Create/Edit dialog for template management 3. **Project Settings**: - Modified project form to use tabs when editing - Added "Task Templates" tab for project-specific templates - Same management interface as global settings - **Scope Management**: Templates can be global (available to all projects) or project-specific - **User Experience**: Template selection is optional and doesn't interfere with normal task creation - **Data Validation**: Unique template names within same scope (global or per-project) - **UI Polish**: Clean interface with loading states, error handling, and confirmation dialogs The implementation allows users to create reusable task templates that streamline the task creation process by pre-filling common values while still allowing full editing before submission. * improve styling * address review comments * fix unqiue contraint on tempaltes * distinguish between local and global templates in UI * keyboard shortcuts for task creation * add dropdown on project page to select templates * update types * add default global task templates * Add task templates from kanban (#219) * Create project templates from kanban * Fixes * remove duplicate --------- Co-authored-by: Louis Knight-Webb <louis@bloop.ai>
2025-07-16 15:46:42 +01:00
"@radix-ui/react-tabs": "^1.1.12",
2025-06-21 19:13:42 +01:00
"@radix-ui/react-tooltip": "^1.2.7",
"@sentry/react": "^9.34.0",
"@sentry/vite-plugin": "^3.5.0",
"@tailwindcss/typography": "^0.5.16",
2025-06-14 15:14:08 -04:00
"class-variance-authority": "^0.7.0",
2025-06-16 11:30:11 -04:00
"click-to-react-component": "^1.1.2",
2025-06-14 15:14:08 -04:00
"clsx": "^2.0.0",
"fast-json-patch": "^3.1.1",
2025-06-14 15:14:08 -04:00
"lucide-react": "^0.303.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-markdown": "^10.1.0",
2025-06-14 15:14:08 -04:00
"react-router-dom": "^6.8.1",
"tailwind-merge": "^2.2.0",
"tailwindcss-animate": "^1.0.7"
},
"devDependencies": {
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
2025-06-25 09:36:34 +01:00
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
2025-06-14 15:14:08 -04:00
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.16",
"eslint": "^8.55.0",
2025-06-25 09:36:34 +01:00
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-prettier": "^5.5.0",
2025-06-14 15:14:08 -04:00
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"postcss": "^8.4.32",
2025-06-25 09:36:34 +01:00
"prettier": "^3.6.1",
2025-06-14 15:14:08 -04:00
"tailwindcss": "^3.4.0",
"typescript": "^5.2.2",
"vite": "^5.0.8"
}
}