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

Fix Cody Web CSS#64370

Merged
0xnmn merged 3 commits intomainfrom
naman/cody-web-css-fixes
Aug 8, 2024
Merged

Fix Cody Web CSS#64370
0xnmn merged 3 commits intomainfrom
naman/cody-web-css-fixes

Conversation

@0xnmn
Copy link
Contributor

@0xnmn 0xnmn commented Aug 8, 2024

closes: https://linear.app/sourcegraph/issue/SRCH-866/improve-cody-web-theming-for-consistency-with-rest-of-product

This PR updates the Cody Web CSS based on the changes requested by @rrhyne.

Few buttons implemented in Cody doesn't satisfy the design requirements and do not use the css variable so we couldn't update them easily but rather had to override the styles.

Test plan

Before:
CleanShot 2024-08-08 at 22 53 48@2x

After:
CleanShot 2024-08-08 at 22 54 12@2x

Changelog

  • Make Cody Web styles more accessible.

@0xnmn 0xnmn added the backport 5.6.x label used to backport PRs to the 5.6.x release branch label Aug 8, 2024
@cla-bot cla-bot bot added the cla-signed label Aug 8, 2024
@0xnmn 0xnmn requested review from a team and rrhyne August 8, 2024 17:30
Copy link
Contributor

@rrhyne rrhyne left a comment

Choose a reason for hiding this comment

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

Love it. Thanks for jumping in and getting this done!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As the buttons implemented in Cody does not satisfy the design requirements and it will take longer to design them correctly, then making code changes in Cody, release Cody Web, and then finally update SG. I have been told to override the styles for buttons in SG for the patch release. And the team (me or someone else) will be follow up fixing Cody in next couple of days.

@camdencheek
Copy link
Member

Pulled it down and took a peek. The only thing obvious I noticed was that the @-sign color we changed in the sidebar did not get changed in the /cody/chat page. No need to block merge here, but noting for followup

screenshot-2024-08-08_11-36-30@2x

@0xnmn
Copy link
Contributor Author

0xnmn commented Aug 8, 2024

Pulled it down and took a peek. The only thing obvious I noticed was that the @-sign color we changed in the sidebar did not get changed in the /cody/chat page. No need to block merge here, but noting for followup

screenshot-2024-08-08_11-36-30@2x

updated.

@camdencheek camdencheek force-pushed the naman/cody-web-css-fixes branch from c4e82e1 to ff6a2db Compare August 8, 2024 19:45
@0xnmn 0xnmn merged commit 2dd38b3 into main Aug 8, 2024
@0xnmn 0xnmn deleted the naman/cody-web-css-fixes branch August 8, 2024 19:51
sourcegraph-release-bot pushed a commit that referenced this pull request Aug 8, 2024
closes:
https://linear.app/sourcegraph/issue/SRCH-866/improve-cody-web-theming-for-consistency-with-rest-of-product

This PR updates the Cody Web CSS based on the changes requested by
@rrhyne.

Few buttons implemented in Cody doesn't satisfy the design requirements
and do not use the css variable so we couldn't update them easily but
rather had to override the styles.

## Test plan

Before:
![CleanShot 2024-08-08 at 22 53
48@2x](https://github.com/user-attachments/assets/95e10b42-b740-4663-a761-69449ec62296)

After:
![CleanShot 2024-08-08 at 22 54
12@2x](https://github.com/user-attachments/assets/bffbd10a-c87b-4eca-9582-b23eebccb60e)

## Changelog

- Make Cody Web styles more accessible.

(cherry picked from commit 2dd38b3)
camdencheek pushed a commit that referenced this pull request Aug 8, 2024
closes:
https://linear.app/sourcegraph/issue/SRCH-866/improve-cody-web-theming-for-consistency-with-rest-of-product

This PR updates the Cody Web CSS based on the changes requested by
@rrhyne.

Few buttons implemented in Cody doesn't satisfy the design
requirements and do not use the css variable so we couldn't update
them easily but rather had to override the styles.

## Test plan

Before: 
![CleanShot 2024-08-08 at 22 53
48@2x](https://github.com/user-attachments/assets/95e10b42-b740-4663-a761-69449ec62296)

After:
![CleanShot 2024-08-08 at 22 54
12@2x](https://github.com/user-attachments/assets/bffbd10a-c87b-4eca-9582-b23eebccb60e)


## Changelog

- Make Cody Web styles more accessible. <br> Backport
2dd38b3 from #64370

Co-authored-by: Naman Kumar <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

backport 5.6.x label used to backport PRs to the 5.6.x release branch cla-signed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants