Skip to content

Commit ea4400f

Browse files
travkin79Copilot
andcommitted
Add side-by-side comparison via new Copilot menu entry
- Add 'Compare Chat View Rendering Alternatives' Copilot menu entry - Opens both rendering alternatives in one dialog, side by side, for visual comparison Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 0a2fa46 commit ea4400f

3 files changed

Lines changed: 586 additions & 1 deletion

File tree

com.microsoft.copilot.eclipse.ui.test/META-INF/MANIFEST.MF

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,5 @@ Require-Bundle: org.mockito.mockito-core;bundle-version="5.14.2",
2929
org.eclipse.e4.core.services;bundle-version="2.4.200",
3030
org.osgi.service.event,
3131
com.google.gson,
32-
com.microsoft.copilot.eclipse.terminal.api;bundle-version="0.20.0"
32+
com.microsoft.copilot.eclipse.terminal.api;bundle-version="0.20.0",
33+
org.eclipse.e4.ui.css.swt.theme;bundle-version="0.14.500"

com.microsoft.copilot.eclipse.ui.test/plugin.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,29 @@
2323
name="Editor for Refactor Rename Tests"/>
2424
</extension>
2525

26+
<extension
27+
point="org.eclipse.ui.commands">
28+
<command
29+
id="copilot.test.compareRenderers"
30+
name="Compare Chat View Rendering Alternatives"/>
31+
</extension>
32+
33+
<extension
34+
point="org.eclipse.ui.handlers">
35+
<handler
36+
class="com.microsoft.copilot.eclipse.ui.chat.ConversationRendererVisualDemoSideBySide"
37+
commandId="copilot.test.compareRenderers"/>
38+
</extension>
39+
40+
<extension
41+
point="org.eclipse.ui.menus">
42+
<menuContribution
43+
locationURI="menu:com.microsoft.copilot.eclipse.ui.menuBar?after=additions">
44+
<command
45+
commandId="copilot.test.compareRenderers"
46+
label="Compare Chat View Rendering Alternatives"
47+
style="push"/>
48+
</menuContribution>
49+
</extension>
50+
2651
</plugin>

0 commit comments

Comments
 (0)