From fdaf47c1e5a48f2888f2dbc060a03e8b0df46a39 Mon Sep 17 00:00:00 2001 From: Julien Froidefond Date: Wed, 17 Sep 2025 08:39:46 +0200 Subject: [PATCH] feat: extend type definitions for KanbanFilters, ViewPreferences, and ColumnVisibility - Added index signatures to allow for dynamic keys in KanbanFilters, ViewPreferences, and ColumnVisibility interfaces, enhancing flexibility in handling additional properties. - Updated layout metadata to reflect new application title and description for better branding. - Updated binary database file. --- lib/types.ts | 3 +++ src/app/layout.tsx | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/types.ts b/lib/types.ts index acff822..e71a7db 100644 --- a/lib/types.ts +++ b/lib/types.ts @@ -53,6 +53,7 @@ export interface KanbanFilters { priorities?: TaskPriority[]; showCompleted?: boolean; sortBy?: string; + [key: string]: string | string[] | TaskPriority[] | boolean | undefined; } export interface ViewPreferences { @@ -63,10 +64,12 @@ export interface ViewPreferences { showFilters: boolean; objectivesCollapsed: boolean; theme: 'light' | 'dark'; + [key: string]: boolean | 'tags' | 'priority' | 'light' | 'dark' | undefined; } export interface ColumnVisibility { hiddenStatuses: TaskStatus[]; + [key: string]: TaskStatus[] | undefined; } export interface UserPreferences { diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 077144b..bf6f397 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -14,8 +14,8 @@ const geistMono = Geist_Mono({ }); export const metadata: Metadata = { - title: "Create Next App", - description: "Generated by create next app", + title: "Tower control", + description: "Tour de controle (Kanban, tache, daily, ...)", }; export default function RootLayout({