chore: refactor and cleanup

- remove eslint
- refactor code into common design patterns where needed
- refactor taskMasterApi from 1.5k lines to smaller chunks and different files
- removed taskFileReader (not used anywhere)
- added support for tag selection (wip)
- added configuration page where a user can see his config.json more visually
This commit is contained in:
Ralph Khreish
2025-07-29 19:55:38 +03:00
parent 17a95bd8c3
commit 8ad9ccd6b7
65 changed files with 7969 additions and 7231 deletions

View File

@@ -0,0 +1,17 @@
/**
* Application constants
*/
import type { Status } from '@/components/ui/shadcn-io/kanban';
export const kanbanStatuses: Status[] = [
{ id: 'pending', name: 'Pending', color: 'yellow' },
{ id: 'in-progress', name: 'In Progress', color: 'blue' },
{ id: 'review', name: 'Review', color: 'purple' },
{ id: 'done', name: 'Done', color: 'green' },
{ id: 'deferred', name: 'Deferred', color: 'gray' }
];
export const CACHE_DURATION = 30000; // 30 seconds
export const REQUEST_TIMEOUT = 30000; // 30 seconds
export const HEADER_HEIGHT = 73; // Header with padding and border