Fixed an issue where buttons to start a new Cody chat and show Chat History were visible in non-Cody views.
Also removed the cody.hasChatHistory when clause since those are no longer being set and is invokable via the chat UI instead of sidebar tree views.
Test plan
Log into Cody as PLG users and open Chat and a new chat in Editor to verify the History button and New Chat button only shows up in the Editor Chat Panel:
Verify the same thing with Enterprise users:
Open other extension panels and verify those buttons are not showing up in non-Cody panels:
Changelog
Fixed an issue where buttons to start a new Cody chat and show Chat History were visible in non-Cody views.
CLOSE https://linear.app/sourcegraph/issue/CODY-3141/new-chat-and-chat-history-icons-appearing-in-various-places-in-vs-code
Fixed an issue where buttons to start a new Cody chat and show Chat History were visible in non-Cody views.
Also removed the
cody.hasChatHistory
when clause since those are no longer being set and is invokable via the chat UI instead of sidebar tree views.Test plan
Log into Cody as PLG users and open Chat and a new chat in Editor to verify the History button and New Chat button only shows up in the Editor Chat Panel:
Verify the same thing with Enterprise users:
Open other extension panels and verify those buttons are not showing up in non-Cody panels:
Changelog
Fixed an issue where buttons to start a new Cody chat and show Chat History were visible in non-Cody views.