githubnext/chopinPublic

Let's compose rich plans together

Keep debug buttons inside one-line chat messages #249

MergedMaggieAppletonmerged 1 commit intoMaggie/jev-chat-productfromrefs/pull/249/head
  1. MA

    Removing the inline chat pills leaves a one-line message 24px tall, but its visible debug button is 28px tall. Reserve 28px of message height when a diagnostics control exists so the button remains inside its message.

    This follows the combined behavior of #243 and #245. The image shows the actual rendered Chat component; outlines mark measured message and button bounds.

    Validation: the unchanged native containment test reproduced the 4px overflow before this patch and passes afterward at both narrow and desktop widths. All 26 affected native tests pass in the combined candidate. Independent source review approved the four-line CSS change; formatting and repository CI pass on this branch.

    ![Before and after reserving message height for the debugging button on one-line messages](https://github.com/user-attachments/assets/c6d01fad-0804-4cc6-b084-7c36de1e98d9)

  2. MaggieAppletonreferenced this in Jev conversation-to-document workflow #241last month on GitHub

  3. MaggieAppletonhead-ref-force-pushed cdfdaa43e938last month on GitHub

  4. MaggieAppletonmerged 43866cce22f2last month on GitHub

  5. MaggieAppletonclosedlast month on GitHub

  6. MaggieAppletonhead-ref-deletedlast month on GitHub