trypear / pearai-app

An Open Sourced AI-Powered Text Editor. A fork of VSCode and Continue.
https://trypear.ai
Other
541 stars 87 forks source link

Improve buttons for interacting with code from prompt responses #61

Open nang-dev opened 1 month ago

nang-dev commented 1 month ago

Context

Currently, when code is generated in Pear chat, you need to hover over the code text block for the action buttons to appear. This is bad UX. they should show up by default.

The first button is "Apply", second is "Apply at cursor" and third is "Copy"

image

To reproduce

You will need an API key for this. Sign up at OpenAI to get one.

Next step

jspEclipse commented 1 week ago

My Issue

jspEclipse commented 1 week ago

image image Reminder to myself to also look into making sure that all buttons darken onHover

jspEclipse commented 5 days ago

I sent my PR through pearai-submodules repo