# Новый ИИ-композитор в доке

**URL:** https://meta.discourse.org/t/new-ai-docked-composer/401961
**Category:** Bug
**Tags:** composer, ai
**Created:** [30.Апрель.2026 19:58:09 UTC](https://meta.discourse.org/t/new-ai-docked-composer/401961 "2026-04-30T19:58:09Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![keegan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/keegan/32/383395_2.png) [@keegan](https://meta.discourse.org/u/keegan)
#### Post date: [04.Май.2026 18:11:21 UTC](https://meta.discourse.org/t/new-ai-docked-composer/401961/10 "2026-05-04T18:11:21Z")

</div>

Спасибо, Лилли!

Я заблокировал Docked Composer до следующих изменений:

> <https://github.com/discourse/discourse/pull/39708>
>
> Previously, the docked chat-style composer for AI bot PMs was always enabled wit…h no way for admins to disable it while the feature is still being refined.
> 
> This change adds an \`ai\_bot\_enable\_docked\_composer\` upcoming change flag at alpha status, allowing admins to opt in via the upcoming changes page. When disabled (the default), AI bot PMs fall back to the standard floating composer.
> 
> \<img width="1104" height="432" alt="Screenshot 2026-05-04 at 08 44 01" src="https://github.com/user-attachments/assets/2f65f280-1cb9-4e41-81c7-4fbf20f50ba6" /\>

пока мы продолжаем дорабатывать функционал.

> [@Lilly](#):
>
> Моя главная претензия в том, что мне не нравится необходимость нажимать shift + enter для перехода на новую строку. Я всё ещё часто нажимаю enter и вынужден останавливаться. 😬 🤦🏻‍♀️ Изменение поведения по сравнению с обычным редактором всё ещё кажется несогласованным. (Кстати, то же самое происходит и в Chat-GPT каждый раз 😛)

Со мной такое случалось один или два раза. Я хочу подождать немного, чтобы понять, нужно ли просто привыкнуть к этому, но вернусь к этому вопросу, если проблема окажется более распространённой.

> [@Lilly](#):
>
> Единственная оставшаяся ошибка — невозможность загрузки файлов после первого сообщения, но я использовал режим только для настольных компьютеров в эти выходные.

Я также исправил ошибку с загрузкой файлов:

> <https://github.com/discourse/discourse/commit/9f6588ce597c83bb720353833264b6789c4c86ce>
>
> Previously, uploads in the AI bot docked composer were completely
> non-functional… due to two issues: a Glimmer modifier ordering race
> condition where the file input's \`didInsert\` fired before the parent
> container's \`didInsert\` (so \`UppyUpload\` was never bound to the file
> input), and the submit service rejected upload-only submissions because
> it early-returned on empty \`raw\` before considering attached uploads.
> 
> This change fixes the initialization order by calling
> \`uppyUpload.setup()\` in \`setupContainer\` when the file input is already
> available, restructures the submit validation to allow upload-only posts
> and skip the min-length check when uploads are present, and adds
> vertical padding to the uploads container for better visual spacing.
> 
> \<img width="791" height="330" alt="Screenshot 2026-05-04 at 10 14 43"
> src="https://github.com/user-attachments/assets/7a0b8e38-f29e-40f7-bac7-361ab549474c"
> /\>

Пожалуйста, сообщите, как всё получится! Большое спасибо за ваше тестирование и обратную связь 🙂

---

_[View the full topic](https://meta.discourse.org/t/new-ai-docked-composer/401961)._
