# New ai docked composer

**URL:** https://meta.discourse.org/t/new-ai-docked-composer/401961
**Category:** Bug
**Tags:** composer, ai
**Created:** [April 30, 2026, 7:58pm UTC](https://meta.discourse.org/t/new-ai-docked-composer/401961 "2026-04-30T19:58:09Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [April 30, 2026, 7:58pm UTC](https://meta.discourse.org/t/new-ai-docked-composer/401961/1 "2026-04-30T19:58:09Z")

</div>

## Overview

the docked composer is nice but it seems buggy. i have repro’d on my forum and meta in safe-mode with only official plugins enabled. i haven’t seen any console errors either, which is odd.

### Desktop view

- it blocks the editing - the pencil doesn’t work, nor does the edit button from the edit history modal. i get that editing a post that has been replied to isn’t ideal, but i like to copy the actual post from the editor to start a new convo (or interrupt the bot to add new information).
- can’t switch to markdown composer - ~~it is stuck in RTE mode and the button does nothing~~ it’s the preview screen that isn’t there and no button to show it.
- when i try to quote the bot it seems to break the sidebar somewhat
  - on meta - it inserts a giant gap and sometimes disappears; on my forum, the sidebar always disappears

- a few times, quoting also locked me into the bot convo so that the return to forum button was broken
- quotes also sometimes disappear in the composer as soon as i start typing

### Mobile view (chrome, firefox and safari)

- scrolling is buggy and sometimes doesn’t seem to work
- occasionally the whole thing locks up and i have to exit browser

### Additional info

- desktop view latest firefox seems less buggy than chrome and safari

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [May 1, 2026, 4:58am UTC](https://meta.discourse.org/t/new-ai-docked-composer/401961/2 "2026-05-01T04:58:07Z")

</div>

Thanks for the feedback Lilly! @keegan is working on it, he will update here.

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [May 1, 2026, 5:29am UTC](https://meta.discourse.org/t/new-ai-docked-composer/401961/3 "2026-05-01T05:29:16Z")

</div>

thanks. yea sorry, this isn’t the best bug report, i just made some notes while i was using and testing it

---

<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: [May 1, 2026, 10:13pm UTC](https://meta.discourse.org/t/new-ai-docked-composer/401961/5 "2026-05-01T22:13:29Z")

</div>

Thanks Lilly!

I made some fixes earlier this morning:

> <https://github.com/discourse/discourse/pull/39687>
>
> Previously, the AI bot docked composer showed the formatting toolbar by default,… had no visual affordance for scrolling to new content during streaming, and incorrectly reported a streaming-in-progress state after page refresh when the stream had already completed (caused by replaying a stale message bus chunk on subscribe).
> 
> This change hides the toolbar behind an animated toggle button, adds a scroll indicator above the composer (animated dots when streaming, chevron-down otherwise), moves the resize handle inside the editor box, suppresses the scroll fade gradient when already at the bottom of the page, and fixes the stale streaming state by detecting when a replayed message bus chunk refers to a post already rendered without a .streaming class.
> 
> https://github.com/user-attachments/assets/bae788d1-2105-4c47-93c1-08bb58dfd850

and I got a PR ready with a few fixes and improvements based on what you’ve outlined here:

> <https://github.com/discourse/discourse/pull/39689>
>
> Previously, the AI bot docked composer had several mobile issues — the keyboard …covered the input, the timeline widget floated awkwardly, the layout had a misaligned left margin, and the edit pencil was completely broken because \`#reply-control\` was hidden unconditionally.
> 
> This change fixes keyboard handling by tracking visualViewport to position the composer above the software keyboard, hides the timeline/progress widget on mobile, removes the desktop content offset on small screens, allows the floating composer to appear for post edits, and adds left padding to prevent text from overlapping the toolbar toggle button.
> 
> | Before | After |
> | ------ | ----- |
> | https://github.com/user-attachments/assets/521768fb-7dbd-4dad-9c86-78f4a86db815 | https://github.com/user-attachments/assets/cf008970-03b6-4b70-adac-67a7d3746101 |

Once that’s merged that should fix the inability to edit as well as those mobile bugs.

Regarding this:

> [@Lilly](#):
>
> can’t switch to markdown composer - ~~it is stuck in RTE mode and the button does nothing~~ it’s the preview screen that isn’t there and no button to show it.

This was ultimately a design decision. RTE is intended to be the primary way to use this docked composer, however, if you prefer markdown, it’s available but due to lack of space we’re not including the preview. When I first implemented it, I had a button to toggle on/off the preview but since this was essentially the same as the RTE toggle, I removed it.

Also regarding these:

> [@Lilly](#):
>
> - when i try to quote the bot it seems to break the sidebar somewhat
> - on meta - it inserts a giant gap and sometimes disappears; on my forum, the sidebar always disappears
> - a few times, quoting also locked me into the bot convo so that the return to forum button was broken
> - quotes also sometimes disappear in the composer as soon as i start typing

Unfortunately I wasn’t able to reproduce these. If you could still repro after all these changes could you let me know.

Thanks! 🙂

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [May 1, 2026, 10:46pm UTC](https://meta.discourse.org/t/new-ai-docked-composer/401961/6 "2026-05-01T22:46:24Z")

</div>

> [@keegan](#):
>
> This was ultimately a design decision. RTE is intended to be the primary way to use this docked composer, however, if you prefer markdown, it’s available but due to lack of space we’re not including the preview. When I first implemented it, I had a button to toggle on/off the preview but since this was essentially the same as the RTE toggle, I removed it.

ok that’s fine, i just wasn’t sure if lack of previewer was intended behaviour. as long as i have my markdown it’s fine, i don’t need the previewer of course (can just toggle it like you say)

great work. i’ll mess around with it more a bit over the next few days. thanks again! have a good weekend! 😃

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [May 3, 2026, 7:12pm UTC](https://meta.discourse.org/t/new-ai-docked-composer/401961/7 "2026-05-03T19:12:00Z")

</div>

well it is much less buggy, but uploading files appears to be broken after the first post.

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [May 3, 2026, 11:49pm UTC](https://meta.discourse.org/t/new-ai-docked-composer/401961/8 "2026-05-03T23:49:08Z")

</div>

so far the only bugs i am finding are:

1. quoting doesn’t do anything - (but copy quote and paste works)
2. file uploads after first post fail.

the sidebar issues appear to be gone for me now and i’m not getting lockups at all.

i really like the docked composer tho, and love that i can use it and resize it while the bot is doing it’s thing too. i went to use the bot this afternoon on another instance i have that doesn’t have it yet and i immediately looked for it and realized i missed it. excellent work Keegan / ai-team 👏

i think my biggest complaint is that i don’t like having to shift + enter to go to next line. i still keep hitting enter quite a lot and having to hit pause. 😬 🤦🏻‍♀️ the behavior change from regular composer still feels inconsistent. (fwiw it gets me on chat-gpt every time too 😛)

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [May 4, 2026, 8:57am UTC](https://meta.discourse.org/t/new-ai-docked-composer/401961/9 "2026-05-04T08:57:33Z")

</div>

after i did a rebuild today, the quoting is fixed! 😃  
only remaining bug i have is not being able to upload after the first post, but i have only been using in desktop mode this weekend.

---

<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: [May 4, 2026, 6:11pm UTC](https://meta.discourse.org/t/new-ai-docked-composer/401961/10 "2026-05-04T18:11:21Z")

</div>

Thanks Lilly!

I’ve gated the Docked Composer behind an upcoming changes:

> <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" /\>

as we work through polishing things up more.

> [@Lilly](#):
>
> i think my biggest complaint is that i don’t like having to shift + enter to go to next line. i still keep hitting enter quite a lot and having to hit pause. 😬 🤦🏻‍♀️ the behavior change from regular composer still feels inconsistent. (fwiw it gets me on chat-gpt every time too 😛)

This has gotten me once or twice. I want to let it sit for a while to see if it’s just something that needs to be gotten used to, but will revisit if it seems to be more frequent of an issue.

> [@Lilly](#):
>
> only remaining bug i have is not being able to upload after the first post, but i have only been using in desktop mode this weekend.

I’ve also pushed a fix for the uploads bug:

> <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"
> /\>

Please let me know how that goes! Thanks so much for your testing and feedback 🙂

---

<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: [May 9, 2026, 3:00pm UTC](https://meta.discourse.org/t/new-ai-docked-composer/401961/12 "2026-05-09T15:00:32Z")

</div>

This topic was automatically closed after 3 days. New replies are no longer allowed.
