feat: add TFS filters and integration
- Introduced TFS filtering capabilities in `KanbanFilters` with options to show/hide TFS tasks and filter by TFS projects. - Integrated `TfsQuickFilter` component into `KanbanPageClient` and `MobileControls` for enhanced task management. - Updated `TasksContext` to support new TFS filter states and ensure proper task filtering based on TFS criteria. - Enhanced type definitions in `types.ts` to accommodate new TFS filter properties.
This commit is contained in:
@@ -10,6 +10,7 @@ import { CreateTaskData } from '@/clients/tasks-client';
|
||||
import { CreateTaskForm } from '@/components/forms/CreateTaskForm';
|
||||
import { Button } from '@/components/ui/Button';
|
||||
import { JiraQuickFilter } from '@/components/kanban/JiraQuickFilter';
|
||||
import { TfsQuickFilter } from '@/components/kanban/TfsQuickFilter';
|
||||
import { FontSizeToggle } from '@/components/ui/FontSizeToggle';
|
||||
import { MobileControls } from '@/components/kanban/MobileControls';
|
||||
import { useIsMobile } from '@/hooks/useIsMobile';
|
||||
@@ -119,6 +120,12 @@ function KanbanPageContent() {
|
||||
onFiltersChange={setKanbanFilters}
|
||||
/>
|
||||
|
||||
{/* Raccourcis TFS */}
|
||||
<TfsQuickFilter
|
||||
filters={kanbanFilters}
|
||||
onFiltersChange={setKanbanFilters}
|
||||
/>
|
||||
|
||||
<button
|
||||
onClick={handleToggleCompactView}
|
||||
className={`flex items-center gap-2 px-3 py-1.5 rounded-md text-sm font-mono transition-all ${
|
||||
|
||||
Reference in New Issue
Block a user