Skip to content

Conversation

@alexyaroshuk
Copy link
Contributor

@alexyaroshuk alexyaroshuk commented Feb 6, 2026

What does this PR do?

1. adds right-click context menu to the file tree:

feat-add-file-tree-context-menu.mp4

2. adds right-click context menu to the session tabs:

feat-add-session-tabs-context-menu.mp4

3. Adds following actions:

File tree:

  • Open (file only)
  • Mention in prompt

4. new keys in i18n for 'mention', 'close others'

Session tabs:

  • Close
  • Close others - closes other tabs
  • Mention in prompt

How did you verify your code works?

manual test & e2e

Files changed:

Files What Changed
file-tree.tsx Added context menu using dynamic import() with createResourcer
session-sortable-tab.tsx Added context menu via static import
session.tsx Added mentionFile(), closeOtherTabs(), mentionTab() functions
session-side-panel.tsx Wired context menu callbacks to components
i18n/*.ts (×16) Added translations

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@alexyaroshuk alexyaroshuk force-pushed the feat/file-tree-context-menu-clean branch from 92b9a24 to 95d2d4d Compare February 6, 2026 23:12
@alexyaroshuk alexyaroshuk reopened this Feb 6, 2026
@alexyaroshuk alexyaroshuk marked this pull request as draft February 6, 2026 23:25
@alexyaroshuk alexyaroshuk force-pushed the feat/file-tree-context-menu-clean branch from a7d41c6 to 09a37a7 Compare February 7, 2026 18:41
…xt-menu-clean

# Conflicts:
#	packages/app/src/pages/session/session-side-panel.tsx
@alexyaroshuk alexyaroshuk marked this pull request as draft February 7, 2026 18:54
@alexyaroshuk alexyaroshuk marked this pull request as ready for review February 7, 2026 19:02
@alexyaroshuk
Copy link
Contributor Author

reworked to align with refactored session/session side panel, & merged the other pr in, please check @adamdotdevin , thanks.

@alexyaroshuk alexyaroshuk marked this pull request as draft February 9, 2026 00:44
@alexyaroshuk alexyaroshuk marked this pull request as ready for review February 9, 2026 21:44
@alexyaroshuk
Copy link
Contributor Author

@adamdotdevin i solved the test failure - could you this a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant