discourse-ai/assets/javascripts/discourse
Keegan George 2e5a39360a
FEATURE: Create custom prompts with composer AI helper (#214)
* DEV: Add icon support

* DEV: Add basic setup for custom prompt menu

* FEATURE: custom prompt backend

* fix custom prompt param check

* fix custom prompt replace

* WIP

* fix custom prompt usage

* fixes

* DEV: Update front-end

* DEV: No more custom prompt state

* DEV: Add specs

* FIX: Title/Category/Tag suggestions

Suggestion dropdowns broke because it `messages_with_user_input(user_input)` expects a hash now.

* DEV: Apply syntax tree

* DEV: Restrict custom prompts to configured groups

* oops

* fix tests

* lint

* I love tests

* lint is cool tho

---------

Co-authored-by: Rafael dos Santos Silva <xfalcox@gmail.com>
2023-09-25 15:12:54 -03:00
..
components UX: Prevent input text from covering suggestion button (#212) 2023-09-07 11:52:00 -07:00
connectors FEATURE: Create custom prompts with composer AI helper (#214) 2023-09-25 15:12:54 -03:00
lib FIX: Conditionally render AI suggestion buttons (#225) 2023-09-13 14:18:48 -07:00
widgets DEV: Tweaks for drop-down implementation (#69) 2023-05-18 09:28:43 +01:00