Skip to content

Fix MCP Server settings URL links: replace browserLink with copy-to-clipboard ActionLink#3479

Open
DevDengChao wants to merge 2 commits intoJetBrains:masterfrom
DevDengChao:copilot/fix-enable-mcp-server-links
Open

Fix MCP Server settings URL links: replace browserLink with copy-to-clipboard ActionLink#3479
DevDengChao wants to merge 2 commits intoJetBrains:masterfrom
DevDengChao:copilot/fix-enable-mcp-server-links

Conversation

@DevDengChao
Copy link
Copy Markdown
Contributor

The two links after "Enable MCP Server" checkbox used browserLink("", "") with no initial URL and never updated the URL (only the text). This caused clicks to open blank pages in the browser.

Replace with ActionLink components that copy the URL to clipboard on click, and properly maintain URL variables updated by refreshLinks().

Agent-Logs-Url: https://github.com/DevDengChao/intellij-community/sessions/19aadf3b-61fe-4e27-9649-3e43df86b61b

…lipboard ActionLink

The two links after "Enable MCP Server" checkbox used browserLink("", "") with
no initial URL and never updated the URL (only the text). This caused clicks to
open blank pages in the browser.

Replace with ActionLink components that copy the URL to clipboard on click,
and properly maintain URL variables updated by refreshLinks().

Agent-Logs-Url: https://github.com/DevDengChao/intellij-community/sessions/19aadf3b-61fe-4e27-9649-3e43df86b61b

Co-authored-by: DevDengChao <16363180+DevDengChao@users.noreply.github.com>
@DevDengChao
Copy link
Copy Markdown
Contributor Author

See IJPL-242244 Unable to copy MCP server url

…mcp-server-links

Co-authored-by: DevDengChao <16363180+DevDengChao@users.noreply.github.com>
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.

3 participants