-
Notifications
You must be signed in to change notification settings - Fork 3.7k
feat: Add preview panel to session selector (cn ls / /resume) #8231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Created SessionPreview component to display chat history - Updated SessionSelector to show two-column layout with preview on right - Preview shows first 10 messages with truncation for long content - Preview only displays when terminal width > 100 columns - Automatically loads and displays session history as cursor moves Fixes CON-3892 Generated with Continue(https://continue.dev) Co-Authored-By: Continue <[email protected]> Co-authored-by: Username <[email protected]>
- Changed list width from 45% to 30% of terminal width - Preview panel now takes up 70% of the right side - Provides more space for chat history preview Co-Authored-By: Continue <[email protected]> Co-authored-by: Username <[email protected]>
e90365b to
1a7d07b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 2 files
|
Instead of an emoji can we just do ASCII symbol, eg |
|
🎉 This PR is included in version 1.27.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.5.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.30.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.4.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |



Description
This PR adds a preview panel to the session selector that displays chat history when navigating through sessions using
cn lsor the/resumeslash command.Screen.Recording.2025-10-14.at.12.16.04.PM.mov
Changes
SessionPreviewcomponent to display chat historySessionSelectorto show a two-column layout with preview on the rightInspiration
This feature was inspired by fzf's preview functionality, making it easier to find the right chat session without manually entering each one.
Screenshots
The preview panel shows on the right side of the terminal when using
cn ls:Fixes CON-3892
This agent session was co-authored by nate and Continue.
Summary by cubic
Adds a chat history preview to the session selector (cn ls and /resume). Fixes CON-3892 by making sessions easier to scan without opening them.