Skip to content

fix: keep sidebar previews within their row - #13

Merged
itz4blitz merged 1 commit into
itz4blitz:mainfrom
vbmithr:fix/inbox-preview-overflow
Oct 17, 2026
Merged

itz4blitz merged 1 commit into
itz4blitz:mainfrom
vbmithr:fix/inbox-preview-overflow

Conversation

@vbmithr

@vbmithr vbmithr commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

Multiline message previews in the Inbox painted over conversation titles and neighboring rows. The preview slot reserved one line, but GPUI still honored embedded newlines despite the text's nowrap/truncation style. Resizing the sidebar moved the overlapping text.

Flatten sidebar previews, drafts, names, and typing/activity/status text to a single display line, including Inbox app rows. Clip title and preview slots, prevent vertical shrinking, and size the slots with the text-size setting. Full messages and stored drafts keep their formatting. Update the Inbox design specification with the display constraint.

This is based directly on current upstream main, independently of #10 and #11.

Validation:

  • The new multiline regression failed before the implementation and passes with it. It covers LF, CRLF, tabs, Unicode line separators, and unchanged single-line spacing.
  • All 40 sidebar tests pass on the PR base.
  • Arch package revision 14 built successfully; all twelve package patches apply and changed build sources match.
  • git diff --check passes. The reported screenshot shows the original overflow; interactive GUI behavior after the fix has not been visually verified.

Collapse embedded line breaks and tabs for sidebar display so multiline
messages and drafts cannot paint over neighboring Inbox rows. Clip the
title and preview slots and size them with the text step. Preserve full
message and draft formatting outside the sidebar.

Cover multiline preview and draft inputs with a regression test and
update the Inbox design specification. All 40 sidebar tests pass.

Co-Authored-By: GPT-6 <noreply@openai.com>
@vbmithr
vbmithr requested a review from itz4blitz as a code owner October 17, 2026 13:42

@itz4blitz itz4blitz left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flattening sidebar previews to one display line fixes the row overflow without changing stored drafts or full messages. macOS, Linux, and Windows CI are green.

@itz4blitz
itz4blitz merged commit 6993022 into itz4blitz:main Oct 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants