0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-12 05:37:26 +08:00
discourse/plugins/discourse-ai/spec/system/page_objects
chapoi 5d3294f9e3
UX: add AI inline to topic title edit (#41329)
### Apply the same inline AI suggestions to the topic title edit
function, as to the regular composer.

<img width="797" height="407" alt="CleanShot 2026-07-02 at 19 18 16"
src="https://github.com/user-attachments/assets/76913309-9682-438c-82b5-021727679956"
/>
<img width="797" height="407" alt="CleanShot 2026-07-02 at 19 18 32"
src="https://github.com/user-attachments/assets/f072abbb-64fe-4da7-b205-878d7276b4b9"
/>

* Edit-area suggestions now use api.modifySelectKit(...) inline rows
(same as the composer); the old edit-topic-{category,tags}__after
connectors and their DMenu components are deleted.
* Add `chooser-suggestion-context.js` to make sure the AI only shows up
where we want it (composer + edit title) and uses the right context
* Restyle the AI title suggestor button to match the new styling in
composer composer
* Refactor to positioning from the bottom so inserts above the input (ex
for translations) don't break it

---------

Co-authored-by: Keegan George <kgeorge13@gmail.com>
2026-07-02 21:07:45 +02:00
..
components UX: add AI inline to topic title edit (#41329) 2026-07-02 21:07:45 +02:00
modals FEATURE: Add MCP server integration to AI agents (#38706) 2026-03-25 17:32:27 +11:00
pages FIX: Improve AI report implementation (#40865) 2026-06-15 15:59:34 +10:00