Skip to content
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

change: enable new chat and search UIs by default #2079

Merged
merged 27 commits into from
Dec 5, 2023
Merged

Conversation

abeatrix
Copy link
Contributor

@abeatrix abeatrix commented Dec 4, 2023

CONTEXT: https://sourcegraph.slack.com/archives/C066F85TE80/p1701709448915889

change: enable new chat and search UIs by default

Follow up

Cean up chat manager and sidebar chat view.

Test plan

All the tests have been updated to run on the new chat UI instead.

  • confirm the new chat UI is enabled by default
  • confirm inline-chat is no longer available
  • confirm fixup tree view is no longer showing up
  • will not be able to switch back to the old UI
image

@abeatrix abeatrix requested a review from a team December 4, 2023 18:21
vscode/package.json Outdated Show resolved Hide resolved
@abeatrix abeatrix mentioned this pull request Dec 5, 2023
vscode/CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Contributor

@philipp-spiess philipp-spiess left a comment

Choose a reason for hiding this comment

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

Inline chat and inline touch was already disable before, right? Not that we're upsetting people by taking it away with no option to bring it back :) Rest LGTM

vscode/test/e2e/chat.test.ts Outdated Show resolved Hide resolved
vscode/test/e2e/at-file-context-selecting.test.ts Outdated Show resolved Hide resolved
vscode/test/integration/chat.test.ts Show resolved Hide resolved
@abeatrix abeatrix mentioned this pull request Dec 5, 2023
@abeatrix
Copy link
Contributor Author

abeatrix commented Dec 5, 2023

Inline chat and inline touch was already disable before, right? Not that we're upsetting people by taking it away with no option to bring it back :) Rest LGTM

Yea they were turned off by default and confirmed with product here to remove inline chat here: https://sourcegraph.slack.com/archives/C066F85TE80/p1701709918296539?thread_ts=1701709448.915889&channel=C066F85TE80&message_ts=1701709918.296539

Copy link
Contributor

@kalanchan kalanchan left a comment

Choose a reason for hiding this comment

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

looks good!

  • new chat enabled and works ✅
  • don't see old UI flags anymore ✅
  • Search UI on by default and works ✅
  • don't see fixup view anymore ✅
CleanShot.2023-12-05.at.09.53.20.mp4

@abeatrix abeatrix merged commit f48f7c2 into main Dec 5, 2023
16 checks passed
@abeatrix abeatrix deleted the bee/default-chat-ui branch December 5, 2023 18:00
philipp-spiess added a commit that referenced this pull request Dec 12, 2023
Fixes #2292

Previously, detecting pastes into the document required the inline chat
controller to be listening for changes. Since that was removed in #2079,
we no longer detected pasts. This brings this behavior back via a
dedicated event listener we add in `main`.

## Test plan

- Ask cody to gen code
- Copy it
- Paste it into a doc

<img width="1132" alt="Screenshot 2023-12-12 at 11 22 37"
src="https://github.com/sourcegraph/cody/assets/458591/d3c14317-b7ad-4270-a41f-30448781d149">

<!-- Required. See
https://docs.sourcegraph.com/dev/background-information/testing_principles.
-->
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.

None yet

4 participants