Skip to content

Add action pane details to user messages in chat UI #262

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented May 30, 2025

This PR adds a dropdown area to user messages that shows what options were selected and their configuration when the message was sent. The implementation follows a similar UI pattern as citations in AI messages, providing users with clear visibility into which features were active.

Features Added

  • Action details dropdown: Collapsible section in user messages showing selected options
  • Multiple option support: Shows details for:
    • Workspace selection (scope and document name)
    • Document classification if applicable
    • Image generation status
    • Web search status
    • Prompt selection with name

Implementation Details

  1. Added CSS styles for the action details container and buttons
  2. Implemented a function to collect active options when sending a message
  3. Created a function to generate HTML for displaying action details
  4. Modified appendMessage to include action details for user messages
  5. Added toggle functionality for showing/hiding action details
  6. Updated backend integration to store and retrieve action details with messages

Screenshots

No screenshots provided, but the UI follows the same pattern as citations in AI messages with a gear icon (⚙️) toggle button to show/hide details.

Fixes #261.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits May 30, 2025 12:57
Co-authored-by: paullizer <34814295+paullizer@users.noreply.github.com>
Co-authored-by: paullizer <34814295+paullizer@users.noreply.github.com>
@Copilot Copilot AI changed the title [WIP] Added action pane details to the user messages Add action pane details to user messages in chat UI May 30, 2025
@Copilot Copilot AI requested a review from paullizer May 30, 2025 13:02
Copilot finished work on behalf of paullizer May 30, 2025 13:02
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.

Added action pane details to the user messages
2 participants