mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-06-19 02:05:37 +08:00
## 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. |
||
|---|---|---|
| .. | ||
| discourse | ||
| lib/discourse-markdown | ||