mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-05-22 03:07:02 +00:00
feat: add-task hover (#732)
This commit is contained in:
commit
003124586e
2 changed files with 11 additions and 7 deletions
|
|
@ -335,10 +335,12 @@ export default function ProjectGroup({
|
|||
<span>{project.total_tokens ? project.total_tokens.toLocaleString() : "0"}</span>
|
||||
</Tag>
|
||||
|
||||
<Tag variant="default" size="sm" className="min-w-10">
|
||||
<Pin />
|
||||
<span>{project.task_count}</span>
|
||||
</Tag>
|
||||
<TooltipSimple content={t("layout.tasks")}>
|
||||
<Tag variant="default" size="sm" className="min-w-10">
|
||||
<Pin />
|
||||
<span>{project.task_count}</span>
|
||||
</Tag>
|
||||
</TooltipSimple>
|
||||
</div>
|
||||
|
||||
{/* End: Status and menu */}
|
||||
|
|
@ -401,4 +403,4 @@ export default function ProjectGroup({
|
|||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -88,7 +88,9 @@ export default function TaskItem({
|
|||
`}
|
||||
>
|
||||
<div className="flex items-center gap-2 flex-1 min-w-0">
|
||||
<Pin className="w-4 h-4 text-icon-primary" />
|
||||
<TooltipSimple content={t("layout.tasks")}>
|
||||
<Pin className="w-4 h-4 text-icon-primary" />
|
||||
</TooltipSimple>
|
||||
|
||||
<div className="flex flex-col gap-1 flex-1 min-w-0">
|
||||
<TooltipSimple
|
||||
|
|
@ -206,4 +208,4 @@ export default function TaskItem({
|
|||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue