⚡ 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(web): keep task dates inside the properties sidebar
Tin Sever86b29923e340
diff --git a/apps/web/src/components/task/properties/properties-rail.tsx b/apps/web/src/components/task/properties/properties-rail.tsxindex 47fec9ab4..57a9dcab0 100644--- a/apps/web/src/components/task/properties/properties-rail.tsx+++ b/apps/web/src/components/task/properties/properties-rail.tsx@@ -1,4 +1,4 @@-import { ArrowRight, Calendar, CalendarDays } from "lucide-react";+import { Calendar, CalendarDays } from "lucide-react";import { useTranslation } from "react-i18next";import icons from "@/constants/project-icons";import { getColumnIcon } from "@/lib/column";@@ -113,13 +113,16 @@ export function PropertiesRail({</TaskLabelsPopover></PropertyRow>- <PropertyRow label={t("tasks:properties.dates")}>- <div className="flex min-w-0 items-center gap-0.5">+ <PropertyRow label={t("tasks:properties.dates")} align="start">+ <div className="flex min-w-0 flex-1 flex-col gap-0.5"><TaskStartDatePopover task={task}><PropertyValue className="flex-none"><CalendarDays className="text-muted-foreground" /><span- className={cn(!task.startDate && "text-muted-foreground")}+ className={cn(+ "truncate",+ !task.startDate && "text-muted-foreground",+ )}>{task.startDate? formatDateShort(task.startDate)@@ -127,7 +130,6 @@ export function PropertiesRail({</span></PropertyValue></TaskStartDatePopover>- <ArrowRight className="size-3 shrink-0 text-muted-foreground/60" /><TaskDueDatePopover task={task}><PropertyValuedata-task-action="dueDate"@@ -136,7 +138,12 @@ export function PropertiesRail({<CalendarclassName={cn(!task.dueDate && "text-muted-foreground")}/>- <span className={cn(!task.dueDate && "text-muted-foreground")}>+ <span+ className={cn(+ "truncate",+ !task.dueDate && "text-muted-foreground",+ )}+ >{task.dueDate? formatDateShort(task.dueDate): t("tasks:dueDate.label")}