Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(ui): drop native title that stacked on custom hover surfaces (MUL-4836) (#5502)

Naiyuan Qingf9f41e991a62
diff --git a/packages/ui/components/common/actor-avatar.tsx b/packages/ui/components/common/actor-avatar.tsx
index 96c670d367..1a9abb9e96 100644
--- a/packages/ui/components/common/actor-avatar.tsx
+++ b/packages/ui/components/common/actor-avatar.tsx
@@ -53,7 +53,6 @@ function ActorAvatar({
"rounded-full"
)}
style={{ width: px, height: px, fontSize: px * 0.45 }}
- title={name}
>
{avatarUrl && !imgError ? (
<img
diff --git a/packages/views/common/actor-avatar.tsx b/packages/views/common/actor-avatar.tsx
index 70e38e8a4b..9d79c5043f 100644
--- a/packages/views/common/actor-avatar.tsx
+++ b/packages/views/common/actor-avatar.tsx
@@ -208,7 +208,6 @@ export function AgentStatusDot({ agentId, size }: { agentId: string; size?: Avat
return (
<span
aria-label={`Status: ${label}`}
- title={label}
className={`absolute bottom-0 right-0 rounded-full ring-1 ring-background ${dotClass} ${dotSize}`}
/>
);
diff --git a/packages/views/modals/create-project.test.tsx b/packages/views/modals/create-project.test.tsx
index c1a328e3d4..0f517cd5f6 100644
--- a/packages/views/modals/create-project.test.tsx
+++ b/packages/views/modals/create-project.test.tsx
@@ -177,8 +177,10 @@ describe("CreateProjectModal", () => {
it("exposes full repository URLs in the repository picker", () => {
render(<CreateProjectModal onClose={vi.fn()} />);
- expect(screen.getByTitle(longRepoUrl)).toHaveTextContent(longRepoUrl);
+ // The Tooltip is the single reveal mechanism. A native `title` carrying the
+ // same URL would stack a browser tooltip on top of it (MUL-4836).
expect(screen.getByRole("tooltip", { name: longRepoUrl })).toBeInTheDocument();
+ expect(screen.queryByTitle(longRepoUrl)).toBeNull();
});
it("reveals the start/due date pickers from the ⋯ overflow menu", async () => {
diff --git a/packages/views/modals/create-project.tsx b/packages/views/modals/create-project.tsx
index 00791021fd..96efb86382 100644
--- a/packages/views/modals/create-project.tsx
+++ b/packages/views/modals/create-project.tsx
@@ -78,10 +78,7 @@ function RepoUrlText({
<Tooltip>
<TooltipTrigger
render={
- <span
- title={url}
- className={cn("truncate flex-1 text-left", className)}
- >
+ <span className={cn("truncate flex-1 text-left", className)}>
{url}
</span>
}