about
about copied to clipboard
SGM-6931 - A/B test header on the /Cody page
DESCRIPTION:
Displays Different header on the Cody page depending on User group
Figma Design: https://www.figma.com/file/oQgh5R0iSBG3UII6C8CPJ8/Cody-page?type=design&node-id=4582-14344&mode=dev
Ensures pageloads after the feature flag from PostHog is loaded
- "control" group members, see section:
"Cody is a coding AI assistant that uses AI and a deep understanding of your codebase to help you write and understand code faster."
- "test" group members, see section
"Cody is the AI coding assistant that understands your code.
- Ingest Code from any code host
- Choose from the latest AI models
- Get relevant AI suggestions through enhanced context"
- While "undefined" group members (in the case PostHog fails), see the same headline as "control" group members.
- When a user lands on the Cody page, it logs an enrollment event to eventLogger. With name:
ValueHeadlineTestEnrolledand adds user's variant in the event metadata "Control" or "Test"
REF:
- [Sourcegraph Issue] https://github.com/sourcegraph/about/issues/6931
- [Ticket] (https://clients.gitstart.com/sourcegraph/3436/tickets/SGM-6931)
DEMO:
https://www.loom.com/share/6f9e57b17dba455890c61c457ad5a4f7?sid=293cc675-bde5-4226-8db3-42cfbec5a30e
Deploy Preview for sourcegraph ready!
| Name | Link |
|---|---|
| Latest commit | 7ea5120529eb636dbb70bfed98ab8861cbbd44dd |
| Latest deploy log | https://app.netlify.com/sites/sourcegraph/deploys/6661b7699e95bf00086a5ab0 |
| Deploy Preview | https://deploy-preview-6946--sourcegraph.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
@gitstart-sourcegraph , unfortunately since we worked on this in parallel with the light scheme for the Cody page, we ended up with a big merge conflict. Can you please help resolve the conflict to ship this on the light theme page? I can approve a new estimate for re-work on this.
@gitstart-sourcegraph , unfortunately since we worked on this in parallel with the light scheme for the Cody page, we ended up with a big merge conflict. Can you please help resolve the conflict to ship this on the light theme page? I can approve a new estimate for re-work on this.
Hi @iskyOS, This is noted. We created a new PR here Thank you