mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-05 09:33:07 +00:00
including type error commit fixes
This commit is contained in:
@@ -393,10 +393,10 @@ export const KanbanCard = memo(function KanbanCard({
|
|||||||
!isDescriptionExpanded && "line-clamp-3"
|
!isDescriptionExpanded && "line-clamp-3"
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{feature.description || feature.summary || feature.title || feature.id}
|
{feature.description || feature.summary || feature.id}
|
||||||
</CardTitle>
|
</CardTitle>
|
||||||
{/* Show More/Less toggle - only show when description is likely truncated */}
|
{/* Show More/Less toggle - only show when description is likely truncated */}
|
||||||
{(feature.description || feature.summary || feature.title || "").length > 100 && (
|
{(feature.description || feature.summary || "").length > 100 && (
|
||||||
<button
|
<button
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
@@ -844,9 +844,9 @@ export const KanbanCard = memo(function KanbanCard({
|
|||||||
<Sparkles className="w-5 h-5 text-green-400" />
|
<Sparkles className="w-5 h-5 text-green-400" />
|
||||||
Implementation Summary
|
Implementation Summary
|
||||||
</DialogTitle>
|
</DialogTitle>
|
||||||
<DialogDescription className="text-sm" title={feature.description || feature.summary || feature.title || ""}>
|
<DialogDescription className="text-sm" title={feature.description || feature.summary || ""}>
|
||||||
{(() => {
|
{(() => {
|
||||||
const displayText = feature.description || feature.summary || feature.title || "No description";
|
const displayText = feature.description || feature.summary || "No description";
|
||||||
return displayText.length > 100
|
return displayText.length > 100
|
||||||
? `${displayText.slice(0, 100)}...`
|
? `${displayText.slice(0, 100)}...`
|
||||||
: displayText;
|
: displayText;
|
||||||
|
|||||||
Reference in New Issue
Block a user