brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
18k stars 2.37k forks source link

Make System prompt input area bigger to show the place holder text #42589

Open srirambv opened 6 days ago

srirambv commented 6 days ago

Description

Make System prompt input area bigger to show the place holder text

Steps to reproduce

  1. Open Leo settings
  2. Click on Add model
  3. Scroll down to System prompt
  4. Input filed has a wall of placeholder text and is not easy to read it when you need to scroll down

Actual result

Image

Expected result

maybe something like Image

Reproduces how often

Easily reproduced

Brave version (brave://version info)

Brave 1.74.15 Chromium: 131.0.6778.85 (Official Build) beta (64-bit)
Revision d1293587128488865fa61e9fa277dd54aa2270b0
OS Windows 11 Version 23H2 (Build 22631.4460)

Channel information

Reproducibility

Miscellaneous information

cc: @jonathansampson @mattmcalister

aguscruiz commented 6 days ago

Additionally, @jonathansampson would it be possible to change the text fields/areas to Nala components?

https://nala.bravesoftware.com/?path=/docs/components-input--docs

jonathansampson commented 6 days ago

Additionally, @jonathansampson would it be possible to change the text fields/areas to Nala components?

https://nala.bravesoftware.com/?path=/docs/components-input--docs

Definitely can give that a look. Should it be merged with this issue, or split off into its own?

aguscruiz commented 6 days ago

Up to you, I'm fine either way. Thank you!

jonathansampson commented 2 days ago

@aguscruiz Just submitted https://github.com/brave/leo/pull/924 to introduce support for multiline/textarea components. If that can land, it will open us up to using it in this context.