feat(app): open project menu on right-click (#41013)

This commit is contained in:
Aarav Sareen 2026-08-07 14:55:46 +05:30 committed by GitHub
parent b05a0d1fbe
commit 284214c78d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -475,6 +475,10 @@ function HomeProjectRow(
ref={sortable.ref}
class="group/project relative flex h-7 min-w-0 items-center rounded-[6px]"
classList={{ "z-10": sortable.isDragSource() }}
onContextMenu={(event) => {
event.preventDefault()
props.onSetContextMenuOpen(contextMenuID(), true)
}}
>
<HomeProjectNavButton
type="button"