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:
17
apps/extension/src/webview/constants/index.ts
Normal file
17
apps/extension/src/webview/constants/index.ts
Normal 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
|
||||
Reference in New Issue
Block a user