sourcegraph / cody

AI that knows your entire codebase
https://cody.dev
Apache License 2.0
2.24k stars 213 forks source link

Chat: Refactor update notices to be IDE-specific #4637

Closed abeatrix closed 1 week ago

abeatrix commented 1 week ago

Part of https://linear.app/sourcegraph/issue/CODY-2291/port-chat-ux-vscode-isms-to-jetbrains

Make IDE-specific release notes URLs and version info to update notices

NOTE: This assumes each agent IDE are sending the correct IDE name and version number to the webview for the update notice to be displayed. When those are not provided, the updated notice will not be rendered.

BREAKING CHANGE: The VersionUpdatedNotice component now requires IDE and version props.

Test plan

You can start the story book with pnpm run storybook to verify the components are working as expected:

image