From cb763a39f062e98a093523cc4f306d02b714b70a Mon Sep 17 00:00:00 2001 From: Sid Jain Date: Tue, 29 Sep 2026 13:52:29 +0000 Subject: [PATCH] fix: expand truncated issue titles --- src/components/github-activity-days.tsx | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/src/components/github-activity-days.tsx b/src/components/github-activity-days.tsx index 1335773..420b248 100644 --- a/src/components/github-activity-days.tsx +++ b/src/components/github-activity-days.tsx @@ -8,6 +8,7 @@ import { LockKeyhole, } from "lucide-react"; import Image from "next/image"; +import { useState } from "react"; import { DateTime } from "@/components/date-time"; import { LanguageIcon } from "@/components/language-icon"; @@ -229,7 +230,7 @@ function IssueRow({ }: Readonly<{ item: Extract; }>) { - const Row = item.destination === null ? "div" : "a"; + const [expanded, setExpanded] = useState(false); const status = item.status ?? "open"; const Icon = status === "open" @@ -242,15 +243,16 @@ function IssueRow({ ? "Issue closed as not planned" : `Issue ${status}`; return ( -
  • - +
  • ); }