-
Notifications
You must be signed in to change notification settings - Fork 350
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
chore(ES): update CTAs and eligibility logic #6803
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not a code review! But the behaviour is approved based on the loom (thank you!)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't forget the backport!
vscode/webviews/CodyPanel.tsx
Outdated
@@ -80,8 +81,9 @@ export const CodyPanel: FunctionComponent<CodyPanelProps> = ({ | |||
const api = useExtensionAPI() | |||
const { value: chatModels } = useObservable(useMemo(() => api.chatModels(), [api.chatModels])) | |||
const isPromptsV2Enabled = useFeatureFlag(FeatureFlag.CodyPromptsV2) | |||
const isTeamsUpgradeCtaEnabled = useFeatureFlag(FeatureFlag.SourcegraphTeamsUpgradeCTA) | |||
|
|||
// Teams upgrade eligibility should be that the flag is set, is on dotcom and only has one account. This prevents enterprise customers that are logged into multiple endpoints from seeing the CTA |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we name this workspaces and not teams? the name is outdated 😬
…6826) Updated CTA links and eligibility logic, see Loom and [CODY-4659](https://linear.app/sourcegraph/issue/CODY-4659/profile-menu-ctas) for full details https://www.loom.com/share/2222084d04a14e1ba080b06c92207a19?sid=67bc08e2-e284-4616-92e4-1f087145a480 Closes https://linear.app/sourcegraph/issue/CORE-535/cody-clients-migrate-ctas-to-live-links. ## Test plan 1. Tested CTA eligibility on dotcom, and enterprise instances 2. Checked dismiss notifications did not break webview 3. Checked links and confirmed that they matched with designs 4. Switched across multiple accounts and everything still worked <br> Backport 7da7444 from #6803 Co-authored-by: Kalan <[email protected]>
#6825) Updated CTA links and eligibility logic, see Loom and [CODY-4659](https://linear.app/sourcegraph/issue/CODY-4659/profile-menu-ctas) for full details https://www.loom.com/share/2222084d04a14e1ba080b06c92207a19?sid=67bc08e2-e284-4616-92e4-1f087145a480 Closes https://linear.app/sourcegraph/issue/CORE-535/cody-clients-migrate-ctas-to-live-links. ## Test plan 1. Tested CTA eligibility on dotcom, and enterprise instances 2. Checked dismiss notifications did not break webview 3. Checked links and confirmed that they matched with designs 4. Switched across multiple accounts and everything still worked <br> Backport 7da7444 from #6803 Co-authored-by: Kalan <[email protected]>
<p className="tw-text-muted-foreground tw-mb-2 tw-text-[12px]"> | ||
Get search, AI chat, autocompletes and inline edits for your entire team to find, | ||
understand and fix code across all of your codebases. | ||
Get your own workspace with AI-powered chat, prompt sharing and codebase serach. Automate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kalanchan you have a typo on the spelling of search:
"Get your own workspace with AI-powered chat, prompt sharing and codebase serach. Automate
Comment"
I think you should fix this before this pull request is backported to other branches.
unlock Code Search, AI chat, autocompletes, inline edits | ||
and more for your team. | ||
Get your own workspace with AI-powered chat, prompt | ||
sharing and codebase serach. Automate tasks and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kalanchan same, you've misspelled search
Fixes typo introduced in #6803 ## Test plan Ran locally, confirmed text change has been applied to dotcom users only <!-- Required. See https://docs-legacy.sourcegraph.com/dev/background-information/testing_principles. -->
Fixes typo introduced in #6803 ## Test plan Ran locally, confirmed text change has been applied to dotcom users only <br> Backport 1e7df48 from #6856 Co-authored-by: Kalan <[email protected]>
Fixes typo introduced in #6803 ## Test plan Ran locally, confirmed text change has been applied to dotcom users only <br> Backport 1e7df48 from #6856 Co-authored-by: Kalan <[email protected]>
Updated CTA links and eligibility logic, see Loom and [CODY-4659](https://linear.app/sourcegraph/issue/CODY-4659/profile-menu-ctas) for full details https://www.loom.com/share/2222084d04a14e1ba080b06c92207a19?sid=67bc08e2-e284-4616-92e4-1f087145a480 Closes https://linear.app/sourcegraph/issue/CORE-535/cody-clients-migrate-ctas-to-live-links. ## Test plan 1. Tested CTA eligibility on dotcom, and enterprise instances 2. Checked dismiss notifications did not break webview 3. Checked links and confirmed that they matched with designs 4. Switched across multiple accounts and everything still worked <!-- Required. See https://docs-legacy.sourcegraph.com/dev/background-information/testing_principles. -->
Fixes typo introduced in #6803 ## Test plan Ran locally, confirmed text change has been applied to dotcom users only <!-- Required. See https://docs-legacy.sourcegraph.com/dev/background-information/testing_principles. -->
Updated CTA links and eligibility logic, see Loom and CODY-4659 for full details
https://www.loom.com/share/2222084d04a14e1ba080b06c92207a19?sid=67bc08e2-e284-4616-92e4-1f087145a480
Closes https://linear.app/sourcegraph/issue/CORE-535/cody-clients-migrate-ctas-to-live-links.
Test plan