Skip to content

fix(desktop): normalize multiline session titles and hide shared split composer on Remote/Home - #340

Merged
ch55secake merged 1 commit into
mainfrom
fix/single-line-titles-and-split-remote-composer
Nov 26, 2026
Merged

ch55secake merged 1 commit into
mainfrom
fix/single-line-titles-and-split-remote-composer

Conversation

@ch55secake

Copy link
Copy Markdown
Collaborator

Description

Fixes two split-view and sidebar layout bugs:

  • Multi-line session titles (such as Codex thread.preview values containing newlines) expanded vertically inside fixed-height h(24.0) split composer target pills and 80pt virtualized sidebar cards, clipping out of the pill and pushing sidebar branch lines onto following rows.
  • Opening Screen::Remote (such as creating a VM) or Screen::Home while a split session is visible stacked the shared bottom composer underneath the primary pane's own dock/composer.

Changes in this pull request

  • Normalize session titles to their first non-empty trimmed line in apps/desktop/src/split/view.rs, apps/desktop/src/live/sidebar/row.rs, apps/desktop/src/live/heading.rs, crates/caelum-core/src/application/workspace.rs, and crates/caelum-core/src/application/workspace/events.rs, and add .min_w(0.0) to the split target segmented track.
  • Return None from split::composer_target in apps/desktop/src/split.rs when panels.screen is Screen::Remote or Screen::Home.
  • Add regression tests in apps/desktop/src/tests/runner_split.rs and apps/desktop/src/tests/session_feed.rs.

@github-actions github-actions Bot added bug Something isn't working desktop Tauri desktop application and frontend core Shared Rust core and application logic labels Nov 26, 2026
@ch55secake
ch55secake merged commit a965048 into main Nov 26, 2026
20 checks passed
@ch55secake
ch55secake deleted the fix/single-line-titles-and-split-remote-composer branch November 26, 2026 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working core Shared Rust core and application logic desktop Tauri desktop application and frontend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant