Skip to content

Conversation

Copy link

Copilot AI commented Dec 1, 2025

When the chat is embedded in documentation pages, users can't view docs and chat side-by-side. This adds a button to pop the chat out into its own window.

Changes

  • Added external-link icon button to chat header toolbar (next to GitHub icon)
  • Opens current chat URL in a 500x700 popup window via window.open()
  • Includes noopener,noreferrer for security
window.open(
  window.location.href,
  "_blank",
  "width=500,height=700,menubar=no,toolbar=no,location=no,status=no,noopener,noreferrer"
);

Screenshot

Pop-out button

Original prompt

This section details on the original issue you should resolve

<issue_title>button to pop out chat</issue_title>
<issue_description>As in this preview:

Image

bids-standard/bids-specification#2254

The problem is that the content of this window does not follow page changes. You can improve this a bit by making all the links open new windows, but then it requires a lot of flipping back and forth between the docs and the chat. It would be nice to have a button that could pop this chat out into its own window so it can be viewed side-by-side with the documentation.</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI self-assigned this Dec 1, 2025
Copilot AI changed the title [WIP] Add button to pop out chat into separate window Add pop-out button for chat window Dec 1, 2025
Copilot AI requested a review from bendichter December 1, 2025 16:16
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.

button to pop out chat

2 participants