Skip to content

feat(messages): add file-link context menu with reveal#81

Merged
Dimillian merged 4 commits intoDimillian:mainfrom
fihaaade:main
Jan 18, 2026
Merged

feat(messages): add file-link context menu with reveal#81
Dimillian merged 4 commits intoDimillian:mainfrom
fihaaade:main

Conversation

@fihaaade
Copy link
Contributor

No description provided.

@Dimillian
Copy link
Owner

@codex review this pr

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 69dcc5228e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +95 to +99
await MenuItem.new({
text: "Open Link in New Window",
action: async () => {
await openFileLink(rawPath);
},

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P3 Badge Make “Open Link in New Window” actually open a new window

The new context menu item labeled “Open Link in New Window” executes the exact same action as “Open Link” (openFileLink(rawPath)), so users will never get a distinct new-window behavior. Because openFileLink ultimately delegates to open_workspace_in (which just calls open -a <app> <path>), this menu item is misleading and provides no added functionality; consider removing it or wiring a separate command/flag (e.g., open -n -a on macOS) to match the label.

Useful? React with 👍 / 👎.

@Dimillian
Copy link
Owner

@codex any other issue with this PR?

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ccb923bdc7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +95 to +99
await MenuItem.new({
text: "Open Link in New Window",
action: async () => {
await openFileLink(rawPath);
},

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P3 Badge Make “Open Link in New Window” actually open a new window

The new context-menu item labeled “Open Link in New Window” invokes the same openFileLink action as the regular open item, so it performs the exact same operation and does not open a new window. This is user-visible misbehavior: when users rely on opening in a separate window to keep their existing editor state intact, this option won’t do that because it calls the same handler. Consider wiring this to a distinct code path (e.g., a new backend command or different app args) or removing the label until the behavior exists.

Useful? React with 👍 / 👎.

@Dimillian Dimillian merged commit 4058368 into Dimillian:main Jan 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants