Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

link to Cody chat on the web from the Cody manage page#63530

Merged
sqs merged 1 commit into
mainfrom
sqs/cody-manage-web-link
Jun 27, 2024
Merged

link to Cody chat on the web from the Cody manage page#63530
sqs merged 1 commit into
mainfrom
sqs/cody-manage-web-link

Conversation

@sqs

@sqs sqs commented Jun 27, 2024

Copy link
Copy Markdown
Member

Improves the Cody PLG management page to have a more prominent link to Cody Web. Also renames Ask Cody to Cody for simplicity.

Closes https://linear.app/sourcegraph/issue/PRIME-396/improve-web-chat-link-on-cody-manage-page

image

Test plan

View in dotcom mode and ensure section looks nice

Improves the Cody PLG management page to have a more prominent link to Cody Web. Also renames `Ask Cody` to `Cody` for simplicity.

Closes https://linear.app/sourcegraph/issue/PRIME-396/improve-web-chat-link-on-cody-manage-page
@sqs sqs requested review from a team June 27, 2024 20:24
@cla-bot cla-bot Bot added the cla-signed label Jun 27, 2024

@chrsmith chrsmith left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

interface EditorInstructionsTile {
/** Refers to gs://sourcegraph-assets/ideIcons/ideIcon${icon}.svg. */
icon?: string
icon?: string | React.ComponentType<{ className?: string }>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Having icon be either a string or a React component seems a little awkward.

How many instances are there of <EditorInstructionsTile> in the codebase? Would it make sense to just do the larger refactoring to only take a React.ComponentType here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yeah, def. I'll do that in a separate PR. Going to merge this page with the Cody dashboard page soon (will keep this one since this one is the one under more active maintenance).

@sqs sqs enabled auto-merge (squash) June 27, 2024 20:59
@sqs sqs merged commit 3e283e4 into main Jun 27, 2024
@sqs sqs deleted the sqs/cody-manage-web-link branch June 27, 2024 21:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants