⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
fix: merge conflict
LAZIC Erwan31e2615117b3
diff --git a/apps/web/src/components/kanban-board/task-card.tsx b/apps/web/src/components/kanban-board/task-card.tsxindex da5b391f4..f79a0a4c7 100644--- a/apps/web/src/components/kanban-board/task-card.tsx+++ b/apps/web/src/components/kanban-board/task-card.tsx@@ -8,6 +8,7 @@ import {CalendarX,GitMerge,GitPullRequest,+ SlidersHorizontal,SquareCheck,} from "lucide-react";import { type CSSProperties, useMemo, useState } from "react";@@ -286,6 +287,53 @@ function TaskCard({ task, disableDragDrop = false }: TaskCardProps) {</span>)}+ {activeCustomFieldValues.length > 0 && (+ <HoverCard openDelay={200} closeDelay={100}>+ <HoverCardTrigger asChild>+ <button+ type="button"+ className="inline-flex items-center gap-1 rounded border border-border/70 bg-muted/55 px-2 py-1 text-[10px] font-medium text-muted-foreground cursor-default focus:outline-none focus:ring-2 focus:ring-ring/50 focus:ring-offset-1"+ onClick={(e) => {+ e.stopPropagation();+ e.preventDefault();+ }}+ onPointerDown={(e) => {+ e.stopPropagation();+ e.preventDefault();+ }}+ aria-label={t("tasks:customFields.ariaLabel", {+ count: activeCustomFieldValues.length,+ })}+ >+ <SlidersHorizontal className="w-3 h-3" />+ <span>{activeCustomFieldValues.length}</span>+ </button>+ </HoverCardTrigger>+ <HoverCardContent+ className="w-fit p-2.5"+ side="bottom"+ onClick={(e) => e.stopPropagation()}+ onPointerDown={(e) => e.stopPropagation()}+ >+ <div className="space-y-1.5">+ {activeCustomFieldValues.map((field) => (+ <div+ key={field.id}+ className="flex items-center justify-between gap-2 text-xs"+ >+ <span className="font-medium text-muted-foreground truncate">+ {field.fieldName}+ </span>+ <span className="text-foreground truncate max-w-24">+ {field.value}+ </span>+ </div>+ ))}+ </div>+ </HoverCardContent>+ </HoverCard>+ )}+{showTaskItemCounts && taskItemStats.total > 0 && (<spanclassName={cn(diff --git a/apps/web/src/components/shared/modals/create-task-modal.tsx b/apps/web/src/components/shared/modals/create-task-modal.tsxindex 1d6669134..385bbf52b 100644--- a/apps/web/src/components/shared/modals/create-task-modal.tsx+++ b/apps/web/src/components/shared/modals/create-task-modal.tsx@@ -307,6 +307,13 @@ function CreateTaskModal({(label) => label.name.toLowerCase() === searchValue.toLowerCase(),);+ const buildDefaultCustomFieldValues = useCallback(() => {+ return customFields.reduce<Record<string, string>>((acc, field) => {+ acc[field.id] = field.defaultValue ?? "";+ return acc;+ }, {});+ }, [customFields]);+const hasUnsavedChanges = Boolean(title.trim() ||description.trim() ||