Skip to content

feat(app): add session panels#32213

Open
oshtz wants to merge 2 commits into
anomalyco:devfrom
oshtz:session-panels
Open

feat(app): add session panels#32213
oshtz wants to merge 2 commits into
anomalyco:devfrom
oshtz:session-panels

Conversation

@oshtz

@oshtz oshtz commented Jun 13, 2026

Copy link
Copy Markdown

Issue for this PR

Addresses part of #18287

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds an optional tiled panel mode for open session tabs in the desktop app's new UI.

  • Reuses the existing shared composer and sends prompts to the focused panel.
  • Keeps inactive panels readable but slightly dimmed.
  • Supports horizontal and vertical panel resizing.
  • Uses a 3-panel layout where the right panel spans the available height.
  • Supports swapping panel positions by dragging from each panel header.
  • Keeps transcript content constrained to each panel width.

How did you verify your code works?

  • npx -y bun@1.3.14 test --preload ./happydom.ts ./src/pages/session/panel-layout.test.ts ./src/context/tabs-order.test.ts from packages/app
  • npx -y bun@1.3.14 run typecheck from packages/app
  • npx -y bun@1.3.14 run test from packages/app
  • npx -y bun@1.3.14 run build from packages/app
  • npx -y bun@1.3.14 run typecheck from packages/desktop
  • npx -y bun@1.3.14 run build from packages/desktop

Screenshots / recordings

Session panels demo recording

The recording covers a clean project, three sessions, panel mode, horizontal and vertical resizing, dragging a panel header to swap positions, and sending a follow-up from the shared composer to the focused panel.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@oshtz oshtz requested review from Brendonovich and Hona as code owners June 13, 2026 17:43
@github-actions github-actions Bot added needs:compliance This means the issue will auto-close after 2 hours. and removed needs:compliance This means the issue will auto-close after 2 hours. labels Jun 13, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

@oshtz oshtz marked this pull request as draft June 13, 2026 18:18
@oshtz oshtz marked this pull request as ready for review June 13, 2026 19:11
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.

1 participant