Skip to content

Conversation

akshatbatra
Copy link
Contributor

@akshatbatra akshatbatra commented Aug 11, 2025

Closes #393

Addition of hover menu with Explain and Chat buttons for code in TemplateMark, Concerto and JSON Data editors.

Changes

  • Explain button that opens an inline popup within the editor for explaining selected code.
  • Chat button sends the code to chat window for explanation, user can ask follow up questions via this method.
  • Code selection hover menu (explain and chat buttons) can be disabled/enabled in advanced settings of AI Assistant.
  • Message rendering has been improved. Formatting of LLM responses had to improved for inline popup, this resulted in better rendering for all assistant responses in the chat panel too.

Author Checklist

  • Ensure you provide a DCO sign-off for your commits using the --signoff option of git commit.
  • Vital features and changes captured in unit and/or integration tests
  • Commits messages follow AP format
  • Extend the documentation, if necessary
  • Merging to main from fork:branchname

@akshatbatra akshatbatra requested a review from a team as a code owner August 11, 2025 16:49
Copy link

netlify bot commented Aug 11, 2025

Deploy Preview for ap-template-playground ready!

Name Link
🔨 Latest commit fdb68e9
🔍 Latest deploy log https://app.netlify.com/projects/ap-template-playground/deploys/689a3bec9bd1570008fe26d1
😎 Deploy Preview https://deploy-preview-397--ap-template-playground.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@akshatbatra akshatbatra force-pushed the code-selection-actions branch from 936604d to 3912ab4 Compare August 11, 2025 16:53
@akshatbatra akshatbatra force-pushed the code-selection-actions branch from 3912ab4 to 7ee6246 Compare August 11, 2025 16:54
Copy link
Member

@sanketshevkar sanketshevkar left a comment

Choose a reason for hiding this comment

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

LGTM

@sanketshevkar sanketshevkar merged commit 7fd1c94 into accordproject:main Aug 22, 2025
7 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.

Explain and Chat Hover Buttons on Code Selection as part of AI Assistant
2 participants