discourse/plugins/discourse-ai/spec/system
chapoi e8d615b1a2
UX: Move AI category and tag suggestions inline into the composer choosers (#40838)
## Before
AI category and tag suggestions were triggered from separate buttons
using the `after-composer-tag-input` and
`after-composer-category-input`.

## Now
This change moves them into the category-chooser and mini-tag-chooser
dropdowns as inline row actions so suggestions are requested and applied
from within the list itself.

For the category chooser – single option – it shows "Choose for me"
which will select the top option and auto-close the dropdown.
<img width="778" height="767" alt="CleanShot 2026-06-15 at 14 34 41"
src="https://github.com/user-attachments/assets/db79ac7f-9f0b-43a6-96af-0f428b194cca"
/>

For the tag chooser – multi option – it shows "Show AI suggestions" and
replaces the default tag list with the AI suggestions.
<img width="778" height="767" alt="CleanShot 2026-06-15 at 14 35 02"
src="https://github.com/user-attachments/assets/5239daa9-93e4-4192-8189-e52cbbf1bdfc"
/>

The title button remains as-is functionally, but gets a light redesign:
<img width="749" height="105" alt="CleanShot 2026-06-15 at 15 50 42"
src="https://github.com/user-attachments/assets/74802c7d-eed7-40a0-995c-1769b79876fd"
/>

## Note
Difference in font-size is due to a core css bleed issue, will be
addressed in different PR.

For now, this change is scoped to the composer only, but can easily be
applied to all instances of the category/tag chooser.
2026-06-16 11:20:00 +02:00
..
ai_bot UX: Refine AI bot conversation page and composer (#40457) 2026-06-02 15:45:39 +10:00
ai_helper UX: Move AI category and tag suggestions inline into the composer choosers (#40838) 2026-06-16 11:20:00 +02:00
ai_moderation DEV: Update rubocop (#38721) 2026-03-20 00:39:52 +01:00
embeddings DEV: Restore/remove/fix/update AI-related specs (#39539) 2026-04-27 00:20:33 +02:00
llms DEV: update preset model versions (#39342) 2026-04-17 17:55:24 +10:00
page_objects FIX: Improve AI report implementation (#40865) 2026-06-15 15:59:34 +10:00
summarization DEV: Update rubocop (#38721) 2026-03-20 00:39:52 +01:00
admin_ai_agent_spec.rb DEV: Bump checkbox redesign to stable (#40051) 2026-05-18 14:15:03 +10:00
admin_ai_features_spec.rb FEATURE: AI highlights for new dashboard (#40740) 2026-06-10 23:00:35 +08:00
admin_ai_translations_spec.rb FEATURE: Switch from opt-in to opt-out for categories in AI translations (#40169) 2026-05-26 14:51:04 -04:00
admin_dashboard_spec.rb DEV: Restore discourse-ai admin dashboard specs (#39511) 2026-04-24 15:12:05 +02:00
ai_artifact_key_value_api_spec.rb DEV: Update rubocop (#38721) 2026-03-20 00:39:52 +01:00
ai_usage_spec.rb FIX: Improve AI report implementation (#40865) 2026-06-15 15:59:34 +10:00
ai_user_preferences_spec.rb DEV: Update rubocop (#38721) 2026-03-20 00:39:52 +01:00
core_features_spec.rb DEV: Update rubocop (#38721) 2026-03-20 00:39:52 +01:00
reviewable_spec.rb FIX: Resolve all of a deleted spammer's reviewables (#40780) 2026-06-15 13:34:15 +08:00