brave / brave-browser

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

`Initial text` input field would be better as a resizable or multiline input #38999

Open stephendonner opened 1 month ago

stephendonner commented 1 month ago

Description

Initial text input field would be better as a resizable or multiline input

Steps to reproduce

  1. install 1.69.15
  2. launched Brave
  3. set brave://flags/#brave-ai-rewriter to Enabled
  4. clicked Restart
  5. selected a paragraph of text
  6. context-clicked
  7. chose Rewrite under Leo AI Tools
  8. look at the resulting dialog (take https://github.com/brave/brave-browser/issues/38998 into account)

Actual result

The Initial text text-input field is a single line

image

Expected result

It'd be much easier if the Initial text text-input field could be either resizable or multi-line

Reproduces how often

Easily reproduced

Brave version (brave://version info)

Brave 1.69.15 Chromium: 126.0.6478.56 (Official Build) nightly (64-bit)
Revision 857e48ef53e02c8048a0eca541571194d5249981
OS Windows 10 Version 22H2 (Build 19045.4529)

Channel information

Reproducibility

Miscellaneous information

cc @bbondy @mattmcalister @aguscruiz @fallaciousreasoning @petemill @brave/qa-team

fallaciousreasoning commented 1 month ago

@aguscruiz this is probably something for you to answer :smile:

aguscruiz commented 1 month ago

I think that one should grow if there's two lines or more, but shouldn't be manually resizable in my opinion. That's supposed to be more of a pre-filled field, so it's not meant to be touched that much by the user