Skip to content

Commit 74ef7c3

Browse files
feat(desktop): add open in new tab context menu option
1 parent eb69408 commit 74ef7c3

File tree

1 file changed

+7
-2
lines changed
  • apps/desktop/src/components/main/sidebar/timeline

1 file changed

+7
-2
lines changed

apps/desktop/src/components/main/sidebar/timeline/item.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,14 +258,19 @@ const SessionItem = memo(
258258

259259
const contextMenu = useMemo(
260260
() => [
261+
{
262+
id: "open-new-tab",
263+
text: "Open in new tab",
264+
action: handleCmdClick,
265+
},
261266
{
262267
id: "reveal",
263268
text: "Reveal in Finder",
264269
action: handleRevealInFinder,
265270
},
266-
{ id: "delete", text: "Delete Completely", action: handleDelete },
271+
{ id: "delete", text: "Delete completely", action: handleDelete },
267272
],
268-
[handleRevealInFinder, handleDelete],
273+
[handleCmdClick, handleRevealInFinder, handleDelete],
269274
);
270275

271276
return (

0 commit comments

Comments
 (0)