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
Keegan George
d35c8d5eca
FIX: Conditionally render AI suggestion buttons ( #225 )
2023-09-13 14:18:48 -07:00
Keegan George
cf6a6ed9b8
FIX: AI Helper UX bugs ( #223 )
2023-09-13 09:53:19 -07:00
Keegan George
6295b16678
FEATURE: Add cancel button to loading context menu ( #213 )
2023-09-07 13:50:56 -07:00
Keegan George
3a00c38fc5
UX: Change AI Helper toggle icon to sparkles ( #201 )
2023-09-05 13:21:05 -07:00
Sam
db19e37748
FEATURE: add initial support for personas ( #172 )
...
This splits out a bunch of code that used to live inside bots
into a dedicated concept called a Persona.
This allows us to start playing with multiple personas for the bot
Ships with:
artist - for making images
sql helper - for helping with data explorer
general - for everything and anything
Also includes a few fixes that make the generic LLM function implementation more robust
2023-08-30 16:15:03 +10:00
Keegan George
494964c51d
DEV: Dynamically set popper placement ( #174 )
2023-08-29 11:19:25 -07:00
Keegan George
7457feced8
FEATURE: Show suggested title prompt in new location ( #171 )
2023-08-29 09:45:53 -07:00
Keegan George
fba419f864
UX: Clicking outside editor should close context menu ( #170 )
2023-08-28 15:08:51 -07:00
Keegan George
2c50791f26
UX: Prevent context menu overflow outside of container ( #168 )
2023-08-28 13:31:21 -07:00
Keegan George
b470692409
DEV: Preload prompt list on component initialization ( #165 )
2023-08-28 12:22:44 -07:00
Keegan George
7790313b1b
DEV: Add review menu state ( #159 )
2023-08-24 17:49:24 -07:00
Keegan George
65c6b5e16c
DEV: Add keybindings ( #157 )
...
- Ability to Esc to close context menu
- Ability to Ctrl/Cmd + Z to undo results
2023-08-24 08:35:53 +10:00
Keegan George
78558b9cf5
DEV: Remove context menu timeout ( #156 )
2023-08-23 15:12:07 -07:00
Keegan George
3cf316fb62
FIX: Context menu not appearing in Firefox ( #154 )
2023-08-23 14:20:31 -07:00
Keegan George
45b7b57726
FIX: Pages with small composers breaking ( #155 )
2023-08-23 14:20:14 -07:00
Keegan George
1289ae1c57
FIX: Add check for PMs before showing AI helper context menu ( #153 )
2023-08-23 11:24:51 -07:00
Keegan George
4a00b7eb0e
FIX: Show AI helper only if in allowed groups ( #152 )
2023-08-23 11:06:04 -07:00
Keegan George
6df850d473
FEATURE: AI Helper Context Menu ( #148 )
2023-08-23 10:35:40 -07:00
Sam
3e46250f3f
UX: Adjust bot warning so it looks better ( #141 )
...
This moves the bot warning from `composer-after-composer-editor` to
`after-d-editor` (with a minor adjustment for outlet args to match new name)
2023-08-17 14:43:14 +10:00