SSC: Add "Welcome to Cody Pro" banner#62936
Conversation
There was a problem hiding this comment.
This seemed like the bucket where we host stuff like these.
I couldn't use an SVG this time because the type of gradient used in the graphics is not supported by SVG. The PNG was too large for BASE64+embedding.
There was a problem hiding this comment.
This wires up the new notification to invite accept events.
There was a problem hiding this comment.
Added the notification here
There was a problem hiding this comment.
This wires up the new notification to successful checkouts.
There was a problem hiding this comment.
This restores the styling I removed in https://github.com/sourcegraph/sourcegraph/pull/62888/commits/65932b8d5a23be5b51f3064a69a1c84e8a712f92
@taras-yemets, that CSS was needed after all. 🤷♂️
There was a problem hiding this comment.
@taras-yemets, I pressed the wrong shortcut and GitHub didn't submit this comment before. Just wanted to highlight that we both missed this. 🤦
There was a problem hiding this comment.
Ah, now I see you're trying to reduce the font weight on <h2>.
9bbf227 to
3ee4647
Compare
Contributes to https://github.com/sourcegraph/self-serve-cody/issues/725
We currently don't welcome the user when they first arrive at the Cody Management page. This PR adds a notification.
The changes, each in their own commits:
Unrelated change: fix a header style in the "Team invites" section
Note: for the pic, I used a 4x PNG. The graphic uses gradients that SVG doesn't seem to support (figma export messes up the pic).
Test plan
The notification looks like:
and
and they are based on this figma: