New ai docked composer

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
4 likes

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

4 likes

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

3 likes

Thanks Lilly!

I made some fixes earlier this morning:

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

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

Regarding this:

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:

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

Thanks! :slight_smile:

2 likes

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! :smiley:

2 likes

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

1 like

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 :clap:

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. :grimacing: :woman_facepalming:t2: the behavior change from regular composer still feels inconsistent. (fwiw it gets me on chat-gpt every time too :stuck_out_tongue:)

1 like

after i did a rebuild today, the quoting is fixed! :smiley:
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.

1 like

Thanks Lilly!

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

as we work through polishing things up more.

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.

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

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

1 like