Conversation
- Remove build-plugin.yml workflow - Update kotlin-ci.yml to upload artifacts on releases - Fix plugin.xml: add id attribute and remove tool window - Update plugin to use dialog instead of sidebar - Add project selector to plugin chat UI - Add message deletion to plugin and web chat UI - Add collapsible sections to web UI - Fix /code endpoint HTTP 400 error by including project_id Co-authored-by: Mte90 <403283+Mte90@users.noreply.github.com>
Co-authored-by: Mte90 <403283+Mte90@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove build-plugin.yml workflow and improve kotlin-ci
Fix plugin warnings, HTTP 400 error, and add project selection + message deletion
Nov 14, 2025
Mte90
requested changes
Nov 14, 2025
…h, convert to jQuery Co-authored-by: Mte90 <403283+Mte90@users.noreply.github.com>
Mte90
requested changes
Nov 14, 2025
Co-authored-by: Mte90 <403283+Mte90@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task Recap - Implementation Complete ✅
Original Requirements:
com.intellij.statusBarWidgetFactoryextensionNew Requirements (Added):
PR Feedback Addressed:
plugin-extracted/directoryonclickattributes, using pure jQuery event delegationLatest Changes (Removing onclick Attributes)
Web UI Changes (templates/index.html):
onclickattributes from HTML elements.toggle-sectionwithdata-sectionattribute for collapsible sections.delete-message-btnwithdata-indexattribute for message deletion$(document).on('click', '.toggle-section', ...)for section toggles$(document).on('click', '.delete-message-btn', ...)for message deletionwindow.toggleSectionandwindow.deleteMessageglobal functionsChanges Made:
onclick="toggleSection('configSection')"to class-based event delegationonclick="toggleSection('addProjectSection')"to class-based event delegationonclick="deleteMessage(${idx})"to class-based event delegation with data attributesThis follows best practices by:
Complete Implementation Summary
Files Changed:
.github/workflows/build-plugin.yml- DELETED.github/workflows/kotlin-ci.yml- MODIFIEDide-plugins/src/main/kotlin/com/picocode/PicoCodeStatusBarWidget.kt- MODIFIEDide-plugins/src/main/kotlin/com/picocode/PicoCodeToolWindowContent.kt- REWRITTENide-plugins/src/main/kotlin/com/picocode/PicoCodeToolWindowFactory.kt- DELETEDide-plugins/src/main/resources/META-INF/plugin.xml- MODIFIEDtemplates/index.html- MODIFIED (now using jQuery with event delegation, no onclick attributes)Total: 7 files changed, all requirements met, all PR feedback addressed
Original prompt
💡 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.