Skip to content

Commit 4559467

Browse files
feat(web): show full file path on composer mention pill hover
1 parent f9019cd commit 4559467

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

apps/web/src/components/ComposerPromptEditor.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,8 @@ function renderMentionChipDom(container: HTMLElement, pathValue: string): void {
438438
container.textContent = "";
439439
container.style.setProperty("user-select", "none");
440440
container.style.setProperty("-webkit-user-select", "none");
441+
container.title = pathValue;
442+
container.setAttribute("aria-label", pathValue);
441443

442444
const theme = resolvedThemeFromDocument();
443445
const icon = document.createElement("img");

0 commit comments

Comments
 (0)