mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-03 03:39:41 +08:00
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 |
||
|---|---|---|
| .. | ||
| configuration | ||
| db/migrate | ||
| evals | ||
| fabricators | ||
| fixtures | ||
| integration | ||
| jobs | ||
| lib | ||
| models | ||
| reports | ||
| requests | ||
| serializers | ||
| services | ||
| shared/inference | ||
| support | ||
| system | ||
| tasks | ||
| plugin_helper.rb | ||
| plugin_spec.rb | ||