sourcegraph / cody

Type less, code more: Cody is an AI code assistant that uses advanced search and codebase context to help you write and fix code.
https://cody.dev
Apache License 2.0
2.53k stars 261 forks source link

show tab labels on wide screens #5124

Closed sqs closed 1 month ago

sqs commented 1 month ago

If the screen is 768px wide or wider, then the Cody chat panel tabs will show text labels. This means that the standalone Cody Web chat screen will show text labels for most users, which fixes https://linear.app/sourcegraph/issue/CODY-3171/history-tab-is-hard-to-find-on-cody-web.

https://github.com/user-attachments/assets/7790d9ff-af8e-4e6f-929a-ea3210be1f2d

Test plan

Make screen (or containing panel) narrow and wide. When it's wide, confirm tooltips are NOT shown but tab titles are visible. When narrow, confirm tab titles are NOT shown but tooltips are.

RXminuS commented 1 month ago

Maybe worth to have a intermediate stage (ideally the default sidebar width) where only critical buttons show text and go icons only for anything smaller? I'm thinking in particular "New Chat"?

sqs commented 1 month ago

Great idea. Done. New Chat text label is always visible.

Cody Web

image

Cody in VS Code

image