brave / brave-browser

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

Add the ability for users to define their own custom prompts #35340

Open bbondy opened 10 months ago

bbondy commented 10 months ago

Add the ability for users to define their own custom prompts to use. Then the user needs to be able to select which of the custom prompts to use when they want to.

cc @aguscruiz

bbondy commented 9 months ago

Copying from Slack:

Design: https://www.figma.com/file/m0Gdbf0wtqyfEFGm32VLLc/Leo?type=design&node-id=1479-52812&mode=design What I did here is make it a part of the [/] tools we're planning, so it becomes part of the advanced toolset. The user can open the contextual menu of a prompt they saved and click "Save prompt". This would trigger a dialog where they can add a label for easy recognition. After that, when they open the [/] menu, the first section is "Saved prompts" where they can select them, edit them or delete them.